Access code is denied Windows 10 error [FIX]

Milan has been enthusiastic about PCs ever so since his childhood days, and this led him to need interest in all PC-related technologies. Before joining WindowsReport, helium worked as a social movement-end net developer. Read more

Posted: Whitethorn 2020

  • Whatever message stating that entree is denied can't be good. If you falter crosswise information technology while using your Windows 10 running device, it's actually worse.
  • Since this hindquarters step in with your work by not allowing you to access in for directories or apps, here's a complete list of tested solutions to location it.
  • Speechmaking well-nig solutions, do explore Thomas More on the topic by checking our File Explorer Support Guides.
  • Confabulate the  Windows 10 Troubleshooting Hub for more convenient fixes that will help keep your PC in clean condition at all times.

Access is denied Windows 10 error

XInstal BY CLICKING THE DOWNLOAD FILE

Access is denied message can appear while nerve-racking to access sure directories or applications thus interfering with your work.

Although this message can cause problems, you should equal able to fix it on Windows 10 past using 1 of our solutions.

How to fix Access is denied substance on Windows 10?

Fix – Access is denied Windows 10

1. Take ownership of the directory

This error usually appears when you try to access a register or a directory patc having lean privileges. This happens if you're non an administrator OR if you don't have ownership over a folder.

To fix the problem you vindicatory accept to assign possession to your business relationship, and you can do that by following these book of instructions:

  1. Locate the knotty folder, right-dawn it and prefer Properties from the menu.
  2. Navigate to the Security tab and click the Advanced button.
  3. Locate the Proprietor plane section at the top and click happening Transfer.
  4. Select User or Group window bequeath now appear. In the Enter the object name to select discipline enter Administrators or move into your user name. Now get across the Moderate Name calling button. If everything is in order your input signal will change. Click Okeh to hold open changes.
  5. The owner section will now change. Check Supplant owner connected subcontainters and objects and click Apply and OK to spare changes. Some users are suggesting to check Replace all child aim permission entries option, so you mightiness arrange that too.

In some cases, you might have to manually assign permissions to your account. To manage that, follow these simple stairs:

  1. Navigate to Advanced Security Settings.
  2. A inclination of all users will appear. If your user account isn't listed, click the Sum button.
  3. Click on Select a head.
  4. Now enter your exploiter account name, click Tick Names, and then OK. We already showed you how to do that in Step 5 above, so be sure to curb it out.
  5. Set Type to Allow and Applies to This leaflet, subfolders, and files and check Full see to it. Now click the Very well button.

If your exploiter name is already usable, simply double click it and execute Gradation 5.

Other way to take possession is to usage Bidding Prompt. To do that, originate in Prompt as administrator and enter the following lines:

  •               takeown /f "path_to_folder" /r /d y            
  •               icacls "path_to_folder" /subsidization administrators:F /T            

Of course, be sure to substitute path_to_folder with an effective path to the inaccessible folder. After running these two commands you should have full entree to the baffling folder.

2. Add your account to the Administrators group

Sometimes Access is denied message appears if you essay to access a folder while not having decision maker privileges. This can be a job, but you send away fix it by adding your account to the Administrators group.

To get along that on Windows 10, follow these steps:

  1. Bid Windows Key + X to open Bring home the bacon + X menu. Select Computer Management from the list.
  2. When the Computer Management windowpane opens, sail to Local Users and Groups -> Users. Now double click your account in the leftfield pane.
  3. Navigate to the Member Of check and click the Add push button.
  4. In Enter the physical object names to select field enter Administrators and click Check Names. If everything is in range, click OK.
  5. Select Administrators and suction stop Apply and Fine.
  6. After doing that, restart your Personal computer and check if the problem is single-minded.

3. Enable the hidden Executive account

Windows 10 by default has a improved-in Administrator account that you fanny use. By using this account you should take up unrestricted get at to your PC.

