answersLogoWhite

0

i have yet to figure out how to do it in command prompt, but you can do it in notepad... just copy and paste this code

@echo off

net user USERNAME PASSWORD /add

goto admin

:admin

net localgroup administrators USERNAME /add

pause

where username and password are enter your desired username and password, not your normal account, because this code will add a NEW user to log in as, and from this admin file, you can grant yourself admin access, that is, if your admin hasn't blocked that command so that you get "system error 5, access denied"

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Can you turn Driver verifier off at the command prompt?

Yes, you can turn off Driver Verifier using the Command Prompt. To do this, open the Command Prompt as an administrator and type the command verifier /reset, then press Enter. This command disables Driver Verifier and resets its settings. You may need to restart your computer for the changes to take effect.


How do you reconnect your media using command prompt?

To reconnect your media using the Command Prompt, you can use the net use command to map a network drive. First, open Command Prompt as an administrator. Then, type net use X: \\servername\sharename (replacing "X:" with your desired drive letter and "servername\sharename" with the appropriate network path) and press Enter. If necessary, include your username and password with the command using /user:username password.


How do you remove amp win off using command prompt?

To remove the "AMP Win Off" program using the Command Prompt, you can use the Windows Management Instrumentation Command-line (WMIC). Open Command Prompt as an administrator and type the following command: wmic product where "name='AMP Win Off'" call uninstall. Press Enter, and confirm the uninstallation when prompted. If the program doesn’t uninstall, you may need to check its exact name in the list of installed programs by using wmic product get name.


How do you do next line in command prompt?

when using command prompt, after you give it a command, press the enter button. Command prompt will then carry out the task and will automatically go to the next line.


How do you make yourself administrator using command prompt?

To make yourself administrator using command prompt: 1) go to start use run and type cmd. 2)type in "net user admin." 3)type in 'net user (admin name space *.) 4)type in pass (pass will not show on tab) retype pass 5)logout and login the account with your password


How do you block a website using command prompt?

echo 127.0.0.1 insertdomainnamehere>>C:\Windows\System32\drivers\etc\hosts Make sure you run command prompt as an administrator and check that the hosts file (in this folder: C:\Windows\System32\drivers\etc) is not marked for read-only.


How do you print hello world using Command prompt?

To print "Hello, World!" using the Command Prompt in Windows, you can use the echo command. Open the Command Prompt and type: echo Hello, World! Then press Enter, and it will display "Hello, World!" in the command line interface.


How can you bypass internet filtering using command prompt?

Its not possible from DOS Prompt..


How do you run checksum from DOS prompt?

You can do it by using "chkdsk" command.


How do you change registry using command prompt which name is in spaces?

You can start registry editor using command prompt by using "regedit" command. You can also use registry tools such as "regedit /restore" or "regedit /fix" etc.


What is the command to run your programexe using the command prompt?

Run program.exeorthe name of the program, with or without .exe (if the command prompt is in the same directory/folder of the executable)


How do you start regedit using command prompt?

Just run "regedit" command from DOS..