Can't access the target folder. Bypassing the “No access to target folder” protection

Surely, many Windows 7 users have encountered the problem that sometimes when performing some actions with files and folders, the system not only asks for confirmation at the level of administrator rights, but also displays a message stating that there is no access to the target Windows 7 folder. How to correct this situation will now be considered. But first, a little theory.

Can't access Windows 7 target folder. Why?

The thing is that the developers of the seventh version of the system, as well as all subsequent modifications, tried to protect it from accidental interference by inexperienced users by creating a super administrator account, on whose behalf all permissions for carrying out system-critical operations are carried out.

This is why sometimes a message may appear stating that the user does not have access to the target Windows 7 folder when copying, moving, deleting or trying to change some important system components. For many, such constant restrictions, frankly speaking, are seriously annoying. However, you can bypass them, and quite simply. But more on that a little later.

Problems copying or moving files

Typically, if the user's actions are not related to system components, but, for example, to installing programs, copying and moving certain objects, a request to confirm the action is usually simply issued.

You just need to agree and the process will be completed without problems. The situation looks much worse when attempts are made to access or perform some actions with system files and folders. This is where a notification appears stating that the user does not have access to the target Windows folder 7. In the simplest case, this is an attempt to copy some object to system partition or from it. To correct the situation, it is logical to assume two solutions: disable the superadmin “account” and grant yourself absolutely all access rights or change system components.

No access to target folder Windows 7: what to do?

For the first case, the method looks quite simple, but first you will still have to use administrator rights.


They are needed to launch the command console, which is called via cmd in the “Run” menu. Here you need to write one single line: net user Administrator / active: yes (if the action is performed in the English version of Windows, instead of the Russian word you should use its corresponding analogue - Administrator), and then press the Enter key.

The second method will take a little more time, but it fully guarantees that the message that the user, even if he is an administrator at least three times, does not have access to the target Windows 7 folder will not appear again. True, this applies exclusively to single selected objects with which some actions are supposed to be performed.

Here you need to use the context menu, called by right-clicking on a directory or file, in which you first select the properties line, and then use the security tab, where you need to select the group or user for whom you want to set extended privileges. At the bottom there is a button for additional settings, after clicking on it a new window appears.


In it you need to use the permissions tab (it’s the first one), in the type column, look at all the lines in which the ban is set, and then click the button to change permissions. In the new window we find a similar line and press the button again, as in the previous case. After that, we simply change the permission type by checking the box next to the full access line.

If you return to the first menu, you will see that all types of operations are automatically checked in the permissions column.

Now, when working with the selected object, a message stating that the user does not have access to the target Windows 7 folder will no longer appear. But keep in mind that this only applies to the selected object. If permissions are required for another directory, the above operations will have to be performed again. By the way, this method also works if access to removable devices is denied, only in this case you need to use the properties menu of the device itself.

Problems with access on local networks

But that's not all. Problems can also arise with local networks. Sometimes the system also reports that a user (or group of users) does not have access to the target folder; it may simply have such settings when some restrictions are set not only on shared access to directories on network terminals, but also on their detection on the network.


First you need to check additional settings network and set enable options there for all parameters except password access. This establishes visibility of computers on the network and everything that is on them.


Next, you should select a specific folder and simply open it general access via the corresponding line in the right-click menu. In addition, in the settings you can specify a group of users or specifically selected users for whom these parameters will be applied.

Instead of a total

As you can see, you can get rid of the constantly popping up message in different situations quite simply. Which method should I use? It all depends on the specific case. However, the first two methods for home terminal users work flawlessly. For enterprise networks, you may need to contact your system administrator to apply some settings. In particular, this applies to setting network parameters. But the user can enable shared access to a separate directory himself (administrator permission is not required for this).

If you try to open, move or edit any system file in Windows 8 or Windows 8.1, you will most likely receive an error indicating that you do not have access rights. Moreover, this error occurs even if you are working with administrator rights. Why do you actually need to intervene in the system and change something there? There could be many reasons for this. Let's say you need to manually edit a log or image or replace a file for some bold experiment. So, you won’t be able to do this, even if you have administrator rights.


The reason is that in Windows 8 there are even more permissions high level access, so to speak root rights. They belong to the system itself. To get them you need to change a few simple settings. There are two options - changing access rights manually and using special utility TakeOwnershipEx. First, consider the first method. Let's say you need to get full access rights to the system file twinui.dll. Right-click on it and select Properties from the context menu.


