Some Windows users have reported getting an error code 0x00000005 while setting or using the printer on their Windows PC. The following error message is prompted with this error code:
Operation could not be completed (error 0x00000005).
Access is denied.
Fix 0x00000005 Printer Error on Windows PC
If you get the error code 0x00000005 when trying to change or set your default printer or use your printer on Windows 11/10, you can use the following methods to resolve it:
- Run the Printer troubleshooter.
- Tweak the default driver installation behavior.
- Change these Registry values.
Operation could not be completed, Error 0x00000005, Access is denied
1] Run the Printer troubleshooter
Before trying advanced fixes, try running Windows built-in printer troubleshooter to resolve generic printer issues and errors. Here’s how you can do that:
- First, open the Settings app using the Win+I hotkey.
- Now, move to the System tab and click on the Troubleshoot option.
- After that, tap on the Other troubleshooters option.
- Next, locate the Printer troubleshooter and press the Run button present next to it.
- Once the troubleshooter finishes the scan and detects the printer issue, you can apply a suitable troubleshooting method to fix it. See if this fixes the error for you.
If the Printer troubleshooter doesn’t help, you can run the Hardware and Devices troubleshooter and check if the error is fixed.
2] Tweak the default driver installation behavior
You can also try modifying the default driver installation behavior using Registry Editor. You can define the RestrictDriverInstallationToAdministrators DWORD to allow the non-administrators to install any printer driver when using Point and Print. But, you can do that temporarily as it can make your device vulnerable and prone to cyberattacks.
Note: Tweaking your registry incorrectly can cause severe loss to your system. Hence, create a backup of your registry beforehand to be on the safer side and then apply the below steps.
Now, here are the steps to follow:
Firstly, evoke the Run command box using Win+R. Next, type regedit in its Open box and then press the Enter button to quickly launch the Registry Editor app.
Now, navigate to the following address:
After that, double-click on the RestrictDriverInstallationToAdministrators DWORD and set its value to 0.
Once done, check if the error is fixed.
You can later change the value to 1 to let only administrators install printers on your PC.
3] Change these Registry values
Some affected users have reported that changing permissions for the Windows folder and deleting some keys helped them fix this error. So, you can also try changing your Registry settings and see if the error is fixed.
Here’s what to do:
First, open the Registry Editor app as discussed in the above fix.
After that, move to the following location using the address bar:
Now, right-click on the Windows folder and choose the Permissions option from the context menu.
Next, select your username and enable the Allow checkbox associated with the Full Control option. And then, press the OK button.
After that, from the right-side panel, delete keys including LegacyDefaultPrinterMode, Device, IsMRUEstablished, and others except for Default.
Once done, close Registry Editor and restart your computer to let the change take effect.
You can now try using your printer and check if the error code 0x00000005 is resolved.
I hope this helps!
How do I fix Microsoft store code 0x00000005?
The error code 0x00000005 on the Microsoft Store occurs when you try to install or buy a game. If you experience this error, you can clear the corrupted cache associated with Store using the WSRESET command. Apart from that, re-register or reinstall the Microsoft Store to fix the error. If the error keeps coming back, you can create a new user account and log into Windows using it to fix the error.
How do I fix Windows couldn’t connect to my printer?
To fix the Windows couldn’t connect to the Printer error, try enabling SMB1.0 temporarily and when the error is fixed, you can disable it. You can also try connecting your printer to your router or modem using a LAN cable and see if the error is fixed.