answersLogoWhite

0


Best Answer

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

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago
  • CREATE COMMAND PROMPT

    1 - open "Notepad"

    2 - type "command.com"

    3 - save file to desktop as "cmd.bat"

  • CREATE ADMINISTRATOR ACCOUNT

    1 - open "command prompt" [or your "cmd.bat" file]

    2 - type "net user [desired name] /ADD

    3 - type "net localgroup"

    4 - type "net localgroup administrators [created name] /ADD"

  • DELETE ADMINISTRATOR ACCOUNT

    1 - open "command prompt" [or your "cmd.bat" file]

    2 - type "net localgroup user [created name] /DELETE"

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you become an administrator using command prompt?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 can you bypass internet filtering using command prompt?

Its not possible from DOS Prompt..


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 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..


Windows 2000XP volume folder and file compression can be done using what command at the command prompt?

compact


How can you see a log of internet connections using command prompt in windows vista?

use the netstat command.


How do you recover data from Command prompt?

The command prompt is a terminal window, and allows the user to control their computer using specific commands. Command line recovery tools include ddrescue and the ntfs* family of tools.


Can i lose my data if I Uninstall Windows XP using command prompt?

You can't uninstall Windows XP, from the command line or otherwise.