In the properties window, switch to the “Security” tab and click “Advanced”.

This will open a window for additional security settings.


At the top of the window you can see the file name and path, as well as the name of its true owner. The default is TrustedInstaller, for some file types it may be SYSTEM. That's exactly what needs to be changed. Click “Change”, enter your user name in the window that opens and, by clicking the “Check names” button, make sure the specified name is correct. If it is entered correctly, the computer name will be added to it. Click OK and save the editing result.


Now go back to the twinui.dll properties window, click the “Edit” button,

in the list select the username we assigned instead TrustedInstaller, check the checkboxes and save the result.

Congratulations, from now on you are the full owner of this object. You can set access rights to directories in almost the same way.


Everything that we have done manually up to this point can be done using the utility TakeOwnershipEx. This very simple and easy to use application does everything described above, only much faster. In the utility window, you need to click the “Get access rights” button and specify the path to the folder or file that you want to “unblock”.


The utility remembers all changes, so restoring access rights will not be difficult, especially since for this purpose in TakeOwnershipEx there is a corresponding option.


By the way, during installation the program is built into Explorer, which makes working with it even more convenient and fast.

Compared to the first method, using the utility has certain limitations. Thus, you will not be able to set rights to directories recursively, that is, when setting rights to a folder, subfolders and the files they contain are not processed . In conclusion, I would like to draw your attention to the following. Changing access rights to system files and directories unless absolutely necessary is not recommended, as this weakens Windows security and makes it vulnerable to malware attacks. . If possible, after editing a system object, access rights to it should be returned to default values.

Previous/Next

When opening, deleting, or otherwise manipulating files and folders, you may encounter a file access error. I will tell you how to deal with this and why this happens.

1. How to get full access to files and folders

First, instructions on how to get full access to folders and files. The next chapter will have an explanation for those who are curious.

Open the folder where the problematic file or folder is located. To get full access to their contents, you need to configure file access:

1. Right-click on a locked file (or folder) without access - Properties - select a tab Safety:

2. Press the button Additionally – select a tab Owner:

3. Press the button Change and select your username (in my case it’s Dima, you will have something else), also check the box Replace owner of subcontainers and objects:

4. If a window appears with the text “You do not have permission to read the contents of the folder. Do you want to change the permissions for this folder so that you have full access rights?”, we answer Yes:

5. After changing the owner of the folder, a window will appear with the text “You have just become the owner of this object. You must close and reopen the properties window for this object to see or change permissions." Click OK, then press again OK(in the window Additional security options).

6. In the window PropertiesSafety press again Additionally, only now look at the first tab of the window that opens - Permissions. You have to press a button Change permissions:

7. Click the button Add:

(If you are working with properties folders, not the file, check the box next to “Replace all permissions of the child object with permissions inherited from this object.”)

8. In the “Select: users or groups” window that opens, you will need to enter your user name (you can look it up in the Start menu - the name will be the top line), click the button Check names, then OK:

If you need a folder (or file) to open without restrictions absolutely all users, i.e. not only yours, then press again Add and enter the name " All» without quotation marks (“All” in English Windows versions), then click Check names And OK.

9. On the tab Permissions one by one, double-click on the lines with user names and check the box for “Full access”:

This will automatically check the boxes below.

10. Then press OK, in the next window respond to the warning Yes, again OK to close all windows.

Ready! Full access to files and folders has been obtained! You can safely open them, change them and perform other actions with them.

Conclusion: you need to take two steps: become the “owner” of the file or folder (step 3), then assign access rights to yourself (step 6). Many instructions on how to gain full access to files and folders only mention the first step, forgetting about the second. This is not entirely correct, because the security settings of the file/folder may be different, you need to bring them back to normal, and not just become the “owner”.

2. Why do files and folders need permissions?

A mechanism for restricting access to files and folders is necessary for many reasons. For example:

1. Limiting access to information by different users.

If several (more than one) users work on one computer or on a shared network, it is logical to limit access to information - some users have access to all information (most often administrators), while others have access to only their own files and folders (regular users).

For example, at home you can restrict the rights of one user so as to protect important files and folders from deletion (so that a child cannot unknowingly delete important documents), while from another (parental profile) you can do whatever you want.

In the first chapter I showed how allow access to certain users. In exactly the same way it is possible limit access - the steps are the same, only at the point 9 you need to check other boxes.