Ascribable protection measures, this account ISN't easy handy, but you can enable it past doing the following:

  1. Mechanical press Windows Key + X and select Prompt (Admin) from the menu.
  2. When Command Inspire starts, run net user administrator /active: yes command. By doing so you'll unlock the administrator calculate.
  3. Now log off of your account and switch to the recently enabled Administrator account. From there you should be able-bodied to access your files without any problems.
  4. After you'Ra through with using the Administrator account, go back to your main write u and start Prompt as administrator again. Now enter final user administrator /active: nobelium to disable the Administrator explanation.

Keep in take care that after switching back to your main write u the event might still stay. If needed, you can wont the Administrator business relationship to make the necessary changes to your system and desexualize the problem.

4. Confirmation your permissions

Sometimes you'll bring fort Access code is denied message if you want certain permissions to approach the desired directory. Yet, you should be able to fix the problem by following these steps:

  1. Locate the problematic directory, right-click IT and choose Properties from the menu.
  2. Navigate to the Security tab and click the Edit button.
  3. Select your user name from the list and make sure that you check Full control for Allow column in Permissions part.

This is a simple solution, but if your user call isn't on the name you'll have to add it manually so change its permissions.

Different users reported that you demand to grant Fraught control to both Administrators and Users over the problematic folder, soh be sure to try that as well.

In some cases, you might even deficiency to throw Full Control to Everyone in order to fix the problem.

5. Use Command Prompt to readjust permissions

According to users, they encountered this job patc trying to access the Pictures folder. It seems that OneDrive is causing this issue, and so to set up it you need to do the following:

  1. Right-click OneDrive image in the bottom straight quoin and choose Settings from the menu.
  2. Go to Car Save tab and set both Documents and Pictures to This PC only. Clink Okay to save changes.

If that doesn't solve the problem, you'll ask to perform the following steps as advisable:

  1. Set about Command Command prompt as administrator.
  2. When Prompt opens, enter the following commands:
    •                   cd /users/Your_Username                                  
    •                   icacls Pictures /reset /t /q                
    •                   400 /<path to OneDrive folder>                
    •                   icacls Pictures /reset /t /q                
  3. After doing that, restart your PC.

If the problem still persists, you mightiness have to repeat this solution and handicap OneDrive until Microsoft fixes the problem.

6. Set your account as administrator

If you're acquiring Access is denied message, you power be able to fix it simply past scope your account as an executive. This is rather simple and you ass exercise it by following these steps:

  1. Printing press Windows Key + R and enter control userpasswords2. Press Embark Oregon click OK.
  2. User Accounts window will now appear. Check Users must enter a user describ and password to wont this computer. Now prime your account and click on Properties.
  3. Navigate to the Group Membership tab. Select Administrator and click Apply and OK.
  4. After doing that, restart your PC and check if the issue still persists.

7. Use Reset Permissions tool

According to users, you power be able to muddle this problem simply by using Reset Permissions instrument. Simply download the tool, run it, select the problematic directory, and check every last available options.

After doing that, you should be able to access the directory without some problems.

8. Close Google Drive and reinstall it

Access is denied message sometimes appears while using Google Drive. To furbish up the issue, you need to completely close Google Drive and end all processes associated with information technology. To do that, trace these steps:

  1. Press Ctrl + Shift + Esc to open Task Director.
  2. When Task Managing director opens, locate all Google Driving processes, right-click them and choose End Task from the menu.
  3. After conclusion all Google Repel processes, uninstall the lotion.
  4. Now compact Windows Central + R and enter %localappdata%Google. Press Enter surgery get through Okeh.
  5. Locate the Drive leaflet and rename it to Drive.old.
  6. Install Google Drive again and check if the problem is resolved.

9. Redact your registry

According to users, this error content stool appear if you try to access a network shared directory. This can be a big problem, but you can conclude it away fashioning a couple of changes to your register.

Modifying the registry can crusade certain issues, so be extra cautious and export your registry conscionable in case. To modify your register, do the following:

  1. Press Windows Key + R and inscribe regedit. Press Figure or click OK.
  2. When Registry Editor opens, in the left pane navigate to this key:
                  HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanWorkstationParameters            
  3. In the right pane, right-click the empty space and choose:
                  New > DWORD (32-spot) Value            
  4. Enter AllowInsecureGuestAuth as the name of the new DWORD.
  5. Double click the newly created AllowInsecureGuestAuth DWORD to undetermined its properties. Down Value data to 1 and clink OK to save changes.
  6. After doing that, restart your PC and check if the problem is resolved.

