Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»How to Fix “System Error 5 Has Occurred Access Denied” Error

How to Fix “System Error 5 Has Occurred Access Denied” Error

AjayBy AjayMay 23, 2022
system error 5 has occurred

System error 5 has occurred. Access denied error typically occurs when there is a problem with the permissions settings on your computer. This error also means that you don’t have the required permissions to run a certain command.

If you’re trying to run a command that requires administrator privileges, but you’re not logged in as an administrator, you are more than likely to receive the error. This can also be caused by a corrupted account token or setting.

In summery, these are the main issue causing System error 5:
  • Restricted permission
  • Antivirus Restrictions
  • Using the command prompt as a local user
  • Enabled UAC
  • Running programs as a local user

Table of Contents

  • How to Fix “System Error 5 Has Occurred Access Denied” Error
    • Running the package as an admin
    • Disable UAC
    • Open applications as administrator
    • Run the Command Prompt as Administrator
    • Enable and login as the built-in administrator
    • Switch to the administrator account
    • Take file ownership of temp files
    • Check Your Firewall Settings
  • Frequently Asked Questions
    • How to Fix Error 5 on Google Slide

How to Fix “System Error 5 Has Occurred Access Denied” Error

You can try a bunch of different solutions to get rid of the “system error 5 has occurred access denied” error. We will discuss, in-depth, all the possible fixes you can try. Let’s get started.

Running the package as an admin

If you are just using the basic Windows functions and the “system error 5 has occurred access denied” error prompt pops up on your screen. You may try these fixes.

  1. Open the installer package as admin.
  2. Use the PC under the admin profile.
  3. Move the installer package to C drive.
  4. Use powershell/cmd as administrator to execute the package.

Disable UAC

UAC is the User Account Control. It is a security feature in Windows that helps to prevent unauthorized changes to the system. When UAC is enabled, users are prompted for permission when they try to make changes to the system.

Disabling UAC might just help you get rid of the mentioned error. Follow these steps to disable UAC.

  1. Click on the Start Menu.
  2. Type Control Panel into the search box and click on it.
  3. Click on User Accounts.
  4. Select the User Accounts again.
  5. After that, click on Change User Account Control settings.
    Change-UAC-settings
  6. Move the slider down to Never Notify.
    UAC-never-notify
  7. Click on OK.

Open applications as administrator

There are a few benefits of running a program as an administrator in Windows. One benefit is that you will have access to all of the files and folders on the computer. This can be helpful if you need to access a file that is normally hidden from view.

Additionally, if you need to change the way the program runs or if you need to change the security settings this will do the trick. Moreover, this might also be the resolution for your system error issue. To open programs as an administrator, follow these steps.

  1. Right-click on the program you want to run.
  2. Select the “Run as administrator” option.
    Run as Administrator

This is a temporary method, as you will have to do this every time you open the program. A permanent way would go like this:

  1. Right-click on the program you want to open as administrator.
  2. Click Properties in the drop-down menu.
  3. In the Properties window, click the Compatibility tab.
  4. Check the Run this program as an administrator box.
    Program-compatibility
  5. Click OK to save your changes.

Now, double-click on the program shortcut to open it as administrator.

Run the Command Prompt as Administrator

The administrator user has much control and authority over the PC system compared to a local user. Hence, running the command prompt as a local user can restrict you from certain actions or commands you may want to run. To run the command prompt as administrator, follow these steps.

  1. From the search bar in the taskbar, search for the command prompt.
  2. Click on the Run as Administrator option.
    Command Prompt Administrator

Enable and login as the built-in administrator

The built-in administrator account is used to perform administrative tasks on the computer, such as managing user accounts, installing applications, and configuring system settings. To enable and login as a built-in administrator, follow these steps,

  1. Open Command Prompt as an administrator.
  2. Type the following command and press Enter: net user administrator /active:yes
    cmd-in-built-admin-login
  3. You should see a message that the command was completed successfully.
  4. Close Command Prompt and log off.
  5. Log back on as the administrator account. You should now see the administrator account listed in the User Accounts control panel.

We also have an article explaining How to add an administrator account in windows. Pretty sure you’ll find it worth reading.

Switch to the administrator account