2. Operating system security.

In Windows XP, everything is arranged quite primitively - users with administrator rights can change (and delete) any folders and files on the hard drive, including system ones, i.e. owned by Windows. In fact, any program running in the administrator user profile could do with the contents of the hard drive anything. For example, delete the boot.ini file, which will cause Windows to stop booting.

Under rights limited user, where, thanks to security settings, it was impossible to delete important system files, few people sat, preferring the administrator account. Thus, Account with administrator rights in Windows XP creates the most favorable conditions for viruses.

In Windows Vista, Windows 7 and Windows 8, User Account Control (UAC for short) works: when running in an administrator account, programs launched by the user run with limited rights. That is, delete or change the system files of the program can not. Programs are able to gain more complete access by requesting it from the user using the UAC window, which I already mentioned:

If file access rights are configured correctly and UAC is enabled, then viruses running in the Vista/7/8 administrator account will not be able to seriously harm the system without the permission of the person sitting at the computer.

UAC useless in cases:

1. If a user is sitting at a computer, mindlessly pressing the “Yes” and “OK” buttons

2. If you run programs “as administrator” (right-click on the program shortcut – Run as administrator).

3. UAC is disabled.

4. All users are allowed full access to system files and folders on the hard drive.

Programs running in a limited user account in Windows Vista/7/8 (type “Normal Access”) cannot open the UAC window and work with administrator rights, which is quite logical.

I repeat once again: when it is not possible to elevate your rights to administrator rights, you cannot harm operating system files protected by access rights restrictions.

3. Causes and solutions to file access problems

The problem is that you are trying to access files and folders created under a different account. Two solutions: or allow everyone users access, or allow only those who need it by listing them. Both solutions can be easily implemented following the instructions above. The only difference is that you will enter in paragraph 8 the word “Everyone” or by listing users.

By the way, you can allow access to everyone, but deny access to one (several) users, while setting the ban will be a priority for the listed users.

There are many reasons for problems accessing files. They most often appear if you have several accounts, several operating systems or computers - the accounts are different everywhere, and when creating files and folders, the rights are also assigned differently.

4. What you can’t do with file and folder permissions

Attention

Under no circumstances should you assign full access to files and folders on the entire hard drive with the operating system installed!

There is a myth that the operating system does not consider the user the owner of its files, so it is necessary to assign access rights to all files on the disk. This is not true and you cannot change the rights of all files! A system that has not been tinkered with or manually assigned access rights can correctly assign the necessary rights!

Use my instructions only in case of real problems, not to prevent fictitious ones.

Let me explain: by allowing access to system files, Windows will still work, but any virus or malfunctioning program can do very bad things. It's unlikely that you need problems.

The folders “C:\Windows”, “C:\Program files”, “C:\Program files (x86)”, “C:\Users”, “C:\System”, “C:\ProgramData” have their own security settings ", "C:\Recovery" and many others. They cannot be changed, except in cases where it is necessary to perform any manipulations with files (for example, to change Windows theme), and you need to return the settings back.

Attention

Do not change security settings “just like that”, leaving the system defenseless against viruses and crashes! After installing Windows, access rights to system folders are configured correctly, no need to change them!

Advice: if the program works correctly only if it is launched “as an administrator” and produces errors during normal startup, try assigning full editing rights to the folder with it in “C:\Program files” or “C:\Program files ( x86)" (not the Program files folder itself, but the folder with the desired program inside it!).

Very often this helps to run on Windows Vista/7/8 old games that store settings and save files inside their folder. When launched without the rights to change their own files, such games, at best, cannot save game progress; at worst, they close or do not launch at all. It's the same with old programs.

5. Conclusions

1. Assigning permissions is relatively easy.

2. Access rights cannot be changed without a justified purpose.

3. If you have changed the rights of system files, change them back. To change permissions systemic folders and files to the previous ones, you can use these instructions (the method for Windows Vista should also work for Windows 7, Windows 8).

4. Changing security settings is a delicate matter and the author of the article is not responsible for your actions.

Surely many Windows 7 users have encountered the problem that sometimes when performing some actions with files and folders, the system not only asks for confirmation at the level...

Surely many Windows 7 users have encountered the problem that sometimes when performing some actions with files and folders, the system not only asks for confirmation at the level...