Keep goin in mind that this solution only applies to electronic network divided up folders, so it won't work with local folders.

10. Turn sour User Account Control

User Account Control is a expedient feature that bequeath preclude applications and users from running commands that require administrative privileges.

This is a useful lineament, but sometimes information technology terminate induce Access is denied content to appear, especially when installing new software. To fix the issue, you necessitate to ut the succeeding:

  1. Press Windows Key + S and enter exploiter accounts. Now select Exploiter Accounts from the number of results.
  2. When the Exploiter Accounts window opens, snap on Variety Exploiter Account Control settings.
  3. Move the slider all the way down and penetrate the OK button to save changes.
  4. After doing that, test to install the application again.

11. Handicap your antivirus software

Antivirus software program is rather important, but sometimes third-party antivirus can suit this error to appear.

According to users, they got Access is denied message patc trying to install certain applications, and the grounds was their security department software program.

To fix this issue you sporty take to temporarily disable your security software and try out to install the coating again.

If the problem doesn't appear, it agency that the issue was caused aside your antivirus software, so you should consider updating or replacing IT.

There are sevenfold efficient antivirus programs that will not interfere with other applications connected your PC. Then, discover them and prefer from the scoop antiviruses compatible with Windows10.

12. Convert possession or permissions of Temp and Installer folders

When instalmen new software its temporary files are commonly moved to Temporary Beaver State Installer folders. All the same, if you don't consume the necessary permissions, you power not be fit to install the craved applications programme.

Expert Tip: Some PC issues are hard to fishing gear, especially when information technology comes to corrupted repositories or nonexistent Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a creature that will scan your simple machine and identify what the fault is.
Click here to download and start repairing.

If this error message appears while trying to install applications, equal reliable to check mark if the following folders possess the necessary permissions

  •               C:WindowsInstaller            
  •               C:UsersYour_usernameAppDataLocalTemp            

If needed, you might birth to change ownership or permissions in guild to fix this problem.

13. Check environment variables

In some cases Access is denied message rear appear while trying to make up zipped brochure in Windows.

This is usually because the %TEMP% varying isn't properly lay. To fix this problem, you deman to configure surround variables away doing the following:

  1. Press Windows Key + S and enter advanced scheme settings. Select View advanced system settings from the menu.
  2. Click on Environment Variables release.
  3. Locate TEMP on the list and check if its value is set correctly. If not, double get across the Temporary and set its value to
                  %USERPROFILE%AppDataLocalTemp                          
  4. Save changes and resume your PC.

After doing that, navigate to the %TEMP% folder by entering %TEMP% in the address legal community in File Explorer. One time you open the Temporary folder, attempt to create a new folder and delete information technology.

If you can't create or delete a folder, you'll need to take ownership of the Temporary worker folder or exchange your permissions.

Fix – Memory access is denied Windows 10 cmd

1. Pin Dictation Ready to Start Menu

If you'ray acquiring Access is denied subject matter while trying to start Prompt, you mightiness want to stress pinning it to Start Menu.

According to users, this workaround solved the trouble for them, so you might want to render it. To come that, simply press Windows Operative + S and enter command punctual.

Right-click Prompt from the heel of results and choose Pin to Start from the menu.

After doing that, try launching Command Prompt using the Get going Menu shortcut.

2. Run Prompt arsenic decision maker

Sometimes Access is denied message fire appear inside Bidding Prompt patc trying to run a certain command.

This subject matter indicates that you don't feature the necessary privileges to access a specific file or to perform a specific command. However, you can fix this issue in almost cases simply past running Command Instigate as an administrator.

We already explained how to start Prompt with administrative privileges in one of our past solutions, so cost sure to check them out.

Fix – Admittance is denied Windows 10 hard drive

1. Change your permissions

If you can't access a hard drive partition due to Access is denied message, you might want to try changing your permissions or the owner.

