Full disk access with. Fixing the error “Disk access is denied. Using the Unlocker utility

Hello! I encountered this problem: external drive no longer works under Windows. During the connection, it is visible, but when I try to open it, a message appears: “No access to G:/. Access denied".

In “my computer” the disk parameters are not visible, it is indicated that the volume is 0. With standard disk management with using Windows The entire volume is displayed, including the occupied one. Through a program like R-studio you can access all files. The disk also works perfectly under different Unix systems (Linux, MacOS, TV, etc.). Help me please. It seems that the solution is not at all difficult. I understand that it is possible to simply format and overwrite information, but there is no desire to overwrite 500 GB. And I also want to know for the future. Waiting for your reply.
Thanks in advance, Maxim

This is a correspondence by mail with a user who asked for help. Perhaps she will help someone.

Good afternoon, Maxim!

If the data is very important to you, then try extracting it using type recovery programs to another medium. Check their functionality or copy them under Unix, and then you can deal with the problem.

If the information is not so important, then on the command line you need to issue the command g: and see what the checkdisk program shows about errors in file system. The program will not make any changes to the file system. If serious errors are not detected by the program, then run chkdsk g: /F to correct errors in the file system. When checking and correcting errors in the file system, certain information may be lost. If errors are not found in the FS, then sort out the access rights."

User response after running chkdsk command

I ran chkdsk with both parameters: no errors were found. What could happen to access rights? Please advise me what to watch or read about this.

I have also now checked access from the command line. cmd lines, from it windows can see the entire structure of files and directories"

What you need to do:

  1. In Explorer, right-click on the G drive:
  2. then - “Properties”
  3. after that - “Security”

There is a lot of information in the search about how to change access rights in Windows. So it's hard to tell right away.

Try opening the disk again in the following way: In Explorer, right-click on the G: drive, open. It may also be that this is the result of a virus. And try to access the disk using some shell like Total Commander.”

User response after resolving a permissions issue

Thank you, I managed to sort out the rights. I made my user the owner of the files, after which access appeared. But another problem appeared. When you connect this drive to another computer, the first one is still not accessible. We have to carry out the same manipulations. Is there any way I can restore permissions for any user on this drive?

Problem: The network resource cannot be accessed. The network folder is displayed...

but when I try to log in, the system displays the following message:

Windows cannot access \\computer\network_resource. Permission to access \\computer\network_resource absent. Contact your network administrator to gain access.

In the Windows XP operating system, a similar message sounds like this:

No access to \\computer\network_resource. You may not have permission to use this network resource. Contact the administrator of this server to obtain the appropriate access rights. Access denied

Why can't I access the network resource?

The reason may be due to the following factors:

  • The user does not have permission to access the share.
    These rights are configured on the tab Access and are relevant only for setting up network access.
  • The user does not have permission to access the folder at the NTFS permission level
    Configured on the tab Safety. This setting regulates access rights both over the network and locally.
  • The user does not have network access permissions or NTFS rights.

How to share a network folder with all users

Settings must be made on the computer where the network resource.

Go to Computer Management:

Open the section Shared folders. Select a subsection Shared Resources and find out the local path to the folder that is open to the network.
In our example, we see that the network resource temp matches local path C:\temp :

We find local folder, right-click on it and call Properties:

1 The first thing to check is network access permissions. Open the tab Access and press the button Advanced setup:

Press the button Permissions:

Let's check who it's open to network access, and also check the rights.
In order for all users to be able to access the network resource, the list Share Permissions need to add a group All.
In our case, open full access for a group All. So, with network permissions Everything is fine:

2 The second thing you need to check is NTFS rights. Go to the tab Safety and check the global permissions to access the folder.
In our example, we see that only users and administrators of the local computer can see and enter this folder. This means that if we try to log into a network resource under a user who does not have an account on local computer, we will be denied access.

In order to allow access to the folder to all users, even those who do not have an account on the local computer, you need to add the same group to the list All. To do this, press the button Change:

Click Add:

Adding a group All and press OK.

Attention! It is NOT necessary to search for a group in the list of groups and users. You can simply write the word “Everything” with your hands - always with a capital letter.

We have already organized a local network and now we need to figure out how to share access to drive D.

Perhaps someone will ask: why this particular disc? Yes, because, ironically, this is the most popular unit when setting up network connections, since it comes immediately after the system C. At least when setting up a network in accounting offices, this is definitely the most popular letter.

So, guys, in fact, a very similar topic has already been discussed in detail on this blog, only there the conversation was about organizing access to the folder:

Although, to be honest, these processes are absolutely identical. But today we will additionally consider some new nuances. So let's start the story slowly.

It is also worth saying that all settings will be carried out using the example of Windows 10. But there is a complete analogy with earlier systems such as Win 7 and 8.

So, first of all, look for the “My Computer” section on the desktop:

In it we find the treasured disk and right-click on it. In the opened context menu select “Properties”:

Then follow the path “Access-Advanced Settings”:

In the next step, check the box next to “Share this folder”:

