How to fix “System error 5 has occurred. Access is denied” on Windows?

by Olivia Morelli - -
12

Question

Issue: How to fix “System error 5 has occurred. Access is denied” on Windows?

I tried to run Net View command in Command Prompt, but the commands were not executed successfully. I got an error  “System error 5 has occurred. Access is denied.” What does it mean and what should I do to work around it? I’m using Windows 10.

Solved Answer

 snapshot

“System error 5 has occurred. Access is denied” is an old issue, which emerged in Windows 7. However, users’ reports on the official Microsoft website indicate the fact that the problem hasn’t been resolved and resettled into Windows 8, 8.1, and 10. Typically, it shows up when the PC user is trying to execute commands like Net View or Net Time. In general, system error 5 in Command Prompt appears when the user attempts to execute complicated commands. The culprit of the issue may be one of the following:

  • Incorrect Date and Time settings.
  • The user account is disabled or the password expired.
  • Third-party software blocks Command Prompt commands.

However, in the majority of the cases, “System error 5 has occurred’ emerges due to the administrative privileges. Even if the PC user is logged into the system as an administrator, Command Prompt may deny access if the Command Prompt is not run as administrator. In other words, if the PC user simply clicks the search button, types regedit, and run it, the Command Prompt starts running without administrative privileges. Therefore, to fix “System error 5 has occurred. Access is denied” on Windows 7, 8, 10 or another version, you should open an elevated Command Prompt with administrative privileges. For this purpose you should:

Windows 7:

  1. Open “Start menu,” type “cmd,” and press “Enter.”
  2. Right-click on the search results and select “Run as administrator.”
  3. If a UAC opens, click “OK” to confirm.

Windows 8, 8.1 or 10:

  1. Press “Windows key + X” to open a drop-down menu.
  2. Select “Command Prompt (Admin).”
  3. Alternatively, you can click “Windows key” and type “cmd.”
  4. Right-click on the search results and select “Run as administrator.”
  5. If a UAC opens, click “OK” to confirm.

If running Command Prompt with administrative privileges did not help, please try to perform the following steps:

  1. Open Start and type “regedit,” and press “Enter.”
  2. Use the left pane to navigate to the “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters” key.
  3. Click on “Edit” menu and select “Add Value.”
  4. Name the new value as “MinFreeConnections.”
  5. Then select “Add” -> “New” -> “REG_DWORD.”
  6. Set the value of the new key to 5 and close Registry Editor.
  7. After that, right-click on “Windows key” and select “Control Panel.”
  8. Select “Network” and locate “Installed Network Software.”
  9. Under “Installed Network Software,” highlight “Server” and select “Configure.”
  10. Locate “Optimization” and select “Maximize Throughput for File Sharing” under it.
  11. Click “OK.”
  12. After that, open “Start,” type “cmd,” right-click it, and select “Run as Administrator.”
  13. Type “net stop server” and “net start server” and press “Enter” after each of them.

As soon as you fix the “System error 5 has occurred,” optimize your PC. To check the registry, system files, malware, missing files, cache and other problems, we would recommend running a scan with Reimage.

We might be affiliated with any product we recommend on the site. Full disclosure in our Agreement of Use.
By Downloading any provided software you agree to our privacy policy and agreement of use.
do it now!
Download
repair software Happiness
Guarantee
Compatible with Microsoft Windows
Alternate Software
Plumbytes Anti-Malware

What you can add more about the problem: "How to fix “System error 5 has occurred. Access is denied” on Windows?"

Ask
now online
news
Subscribe
Fix
Uninstall
Optimize
Recover
Like us on Facebook