No access to the target folder in Windows 10, 8.1 and Windows 7

Anonim

How to fix the error No access to the target folder in Windows
The most common scenarios of the error appearance "There is no access to the target folder. You need permission to perform this operation, "an attempt to change something in one of the Windows system folders or, in some cases, when writing to a flash drive or creating any files on it. In both cases, this is relatively easy to solve.

In this manual on how to correct the error "No access to the target folder" for system folders Windows 10, 8.1 and Windows 7 (the first section of the article) and the same error on flash drives and other USB drives (second part). In all cases, to do the specified actions you must have administrator rights on the computer.

No access to the target folder when operating inside system folders

Suppose you need to perform some changes in the system folder (creating and copying files and others), you have already become the owner of the folder, but when you try to act in it, you receive a message that you need permission to perform this operation.

First of all, consider that the actions on files in the Windows system folders are potentially dangerous, be careful. The problem of correcting the problem will be the following (perhaps you have already performed a part of the described actions, but I will set them all in order, the example is given for Windows 10, in the previous OS, everything is as well as):

  1. Run the command line on behalf of the administrator (how to do it).
  2. In order, enter the following commands, in brackets - description of the command action.
TakeOwN / F "path_pad" (becoming the owner of the folder) TAKEOWN / F "PATH_K_PAPE" / R / DY (becoming the owner of the content folder) ICAcls "path_pad" / GRANT Administrators: F (we give full access rights to the administrator folder) ICACLS "Path_Papka" / GRANT Administrators: F / T (We get full rights for all subfolders and files)

As a result, you should have the ability to perform any actions in the selected folder. Important: Consider that with the C: \ Program Files \ WindowsApps folder it will not work: in the latest versions of Windows 10, it is protected so that no "standard" methods do not work, and the contents of this folder are encrypted (EFS). It can also happen that other "special" protected system folders or antivirus folders will not be able to unlock the described method.

There is no access to the target folder when writing to a USB flash drive or creating files and folders on it.

In case the message of the absence of access to the target folder, you get when you try to copy something on a USB flash drive, a memory card or an external hard drive, it is likely that the reason for the installed access policies to removable storage devices.

No access to the target folder during flash drive operations

Fix it as follows:

  1. Press Win + R keys, enter the regedit and press ENTER.
  2. In the registry editor, go to the sectionHKey_Local_machine \ Software \ Policies \ Microsoft \ Windows \
  3. If the RemovableStorageDevices subsection is present in it, remove it.
    Fix no access to the target folder in the Windows registry
  4. Follow steps 2 and 3 in the Shelter_current_user \ Software \ Policies \ Microsoft \ Windows \

Usually, this is enough to remove the restrictions on the recording of data on the USB flash drive and changing the data on it, however, it may be necessary to disable and connect the drive again so that the changes made to take effect. The essence of the parameters in this section is blocking access to the flash drive and other removable USB drives.

However, if the RemovableStorageDevices section did not turn out in the registry, you can try to apply the first method: to become the owner and get access to folders and files on the flash drive (only for drives with the NTFS file system).

Read more