In principle, the above settings are sufficient for all users local network gained access to the drive with the letter D. But with this layout, they can only view all the files stored on it.

If you need to give rights to edit or change content, then you need to click on the “Permissions” button and specify the necessary permissions:

That's all, in fact, general access to the disk is open. Similar steps should be taken on all computers on the local network. Now let's talk about the nuances.

If suddenly all of the above actions did not lead to anything and there is still no access to it, then the first thing to do is to restart the computer. According to the author, this is the most effective technique when working with technology 😉

There are also cases when, when accessing a disk with open access the system still asks for a password. Then you need to go back to the settings section, which is shown in the picture above, and select “Add”. Then click on “Advanced”:

In the window that opens, click the “Search” button, after which in the list that appears, place the cursor on the line “All”:

Now click on “OK” and see the result of the entire operation:

What else can be said about this topic? For example, you can take note of the fact that all the described actions and settings are very convenient to perform in the popular file manager Total Commander:

At least much more convenient than in the standard operating room guide Windows systems. And if you consider that we will already be connecting a network drive, then this is simply an irreplaceable program.

Well, okay, this completes the topic of how to share access to drive D. Although in fact, why does this particular letter pop up again, because the partitions on the hard drive

That's all for now. As always, ask your questions in the comments to the post. We will definitely help you in any way we can.

Tweet

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.

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 provide 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 Extra options security).

6. In the window Properties - Safety 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 very 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”.

Why do files and folders need permissions?

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

1. Restricting access to information by different users.

If on the same computer or in shared network There are several (more than one) users working, it is logical to limit access to information - some users have access to all information (most often administrators), others - 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 under an administrator user profile could do with contents of hard disk anything. For example, delete the boot.ini file, which will cause Windows to stop booting.

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

IN Windows Vista, in Windows 7 and Windows 8, User Account Control (UAC for short) works: when running in an administrator account, programs launched by the user work 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 talked about:

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. For system files and folders on the hard drive are allowed full access to all users.

Programs running in a restricted account Windows user 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.

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 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 appear most often if you have multiple accounts, multiple operating systems or computers - everywhere Accounts are different, when creating files and folders, the rights assigned are also different.

What you can’t do with file and folder permissions

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 operating system restricts user access to his files, so you need to assign access rights to all files on the disk. This is not true and you cannot change the rights of all files! In a system that was not tinkered with or manually assigned access rights, everything was assigned correctly!

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 Volume Information”, “C:” have their own security settings. \ProgramData", "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.

Do not change security settings “just like that”, leaving the system defenseless against viruses and crashes! After Windows installations 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 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 her!).

Very often this helps to run old games on Windows Vista/7/8/10 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 start at all. It's the same with old programs.

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, 10).

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

Lately I’ve been encountering this problem very often - users cannot open full access to disks over the network in Windows 7. After all, it used to be the same (in XP): right-click on the disk, open the access tab, enable full access and that’s it. Well, everyone does this out of habit. They set permissions and think that the problem is solved. When it comes down to it, it turns out that the system refuses to allow access to the supposedly shared disk.

Trying to solve this problem, I googled the entire Internet (maybe I searched poorly), but I still couldn’t find a simple and clear method. Everywhere they offer to create some users, assign them some permissions and passwords, someone is being clever with command line and all this is described in terms that would make an unprepared user faint.

All these options didn’t suit me either and I had to invent my own. I can’t say 100% that it will work equally for everyone, but in any case it’s worth a try.

First of all, go to “Control Panel” - “Network and Internet” - “Network and Sharing Center” - “Change advanced sharing settings” and enable: network discovery, file and printer sharing, access to shared folders and printers. We also disable shared access with password protection.

Then we check that the computers have the same working group and they belonged to the Public or Work network types (set when the computer first connects to the network, later you can change it in the settings).

Now let’s carry out a few simple manipulations and open full access to system disk.

1. Right-click on the disk and go to “Properties”:

3. A window called “Advanced security settings” pops up:

4. In it, select “Change permissions...” and get into almost the same window:

5. Here, click on the “Add” button and in the field for entering the names of the selected objects, write “All” and click on “OK”:

7. Afterwards, press “OK” all the time until we receive the following message:

8. Here, as well as in several more such messages, click “Continue”, then “OK” again (I don’t remember how many times) and enjoy shared access to files and folders on the system drive (with the exception of Windows folders, Program Files and a number of system files located at the root of the disk).

If you are just going to install Windows 7 on your computer and you don’t need access to the system drive over the network, you can use another method:

To open full access to a non-system (one on which the OS is not installed) disk, you can first format it with any third-party utility. The main thing is not to use Windows products. And when you install Windows, you will need to check all the boxes in the “Allow” column for the “Everyone” user in the disk sharing settings (“Properties” - “Access” - “Advanced settings” - “Permissions”).

Those. you can split it with any third-party utility like Acronis HDD format it as you please and only then install Windows into the finished partition.

Don't even ask why this works. I don't know.

I hope my little instructions are useful to someone. In any case, all these manipulations helped me open full access to drive C.