How to fix System error 5 has occurred by command prompt. If you are an administrator on your PC, most of the time it runs into the error ‘System error 5 has occurred. Access is denied’. Generally, Windows restricts privileged commands to be executed only from an elevated administrator command prompt.
C:\>net user techblogger /add System error 5 has occurred. Access is denied.
You can easily fix this issue, just open an elevated command prompt and just run the same command.
Read Also: How to Disable LAN connection using CMD
How to open an elevated command prompt?
Just you need to click on the Start Button in the taskbar and just “cmd” in the search box. When you search it and will see the cmd application. Just right-click on it and select the option from Run as administrator. You will see a message – Do you want to allow the program to make changes to your computer? Just Click on Yes.
Now the command runs fine like below-
C:\Windows\system32>net user techblogger /add The command completed successfully. C:\Windows\system32>
If you have faced some error and just knock by command below and how you could fix it.
Check Also: How to Check IP Address from CMD
Last Updated on 3 years by Max