Some benefits of using Windows as an administrator include the ability to manage user accounts, install and uninstall programs, and access system settings. Additionally, administrators can create and manage user groups, set permissions and access controls, and monitor system activity.

An admin has full access to the computer’s file and settings, this may resolve the system error issue that you have been facing.

You can also add an existing user to the administrative group. Here we have explained how.

Take file ownership of temp files

When a program creates a temporary file, it typically places the file in a standard location. This makes it easy for the program to find the file when it needs it. However, sometimes the file can be left behind if the program crashes.

To avoid these problems, some programs take ownership of their temporary files. This means that the program creates the file in a location that is specific to the program, and that only the program can access the file.

This can also result in the system error issue we have been discussing. So, to take ownership of temp files, follow these steps.

  1. Go to File Explorer.
  2. Open Local disk C, and open the Windows folder.
  3. Right-click on the temp folder.
    Windows-temp-folder
  4. Click on Properties in the drop-down menu.
  5. Go to the Security tab.
  6. Then, click on the Advanced button.
    temp-properties-security-advanced
  7. Besides Owner, select the Change option.
    Change-owner
  8. Go to Advanced and select the user.
    User-Advanced
  9. Click on Find now.
    find-now
  10. Select the name of the user you want to take ownership of the file.
  11. Click on the OK button.
    New-owner-user
  12. Select Apply and click on OK again.

Check Your Firewall Settings

Your PC’s in-built firewall may malfunction or might be misconfigured this can block various Windows operations. So, make sure you turn them off. To turn off your firewall settings, follow these steps.

  1. From the search bar in the taskbar, search for the control panel.
  2. Go to System and security.
  3. Click on Windows defender firewall.
  4. On the left-hand side of the window, click on Turn Windows Defender Firewall On or Off.
  5. Select the Turn Windows Defender Firewall Off (not recommended) option.
    turn-off-windows-firewall

Frequently Asked Questions

How to Fix Error 5 on Google Slide

This issue is not only limited to command prompt but the entire computing experience in general. To get rid of error 5 on the Google slide, consider these solutions.

Update Your OS and/or Browser

Outdated OS and browsers are prone to many issues because of their incompatibility. To update your OS follow these steps.

  1. Click on the start menu.
  2. Go to Settings.
  3. Go to Update and Security.
    Windows Update and Security
  4. Click on the Check for updates button.
    Check for updates

Similarly, to update your browser, follow these steps.

  1. Open your Browser.
  2. Click the three dots on the top right corner of your screen. 
  3. Hover towards Help.
  4. Click on About Google Chrome.
    chrome-three-dots-help-about
  5. Once you’re on this page, Chrome automatically starts checking for the latest updates.
  6. Update your browser and see if it fixed your issue.
fixes
Ajay

I was always interested in Tech in general, something about it always excited me. At first, I worked as a sports writer, then a thesis writer and finally I got my chance as a tech writer. I genuinely enjoy writing articles on tech and I am recently getting into gaming content which is just pleasing to work on.

Related Posts

start menu wont open

Start Menu Won’t Open? 7 Ways to Fix it

January 13, 2023
motherboard-audio-not-working

Motherboard Audio Not Working? Try These Fixes

January 13, 2023
empty recycle bin for all users

How to Empty Recycle Bin for All Users on Windows

January 10, 2023
how-to-stop-screen-from-turning-off

How to Keep Your Stay Screen On for Longer Time

January 9, 2023
hdmi-laptop-to-displayport-monitor

How to Connect HDMI Laptop to DisplayPort Monitor

January 4, 2023
how to make windows 10 faster

12 Ways How You Can Make Windows 10 Faster

January 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
what is ghost of tsushima legends

What is the Ghost of Tsushima Legends Mode

January 12, 2023
raid 5 vs raid 10

RAID 5 Vs RAID 10 – Which One Is Better?

January 12, 2023
best-tv-settings-for-gaming

Best TV Settings for Gaming

January 9, 2023
You may also like
tv-screen-goes-black-randomly

TV Screen Goes Black Randomly? Try These 11 Fixes

January 15, 2023
how to find unique values in excel

How to Find Unique Values in Excel

January 15, 2023
how-to-open-and-use-chrome-settings

How to Open and Use Chrome Settings

January 16, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Editorial Guidelines
  • Fact-Checking Policy
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.