What the "Access is denied" Error Means
The error "Access is denied" is a Windows system message that appears when the current user or process attempts to perform an action (launch a program, stop a service, access a file) but lacks sufficient privileges.
It is often accompanied by the code 0x80070005 and can occur in various contexts:
- When attempting to run an installer or program.
- When stopping a system service via Task Manager.
- When accessing protected folders (e.g.,
C:\Program Files). - When using certain commands in PowerShell or Command Prompt.
Causes
The cause is almost always the same — insufficient privileges. Specific scenarios:
- Running without administrator rights. Many programs (especially installers and system utilities) require elevated privileges. The standard user token does not allow them to make changes to protected system areas.
- Active User Account Control (UAC). Even if you are logged into an administrator account, processes run with standard rights by default. UAC requests confirmation to elevate privileges. If the prompt is suppressed or configured too strictly, access may be blocked.
- Blocking by antivirus or firewall. Protection systems may mistakenly consider a legitimate process malicious and block its launch or access to other processes.
- Corruption of user profile or system permissions. Issues with ACLs (Access Control Lists) at the file system or registry level can result in even an administrator being unable to gain access.
- Conflict with another running process. Attempting to modify or stop a process that is already in use by the system or another application with higher priority.
Solutions
We recommend performing the solutions in order, from simplest to most complex.
Method 1: Run the Program as an Administrator
This is the most common and straightforward solution.
- Locate the program's executable file (
.exe) or its shortcut. - Right-click on it.
- In the context menu, select "Run as administrator".
- If a User Account Control (UAC) prompt appears, click "Yes".
💡 Tip: To always run the program with administrator privileges, configure compatibility settings:
- Right-click the file → Properties.
- Compatibility tab.
- Check the box "Run this program as an administrator".
- Click Apply and OK.
Method 2: Configure User Account Control (UAC)
If the first method didn't help or you want to change system behavior globally.
- Open Control Panel (can be found via Windows search).
- Navigate to User Accounts → Change User Account Control settings.
- In the window that appears, move the slider:
- Top position — notify about all changes (most secure).
- Middle position (default) — notify only when programs try to make changes to your computer.
- Bottom position — never notify (least secure, not recommended).
- Click OK and restart your computer for changes to take effect.
Method 3: Temporarily Disable Antivirus and Firewall
To check if the cause is a block by protection software.
For Windows Defender:
- Open Control Panel → Windows Defender Firewall.
- On the left, select "Turn Windows Defender Firewall on or off".
- For active networks (private/public), select "Turn off Windows Defender Firewall".
- Click OK.
For third-party antivirus:
- Find the antivirus icon in the system tray (near the clock).
- Right-click it and select "Disable protection" or "Pause protection" (usually for 10-15 minutes).
- Try running the problematic program.
⚠️ Important: After testing, be sure to re-enable all protection components!
Method 4: Check System File Integrity
Corruption of Windows system libraries can disrupt security mechanisms.
- Press Win + R, type
cmd, and press Ctrl + Shift + Enter to run Command Prompt as administrator. - Enter the command: