5 Steps to Disable or Enable Administrator Using Command Prompt

  
Command Prompt, also known as cmd.exe or just cmd (after its executable file name), is the command-line interpreter on OS/2 and eComStation, Windows CE and Windows NT operating systems. It is the counterpart of COMMAND.COM in DOS and Windows 9x systems (where it is also called "MS-DOS Prompt"), or some of the Unix shells used on Unix-like systems. (More advanced Unix shells must be compared with Windows PowerShell, another command-line interpreter of Windows.)

1. Open up your command prompt.
 press Windows logo(on your keyboard) + R –> type 'cmd' –> enter
 

2. First, we will list the users on the system by running net user command.



3. We can disable the built-in administrator user with this command net user administrator /active:no and it will return the message

the command completed successfully


4. To enable again the built-in administrator user, you can do with this command net user administrator /active:yes and if correct, it will return the messagethe command completed successfully
 

5. To delete the specific user, you can do with this command net user USERNAME /del.


Conclusion:
You also can delete the user by using windows GUI.

Press Windows logo + R and type control nusrmgr.cpl



No comments

Powered by Blogger.