Users of each Windows versions often encounter a variety of problems specific to a particular operating system release. With the release of the tenth version, the list of annoying problems was supplemented with rather strict restrictions regarding operations with various files and folders. In an effort to make the system more stable and protect it from random destructive operations on the part of the user, OS developers have revoked access rights to some folders in all categories.

The essence of the problem

When copying files or folders, you may often see a message: There is no access to the target folder in Windows 10, which confuses most users. After all, it would seem that they are working from an account that even has full administrator rights, but for some reason they are denied access to certain directories and files. To understand this problem, you need to perform a number of fairly simple operations.

IMPORTANT! Some work related folders Windows systems, have strict restrictions on the operations performed, which cannot be circumvented using a regular administrator account.

To obtain the necessary rights, you will need to adjust access to a directory or file manually in each specific case.

Debugg

It is quite possible to eliminate this problem using the built-in tools provided in operating system. However, for greater convenience, you can resort to specialized utilities that return all folders and files to the user’s full disposal.

ADVICE! Nevertheless, adjusting rights using system tools seems to be the most appropriate option, since it allows you to avoid installing unnecessary applications.

To gain full access to the folder, you will need:

  • Right-click on it and go to Properties;
  • In the Security tab, you will need to click the Advanced button;
  • In the menu that opens, you will need to select Change, and then click Advanced again in a new window;
  • A menu will appear containing . Having selected the current one, click Apply and OK in all open menus, which will apply the changes.

Thanks to a similar algorithm of actions, you can change access rights to any folder or file. It is extremely important to be careful, as it is not recommended to change any files and folders protected by this method.

Sometimes, when opening data, the user receives a warning that they cannot be accessed or that permission must be sought from the owner. In this case, it will be possible to access the information after obtaining rights. Several ways to do this will be described in this article. But to use them, the user account must have administrator rights. However, you should not immediately change the owner of the entire HDD on which the system is installed, this may lead to failures.

Using the takeown command

The first option for obtaining rights involves using the console. To get started, you need to launch the console with administrator rights, this is done through Start. After launch you will need to enter the command takeown /F “path indication” /R /D Y.

Examples of command execution are shown in the image. The user will then be able to access the information.

Changing the owner using the icacls command

The second method also involves entering a command through the console. It’s worth turning it on and entering Icacls “Data reference” /setowner “User” /T /C. Paths are written exactly according to the same principle as in the previous section. Instead of user, you need to substitute the name of the account that will have access to the data.

An example of operator input and execution can be seen in the image.

Using Security Settings

The following method has nothing to do with using the console and entering commands, it only uses standard means systems. To get started you need find a file or folder that you want to access. After this you will need to right-click on it and select “ Properties", go to the security section, and then select the item Additionally.

In the window that opens, find the owner and click next to him on the link “ Change" After which another window will open, in which you will again have to go to additional parameters and perform a search in them.

As a result, a list of accounts on the device will be displayed. It is worth choosing the one that will receive the necessary rights. After which it is necessary click OK.

If the user changes the owner of a folder or local drive, he must check the box marked in the image and then apply the changes.

Other ways to obtain owner rights

You can download one of the free utilities that will allow you to access data from the context menu. For example, TakeOwnershipPro, free utility, which will help you gain access. All you have to do is right-click on the data and select the desired item.

However, such actions are not required very often, so the user should consider whether it is necessary to clutter the system with another program that will constantly run in the background.

Surely, many Windows 7 users have encountered the problem that sometimes when performing some actions with files and folders, the system not only asks for confirmation at the level of administrator rights, but also displays a message stating that there is no access to the target Windows 7 folder. How to correct this situation will now be considered. But first, a little theory.

Can't access Windows 7 target folder. Why?

The thing is that the developers of the seventh version of the system, as well as all subsequent modifications, tried to protect it from accidental interference by inexperienced users by creating a super administrator account, on whose behalf all permissions for carrying out system-critical operations are carried out.

This is why sometimes a message may appear stating that the user does not have access to the target Windows 7 folder when copying, moving, deleting or trying to change some important system components. For many, such constant restrictions, frankly speaking, are seriously annoying. However, you can bypass them, and quite simply. But more on that a little later.

Problems copying or moving files

Typically, if the user's actions are not related to system components, but, for example, to installing programs, copying and moving certain objects, a request to confirm the action is usually simply issued.

