Меню

Access denied errors in windows 10

Устранение ошибки «Отказано в доступе» в Windows 10

Открыть нужную папку или файл в операционной системе Windows получается не всегда. Одна из причин, по которой не получается это сделать – ошибка «Отказано в доступе». Из данной статьи вы узнаете о том, как устранить указанную проблему на устройствах под управлением Windows 10.

Исправление ошибки «Отказано в доступе»

Одна из основных причин появления ошибки – отсутствие соответствующих прав доступа у пользователя. Тем не менее, бывают случаи, когда проблема вызвана системным сбоем и решается банальной перезагрузкой компьютера. Можно выделить три основных метода ее устранения – через настройки ОС, системными утилитами и сторонним софтом. О каждом из них мы и расскажем далее в деталях.

Способ 1: Специализированный софт

Начнем с самого простого метода. Его суть заключается в том, чтобы выдать текущей учетной записи права на использование проблемной папкой или файлом. Делать это будем с помощью программы TakeOwnershipEx. Порядок действий должен быть следующим:

  1. Перейдите на официальный сайт программы и загрузите архив с софтом. Ссылка на него находится в самом низу указанной страницы.
  2. Извлеките все файлы из скачанного архива в отдельную папку, после чего запустите «TakeOwnershipEx–1.2.0.1-Win8».

В следующем окне нужно выбрать язык, на котором будет происходить дальнейшая установка программы.

После этого подождите. Процесс инсталляции займет около 10 минут. Он будет отображаться в отдельном окне в виде заполняющейся шкалы.

По завершении инсталляции вы увидите соответствующее уведомление. Закройте его и перезапустите приложение.

После запуска интерфейс по умолчанию будет на английском языке. Переключите его по желанию на русский (выберите соответствующий пункт в выпадающем меню в правом нижнем углу), затем нажмите кнопку «Получить права доступа».

Процесс выдачи соответствующих прав начнется автоматически. Вам же нужно дождаться, пока на экране не появится уведомление об успешном завершении операции.

Закройте его и само приложение. Попробуйте снова открыть проблемную папку. Помните, что все внесенные изменения можно вернуть в исходное состояние. Для этого после запуска программы просто нажмите вторую кнопку «Восстановить права доступа» и выберите модифицированную ранее папку.

Способ 2: Настройки Windows

Этот метод решает проблему в большинстве случаев. Как и предыдущий, он заключается в выдаче специальных прав нужному пользователю ПК. От вас потребуется следующее:

    На той папке или файле, к которому нужно восстановить доступ, кликните правой кнопкой мышки. В появившемся контекстном меню выберите строку «Свойства».

Появится новое окно с несколькими вкладками сверху. Перейдите во вкладку «Безопасность». В ней обратите внимание на самый первый блок «Группы и пользователи». Вам необходимо нажать кнопку «Изменить», которая находится под ним.

Далее проверьте, нет ли в перечне пользователей в открывшемся окне имени учетной записи, через которую вы вошли в систему. Если есть, тогда выберите ее одиночным нажатием левой кнопки мышки и поставьте отметку в нижнем блоке напротив строки «Полный доступ». В противном случае нажмите кнопку «Добавить».

В нижнее поле введите полное имя своей учетной записи с учетом букв верхнего и нижнего регистра, а после нажмите кнопку «Проверить имена». Система сформирует запись должным образом, дописав свои значения. Затем кликните по кнопке «OK».

