
Command Prompt is a utility that allows you to run over 280 commands, using a simple command line interface. It executes the same commands we usually execute via the Graphical User Interface (GUI), albeit in a different way. When you enter a valid command at the command prompt, it performs the specific task using parameters.
Many tasks require you to open Command Prompt with administrator rights, but sometimes even when you log into your Windows 10 account as an administrator, you may see an error message "System error 5 has occurred". This means that you have been denied access to a specific command.
The reason this error is displayed is because to run certain commands at the command prompt, you need to open the command prompt in elevated mode (with admin rights) and simply logging into the windows administrator is not enough. Therefore, you will need to open the command prompt in administrator mode. Let's see how to fix the command prompt error "System error 5 has occurred“On your Windows 10 PC.
Solution: Open Command Prompt in elevated mode
While it is possible to open Command Prompt in elevated / admin mode in several ways, here we will show you how to open it in the fastest way.
Using Windows Search
Step 1: Navigate to Home and write cmd o Symbol of the system in the search box.
Step 2: Right-click on the result and select Run as administrator in the context menu.
This will open the command prompt in administrator mode.
That's all. So now you can open command prompt in elevated mode, using the above method, and now you can run any command without facing the command prompt error "System error 5 has occurred“On your Windows 10 PC.