You just need to agree and the process will be completed without problems. The situation looks much worse when attempts are made to access or perform some actions with system files and folders. This is where a notification appears that the user does not have access to the target Windows 7 folder. In the simplest case, this is an attempt to copy some object to or from the system partition. To correct the situation, it is logical to assume two solutions: disable the superadmin “account” and grant yourself absolutely all access rights or change system components.

No access to target folder Windows 7: what to do?

For the first case, the method looks quite simple, but first you will still have to use administrator rights.

They are needed to launch the command console, which is called via cmd in the “Run” menu. Here you need to write one single line: net user Administrator / active: yes (if the action is performed in the English version of Windows, instead of the Russian word you should use its corresponding analogue - Administrator), and then press the Enter key.

The second method will take a little more time, but it fully guarantees that the message that the user, even if he is an administrator at least three times, does not have access to the target Windows 7 folder will not appear again. True, this applies exclusively to single selected objects with which some actions are supposed to be performed.

Here you need to use the context menu, called by right-clicking on a directory or file, in which you first select the properties line, and then use the security tab, where you need to select the group or user for whom you want to set extended privileges. At the bottom there is a button for additional settings, after clicking on it a new window appears.

In it you need to use the permissions tab (it’s the first one), in the type column, look at all the lines in which the ban is set, and then click the button to change permissions. In the new window we find a similar line and press the button again, as in the previous case. After that, we simply change the permission type by checking the box next to the full access line.

If you return to the first menu, you will see that all types of operations are automatically checked in the permissions column.

Now, when working with the selected object, a message stating that the user does not have access to the target Windows 7 folder will no longer appear. But keep in mind that this only applies to the selected object. If permissions are required for another directory, the above operations will have to be performed again. By the way, this method also works if access to removable devices is denied, only in this case you need to use the properties menu of the device itself.

Problems with access on local networks

But that's not all. Problems can also arise with local networks. Sometimes the system also reports that a user (or group of users) does not have access to the target folder; it may simply have such settings when some restrictions are set not only on shared access to directories on network terminals, but also on their detection on the network.

First you need to check the additional network settings and set enable options there for all parameters except password access. This establishes visibility of computers on the network and everything that is on them.

Next, you should select a specific folder and simply share it through the corresponding line in the right-click menu. In addition, in the settings you can specify a group of users or specifically selected users for whom these parameters will be applied.

Instead of a total

As you can see, you can get rid of the constantly popping up message in different situations quite simply. Which method should I use? It all depends on the specific case. However, the first two methods for home terminal users work flawlessly. For enterprise networks, you may need to contact your system administrator to apply some settings. In particular, this applies to setting network parameters. But the user can enable shared access to a separate directory himself (administrator permission is not required for this).

It happens that Windows 10 denies users access to files and folders stored on the computer. Mostly, this problem is due to the fact that users do not have the appropriate rights, even though they have an account with administrator rights. This usually happens in the case of system files/folders, or those that previously belonged to a user whose account no longer exists. What to do if access to a file or folder is denied in Windows 10? If this problem also torments you, this instruction should help you, which describes how to get full access to files or folders in Windows 10.

Get full access to a file or folder in Windows 10 through Explorer

  1. Open Conductor and find required file or folder. If the file or folder is not visible in Explorer, do not forget.

  2. Right-click on the file or folder and click on Properties.

  3. Go to Safety and click on the button Additionally.
  4. In the window Additional security options click on the link Change.

  5. Press Additionally - Search.

  6. From the list of users and groups, select your preferred owner and click OK.

  7. Check the box next to Replace owner of subcontainers and objects, and click on OK.

  8. Right-click the file or folder again and open PropertiesSafety.
  9. Press AdditionallyAdd.

  10. Click on the link Select Subject.

  11. Press AdditionallySearch, select a subject from the list and click OK.
  12. Under the inscription General permissions check the box next to the item Full access and click on OK.

  13. Check the box next to the item Replace all permission entries of a child object with those inherited from this object.

  14. Press OK to apply all changes.

Take Ownership of a File or Folder in Windows 10 Using the TakeOwnershipEx Utility

As an alternative, you can use the TakeOwnershipEx utility. It allows you to change the owner of a file or folder and gain full access to it in a few simple clicks. Users just need to do the following:


Did you find this instruction helpful? Did it help you in solving the problem of gaining access to files and folders in Windows 10? Write your answer in the comments.

Publications on the topic