В открытом ранее окне, в списке пользователей, появится добавленная учетная запись. Выполните действия, описанные выше: выберите имя пользователя и поставьте отметку возле строки «Полный доступ». Подтвердите свои намерения, нажав «Применить» и «OK».

  • После этого закройте все окна и попробуйте открыть проблемную папку или файл. С большой долей вероятности все заработает как положено.
  • Способ 3: Командная строка

    Как понятно из названия метода, для его реализации нужно прибегнуть к помощи «Командной строки». В ней прописывается специальная команда, которая автоматически выдаст разрешения нужной папке или файлу. Выполните следующий ряд действий:

      Нажмите сочетание клавиш «Win» и «R». Появится окно программы «Выполнить», в котором нужно ввести команду cmd . Затем, удерживая вместе клавиши «Shift» и «Ctrl», нажать на клавиатуре «Enter». Данные действия позволят запустить «Командную строку» от имени администратора. Напомним, что сделать это можно и другими способами.

    Подробнее: Запуск «Командной строки» от имени администратора в Windows 10
    Далее нужно ввести в открывшееся окно следующую команду и нажать «Enter»:

    takeown /F «C:\Folder\Lumpics» /R /D Y

    Обратите внимание, что вместо значения в кавычках нужно указать путь к проблемной папке или файлу на диске вашего ПК.

    После этого нужно подождать. Если в указанной папке находится большое количество вложенных файлов, процесс займет некоторое время. В любом случае, в конце вы увидите следующее сообщение:

  • Остается лишь закрыть все программы и окна, после чего вновь попробовать открыть файл или папку, доступ к которой был закрыт.
  • Таким образом, воспользовавшись любым из описанных методов, вы сможете избавиться от ошибки «Отказано в доступе». Напомним, что аналогичная проблема нередко встречается и при попытке открыть каталог на флешке. Если вы столкнулись с подобным, рекомендуем прочитать наше отдельное руководство:

    Источник статьи: http://lumpics.ru/how-fix-access-denied-error-on-windows-10/

    Access is denied Windows 10 error [FIX]

    • Any message stating that access is denied can’t be good. If you stumble across it while using your Windows 10 running device, it’s actually worse.
    • Since this can interfere with your work by not allowing you to access certain directories or apps, here’s a complete list of tested solutions to fix it.
    • Speaking about solutions, do explore more on the topic by checking our File Explorer Support Guides.
    • Visit the Windows 10 Troubleshooting Hub for more handy fixes that will help keep your PC in pristine condition at all times.

    Access is denied message can appear while trying to access certain directories or applications thus interfering with your work.

    Although this message can cause problems, you should be able to fix it on Windows 10 by using one of our solutions.

    How to fix Access is denied message 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 file or a directory while having insufficient privileges. This happens if you’re not an administrator or if you don’t have ownership over a folder.

    To fix the problem you just have to assign ownership to your account, and you can do that by following these instructions:

    1. Locate the problematic folder, right-click it and choose Properties from the menu.
    2. Navigate to the Security tab and click the Advanced button.
    3. Locate the Owner section at the top and click on Change.
    4. Select User or Group window will now appear. In the Enter the object name to select field enter Administrators or enter your user name. Now click the Check Names button. If everything is in order your input will change. Click OK to save changes.
    5. The owner section will now change. Check Replace owner on subcontainters and objects and click Apply and OK to save changes. Some users are suggesting to check Replace all child object permission entries option, so you might do that as well.

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

    1. Navigate to Advanced Security Settings.
    2. A list of all users will appear. If your user account isn’t listed, click the Add button.
    3. Click on Select a principal.
    4. Now enter your user account name, click Check Names, and then OK. We already showed you how to do that in Step 5 above, so be sure to check it out.
    5. Set Type to Allow and Applies toThis folder, subfolders, and files and check Full control. Now click the OK button.

    If your user name is already available, simply double click it and perform Step 5.

    Another way to take ownership is to use Command Prompt. To do that, start Command Prompt as administrator and enter the following lines:

    Of course, be sure to replace path_to_folder with an actual path to the inaccessible folder. After running these two commands you should have full access to the problematic folder.

    2. Add your account to the Administrators group

    Sometimes Access is denied message appears if you try to access a folder while not having administrator privileges. This can be a problem, but you can fix it by adding your account to the Administrators group.

    To do that on Windows 10, follow these steps:

    1. Press Windows Key + X to open Win + X menu. Select Computer Management from the list.
    2. When the Computer Management window opens, navigate to Local Users and Groups -> Users. Now double click your account in the left pane.
    3. Navigate to the Member Of tab and click the Add button.
    4. In Enter the object names to select field enter Administrators and click Check Names. If everything is in order, click OK.
    5. Select Administrators and click Apply and OK.
    6. After doing that, restart your PC and check if the problem is resolved.

    3. Enable the hidden Administrator account

    Windows 10 by default has a built-in Administrator account that you can use. By using this account you should have unrestricted access to your PC.

    Due to security measures, this account isn’t easily accessible, but you can enable it by doing the following:

    1. Press Windows Key + X and select Command Prompt(Admin) from the menu.
    2. When Command Prompt starts, run net user administrator /active: yes command. By doing so you’ll unlock the administrator account.
    3. Now log off of your account and switch to the newly enabled Administrator account. From there you should be able to access your files without any problems.
    4. After you’re done using the Administrator account, go back to your main account and start Command Prompt as administrator again. Now enter net user administrator /active: no to disable the Administrator account.

    Keep in mind that after switching back to your main account the issue might still persist. If needed, you can use the Administrator account to make the necessary changes to your system and fix the problem.

    4. Check your permissions

    Sometimes you’ll get Access is denied message if you lack certain permissions to access the desired directory. However, 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 section.

    This is a simple solution, but if your user name isn’t on the list you’ll have to add it manually and then change its permissions.

    Several users reported that you need to grant Full control to both Administrators and Users over the problematic folder, so be sure to try that as well.

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

    5. Use Command Prompt to reset permissions

    According to users, they encountered this problem while trying to access the Pictures folder. It seems that OneDrive is causing this issue, so to fix it you need to do the following:

    1. Right-click OneDrive icon in the bottom right corner and choose Settings from the menu.
    2. Go to Auto Save tab and set both Documents and Pictures to This PC only. Click OK to save changes.

    If that doesn’t solve the problem, you’ll need to perform the following steps as well:

    1. Start Command Prompt as administrator.
    2. When Command Prompt opens, enter the following commands:
    3. After doing that, restart your PC.

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

    6. Set your account as administrator

    If you’re getting Access is denied message, you might be able to fix it simply by setting your account as an administrator. This is rather simple and you can do it by following these steps:

    1. Press Windows Key + R and enter control userpasswords2. Press Enter or click OK.
    2. User Accounts window will now appear. Check Users must enter a user name and password to use this computer. Now select 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 might be able to fix this problem simply by using Reset Permissions tool. Simply download the tool, run it, select the problematic directory, and check all available options.

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

    8. Close Google Drive and reinstall it

    Access is denied message sometimes appears while using Google Drive. To fix the issue, you need to completely close Google Drive and end all processes associated with it. To do that, follow these steps:

    1. Press Ctrl + Shift + Esc to open Task Manager.
    2. When Task Manager opens, locate all Google Drive processes, right-click them and choose End Task from the menu.
    3. After ending all Google Drive processes, uninstall the application.
    4. Now press Windows Key + R and enter %localappdata%Google. Press Enter or click OK.
    5. Locate the Drive folder and rename it to Drive.old.
    6. Install Google Drive again and check if the problem is resolved.

    9. Edit your registry

    According to users, this error message can appear if you try to access a network shared directory. This can be a big problem, but you can resolve it by making a few changes to your registry.

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

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

    Keep in mind that this solution only applies to network shared folders, so it won’t work with local folders.

    10. Turn off User Account Control

    User Account Control is a useful feature that will prevent applications and users from running commands that require administrative privileges.

    This is a useful feature, but sometimes it can cause Access is denied message to appear, especially when installing new software. To fix the issue, you need to do the following:

    1. Press Windows Key + S and enter user accounts. Now select User Accounts from the list of results.
    2. When the User Accounts window opens, click on Change User Account Control settings.
    3. Move the slider all the way down and click the OK button to save changes.
    4. After doing that, try to install the application again.

    11. Disable your antivirus software

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

    According to users, they got Access is denied message while trying to install certain applications, and the cause was their security software.

    To fix this issue you just need to temporarily disable your security software and try to install the application again.

    If the problem doesn’t appear, it means that the issue was caused by your antivirus software, so you should consider updating or replacing it.

    Best antiviruses at the moment are Bitdefender, BullGuard (free download), and Panda. We strongly recommend Bitdefender for its highly-rated features that will keep your PC safe and optimized.

    12. Change ownership or permissions of Temp and Installer folders

    When installing new software its temporary files are usually moved to Temp or Installer folders. However, if you don’t have the necessary permissions, you might not be able to install the desired application.

    If this error message appears while trying to install applications, be sure to check if the following folders have the necessary permissions

    If needed, you might have to change ownership or permissions in order to fix this problem.

    13. Check environment variables

    In some cases Access is denied message can appear while trying to create zipped folder in Windows.

    This is usually because the %TEMP% variable isn’t properly set. To fix this problem, you need to configure environment variables by doing the following:

    1. Press Windows Key + S and enter advanced system settings. Select View advanced system settings from the menu.
    2. Click on Environment Variables button.
    3. Locate TEMP on the list and check if its value is set correctly. If not, double click the TEMP and set its value to
    4. Save changes and restart your PC.

    After doing that, navigate to the %TEMP% folder by entering %TEMP% in the address bar in File Explorer. Once you open the Temp folder, try to create a new folder and delete it.

    If you can’t create or delete a folder, you’ll need to take ownership of the Temp folder or change your permissions.

    Fix – Access is denied Windows 10 cmd

    1. Pin Command Prompt to Start Menu

    If you’re getting Access is denied message while trying to start Command Prompt, you might want to try pinning it to Start Menu.

    According to users, this workaround solved the problem for them, so you might want to try it. To do that, simply press Windows Key + S and enter command prompt.

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

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

    2. Run Command Prompt as administrator

    Sometimes Access is denied message can appear inside Command Prompt while trying to run a certain command.

    This message indicates that you don’t have the necessary privileges to access a specific file or to perform a specific command. However, you can fix this issue in most cases simply by running Command Prompt as an administrator.

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

    Fix – Access 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 be sure to grant Full Control to your user account in order to access your hard drive partition.

    Several users reported that you can fix the problem by giving Full Control to Everyone group, so try that as well. Keep in mind that you might have to add the group manually if it’s not available on the list.

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

    We have to mention that this solution can be potentially dangerous, so keep in mind that you’re using it at your own risk.

    2. Change the sharing settings

    According to users, if this error appears while accessing external hard drive you can fix it simply by changing a few settings. To fix the issue, due to the following:

    1. Open This PC, locate your external hard drive, right-click it and choose Properties from the menu.
    2. Navigate to the Sharing tab and click on Advanced Sharing.
    3. When the Advanced Sharing window opens, check Share this folder option and then click on Permissions.
    4. Select Everyone from the list and check Full Control in Allow column. Click Apply and OK to save changes.
    5. After saving the changes, check if the problem is resolved.

    3. Check if USB drives are blocked

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

    Before we start fixing the problem, we have to mention that this solution can be potentially dangerous, so be extra cautious. To search your registry, do the following:

    1. Open Registry Editor.
    2. Select Computer in the left pane and press Ctrl + F. Enter RemovableStorageDevices, and click Find Next.
    3. If you find RemovableStorageDevices values, set Deny to 0 and save changes.

    Keep in mind that these values might not be available on your PC, so if you can’t find them you should probably skip this solution.

    4. Uninstall HP Device Manager

    If you’re having this error while accessing a hard drive partition on an HP device, you might want to try removing HP Device Manager software.

    Several users reported that this application prevents them from accessing their hard drive, so be sure to remove it and check if that solves the problem.

    Fix – Access is denied Windows 10 Notepad

    1. Run Notepad as administrator

    This error message can appear sometimes while starting Notepad. If you have the same problem, you should try running Notepad as an administrator.

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

    To do that, follow these steps:

    1. Locate Notepad shortcut, right-click it and choose Properties from the menu.
    2. Go to the Shortcut tab and click the Advanced button.
    3. Now check Run as administrator option and click the OK button.
    4. Click Apply and OK to save changes and try to start Notepad using the shortcut. If you did everything right, Notepad will always start with administrative privileges.

    2. Change how files open

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

    1. Go to your C: drive.
    2. Click on View and check Hidden files and File name extensions.
    3. Now locate any .ini file in C: directory, right-click it, and choose Open with -> Choose another app.
    4. Select the Provisioning package runtime processing tool and click OK.
    5. Restart your PC.

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

    3. Delete desktop.ini files

    If Notepad and Access is denied message appear every time you start your PC, you might want to try deleting the desktop.ini file.

    This file is located in these directories:

    Visit both directories and remove desktop.ini files from them. Keep in mind that this file can be hidden, so be sure to reveal hidden files and folders. We already showed you how to do that in our previous solution, so be sure to check it out.

    After deleting desktop.ini files, the problem should be completely resolved and Notepad won’t start anymore along with Windows.

    Access is denied message can affect both files and folders, and it can even prevent you from installing new applications. This can be a big problem, but we hope that you managed to solve it by using one of our solutions.

    This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

    Editor’s Note: This post was originally published in May 2017 and has been since revamped and updated in May 2020 for freshness, accuracy, and comprehensiveness.

    Editor’s Note: This article was originally published in May 2017 and was revamped and updated in November 2020 for freshness, accuracy, and comprehensiveness.

    Источник статьи: http://windowsreport.com/access-is-denied-windows-10/


    Adblock
    detector