We already explained how to do that in our previous solutions, so represent sure to grant Full Keep in line to your user account in order to admittance your concentrated drive partition.

Several users rumored that you can sterilize the job by giving Heavy Control to Everyone aggroup, so try that as well. Keep in mind that you mightiness ingest to add the group manually if it's non lendable on the list.

IT's crucial to remember that you shouldn't change the permissions of your system drive. If you birth problems accessing your C: drive, you might want to try a different solution.

We have to mention that this solution toilet be potentially dangerous, so dungeon in mind that you're exploitation it at your own risk.

2. Commute the sharing settings

Reported to users, if this error appears while accessing external Winchester drive you buttocks fix it merely by dynamic a few settings. To deposit the issue, due to the following:

  1. Open This PC, situate your foreign hard drive, compensate-click it and choose Properties from the menu.
  2. Navigate to the Unselfish tab and snap on Advanced Sharing.
  3. When the Advanced Sharing window opens, check Contribution this folder option and then click on Permissions.
  4. Select Everyone from the name and check Full Control in Allow column. Click Utilise and OK to save changes.
  5. After deliverance the changes, learn if the problem is resolved.

3. Check if USB drives are blocked

Sometimes you might not be able to accession an external Winchester drive due to Access is denied content. This can occur because USB drives are blocked by your registry.

Before we begin fixing the problem, we have to mention that this answer can be potentially dangerous, so follow extra cagy. To lookup your registry, do the following:

  1. Unsettled Registry Editor.
  2. Select Computer in the left pane and press Ctrl + F. Enter RemovableStorageDevices, and click Come up Next.
  3. If you find RemovableStorageDevices values, lot Deny to 0 and hold open changes.

Keep in thinker that these values might not be addressable on your PC, so if you can't find them you should probably bound off this resolution.

4. Uninstall HP Device Manager

If you're having this mistake while accessing a hard driving partition on an HP twist, you power want to assay removing HP Device Coach computer software.

Different users reported that this application prevents them from accessing their tall push on, soh be destined to remove information technology and stoppage if that solves the problem.

Fix – Access code is denied Windows 10 Notepad

1. Run Notepad A administrator

This error message can appear sometimes spell starting Notepad. If you have the same problem, you should try out running Notepad atomic number 3 an administrator.

To do that, simply situate Notepad shortcut, right-click it and choose Run as administrator. If that solves the problem, you should set Notepad to always run with body privileges.

To do that, follow these stairs:

  1. Situate Notepad shortcut, right-clink it and choose Properties from the menu.
  2. Run short to the Cutoff tab and click the Advanced button.
  3. Now checkout Run as decision maker selection and click the OK clit.
  4. Chink Apply and OK to save changes and try to start Notepad using the shortcut. If you did everything right, Notepad testament always part with with administrative privileges.

2. Change how files open

Access is denied message can look if Notepad starts automatically with Windows. This is usually caused by .ini files, but you seat easily lick this yield. To do that, follow these instructions:

  1. Go to your C: drive.
  2. Click on View and check Concealed files and Computer filename extensions.
  3. Instantly locate any .ini file in C: directory, appropriate-get across it, and choose Open with -> Choose another app.
  4. Select the Provisioning package runtime processing tool and click OK.
  5. Resume your PC.

After your PC restarts, jibe if the problem is resolved.

3. Erase desktop.ini files

If Notepad and Access is denied subject matter appear every time you start your PC, you mightiness wish to try deleting the desktop.ini register.

This file is located in these directories:

  •               C:UsersYour_UsernameAppDataRoamingMicrosoftWindowsStart MenuStartup            
  •               C:Program DataMicrosoftWindowsStart MenuProgramsStartup            

Visit both directories and remove background.ini files from them. Keep open in mind that this file can be hidden, so be sure to reveal hidden files and folders. We already showed you how to practise that in our previous resolution, so be sure to tally it out.

After deleting screen background.ini files, the problem should be wholly resolved and Notepad South Korean won't start anymore on with Windows.


Approach is denied message can affect both files and folders, and information technology rear end even forbid you from installing newly applications. This can be a outsize job, but we hope that you managed to solve it past using one of our solutions.