Last updated on February 10th, 2024 at 08:00 pm
Installing certain programs and apps will be difficult if you get an error 5: Access is denied. You can encounter the Windows Error Code 0x5 (ERROR_ACCESS_DENIED) error when browsing locations, saving files, or downloading files. There is a possibility that the Windows configuration is correct or that a corrupted user account is blocking you from installing the application. It doesn’t matter what the reason is for this; we’ve got you covered! In this article, we have mentioned some troubleshooting fixes that will help you resolve the Windows error 0x5.Â
What Are The Causes of Windows Error Code 0x5?
This error occurs when Windows prevents an application or user from accessing a resource. There are various reasons for denying access, including:
- Insufficient Permissions:Â Generally, insufficient permissions are to blame for this error. Windows will deny access to a resource if the account or application attempting access lacks the required permissions. 0x5 stands for Error Code 0x5.
- System Security Policies:Â Some resources may not be accessible to people with certain security policies enabled in Windows. In some cases, this may be related to security settings that were configured by administrators or to policies that were imposed by third-party security software.
- File or Registry Corruption:Â Files or the Windows registry can become corrupted, causing access denied errors. It may prevent Windows from granting resources access properly as a result of this corruption.
- Virus or Malware Infection:Â The presence of malicious software, such as viruses or malware, can cause access-denied errors to occur on a computer.
How to Fix the Windows Error Code 0x5 (ERROR_ACCESS_DENIED)
There are several Windows error codes that indicate that the user does not have sufficient permissions to access the requested file or path. Therefore, you can fix it by providing proper permissions using the fixes we have mentioned below:
Fix 1: Login and Run as Administrator
The first thing you should do when your Windows 11/10 installation is denied is to run the installer with administrative rights:
- Locate the installer for the software/program you want to install.
- You can right-click the installer/setup program.
- Thereafter, from the context menu, select Run as administrator.
- Now, if you see a User Account Control window, click Yes.
- Continue by following the on-screen instructions. Once this is done, you will no longer see Windows Error Code 0x5 (ERROR_ACCESS_DENIED).Â
Also Read:Â
Fix 2: Check That The Computer’s BIOS is Up-to-Date
It has been reported that many users are able to fix the Windows Error Code 0x5 (ERROR_ACCESS_DENIED) error by updating their BIOS. Therefore, you must also give it a try:
- When the BIOS splash screen appears, press F2.
- Afterward, go to the main menu and select Update BIOS.
- If the BIOS is up-to-date, a message will appear indicating that the update is successful. Moreover, it will display a message indicating that the BIOS needs to be updated, along with instructions for doing so.
Fix 3: Run SFC Scan
You must run a SFC Scan on your PC if you are not sure if it is just corrupted system files causing Windows Error Code 0x5 (ERROR_ACCESS_DENIED) errors:
- Press Windows + R.
- Type cmd and Press Enter.
- In the search box, type sfc/scannow.
Fix 4: Clean up Junk Files
To resolve the Windows Error Code 0x5 (ERROR_ACCESS_DENIED) issue, you may need to try cleaning up the cache or junk files from your device after running the SFC scan. In order to accomplish this:
- Press Win + R.
- Using the keyboard, type Cleanmgr and press Enter.
- Click on the OS Drive and then click OK.
- Last but not least, click on the Clean up System Files button.
Fix 5: Switch the User Account to an Admin Profile
It may be necessary to install the software under an admin account if the Run as administrator option does not work.
Therefore, it is possible that you will have to convert your standard account into an admin account. From the Control Panel, switch your profile to an administrator one as follows:
- Go to the Win + X menu and click Run.
- Input netplwiz into the text box and press Enter (or click OK).
- To modify a target user profile, choose it.
- Go to the Properties tab.
- From the General tab, select Group Membership.
- You can check the administrator.
- Finally, click on the Apply button and then click OK.
Fix 6: Enable the built-in admin account via Command Prompt
With the built-in admin account, the user will have access to all permissions that otherwise would not be accessible. You can resolve Windows Error Code 0x5 (ERROR_ACCESS_DENIED) by enabling the built-in administrator account on your system:
- Use the Windows key + X hotkey.
- Next, choose Command Prompt (Admin).
- Thereafter, enter the following command:net user administrator /active:yes
- Once the Prompt has been closed, try installing the needed software.
- Enter net user administrator /active:no to disable the built-in admin profile.
Fix 7: Modify Windows Registry Editor Entries
You might be able to resolve the Windows Error Code 0x5 by performing the following steps if running CMD with administrative privileges did not bring any good results:
- Type regedit into Start and press Enter.
- Go to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet//Services//LanmanServer//Parameters in the left pane.
- To add a value, choose Edit > Add Value.
- Set the new Value to MinFreeConnections.
- After that, select Add > New > REG_DWORD.
- In Registry Editor, set the new key Value to 5 and close it.
- Then, right-click the Windows key and select Control Panel.
- Click the Network icon and select Installed Network Software.
- In the Installed Network Software section, highlight Server and select Configure.
- Under Optimization, select Maximize Throughput for File Sharing.
- Then click OK.
- Once you have done that, open Start,
- You should then type cmd, right-click it, and select Run as administrator.
- You can type net stop server and net start server.
- After each one, press Enter.
- Navigate to the following path:Â HKEY_CURRENT_USER//Software//Microsoft//Office//FrontPage//Addins
- Simply right-click FPE.com.AddIn and choose Delete.
- If the error still occurs after removing that, restart the machine.
Fix 8: Adjust the UAC Settings
To see if User Account Control can resolve your problem, we can try to change your settings a little bit to see if that helps. Here are the steps you need to follow to make changes to your UAC settings:
- To begin, press the Windows key + X on your keyboard.
- To open that accessory, select Run.
- Enter UserAccountControlSettings and click OK.
- On that window, drag the Never Notify bar to the left.
- Then press OK and restart your device.
Also Read:Â
- How To Fix Windows Error Code 31 Network Adapter
- Hidusb.sys BSoD: What is it & How to Fix it
- Microsoft Error Code AADSTS51004 | How To Fix
- How to Fix Microsoft Error Code AADSTS50020
- How To Fix Windows Defender Not Opening or Crashing Issue
So, that’s how you can easily fix the Windows Error Code 0x5 (ERROR_ACCESS_DENIED) error. It’s our hope that the fixes we have told you earlier in this article have helped you. Feel free to comment below if you have any questions or concerns regarding this topic.