How to open access to a local disk. Fixing "Disk access denied" error

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. Click right click mouse over 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 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 quotes ("All" in English Windows), 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. Limiting 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 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 under an administrator user profile could do with the content hard drive 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 the 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. Most often they 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.

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 the operating system restricts the user's access to his 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! 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:\” have their own security settings Program files", "C:\Program files (x86)", "C:\Users", "C:\System Volume Information", "C:\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.

I needed to somehow transfer data from my computer to my smartphone. But there was no wire at hand. There was nothing to do, I had to reinvent the wheel. In general, I shared access to one of the local drives of my computer and got into it using an Android smartphone. It is quite difficult to fully describe everything in one article, so I will focus for now on how to open shared access to a disk in seven (it will be similar in eight). The only thing you will need to do that is not described in this article is to set a password to log in to the system. Many articles have been written on the Internet about how to do this (meaning, set a password).

So, let’s open “my computer” and right-click on the drive to which we want to open access. Select the “Properties” item in the Context Menu. A window will open in front of us, as in the screenshot below.

A window appears as in the screenshot below. These are permissions for external access to this disk. In my case, I need information to be able to be read from the partition and written to this disk. Therefore, check the “Full access” box and click the “OK” button in all previous windows.

Many modern mobile PCs no longer have built-in CD/DVD drives. The need for them very quickly disappeared with the advent of the ability to boot from USB and large flash drives. But if you still have to use CD/DVD drives, then you can use an optical drive shared over the network, thereby possibly bypassing the purchase of an external drive.

In order to be able to use a shared CD/DVD drive, both computers must be in the same local network, and also requires the use of advanced sharing settings in Windows.

Share a device

To begin, on your local computer, go to the “My Computer” menu.

Right-click on the device you are going to share and go to the menu “ General access" - "Advanced sharing settings."

Click on the “Advanced settings” button to display a window with additional parameters.

In the next window, check the box next to “Share this folder”, enter a description for the shared resource, for example “CD Drive” and click on the “Permissions” button.

Make sure that the user group called Everyone has read permissions on this device. If you need additional security(if the computer is not located, for example, in a closed home network), then here you can add certain users thereby determining who can access this drive. Click OK if you have completed the access rights settings.

It is also possible to disable password protection for shared access, which will make access to the device itself much easier. But it is advisable to do this only in the case of a closed home network. To disable password protection, follow the “Network and Sharing Center” link at the bottom of the window.

Click on the "Home or Work" heading, scroll down and select the "Turn off password protected sharing" option to disable password protection. Next, simply click “Save Changes.”

Finally, after you click on the OK button, your drive will become accessible from the network. You will see its address under the "Network Path" heading in the properties window.

The drive icon will change to indicate that it is available for access. To remove a device from access, you need to return to the advanced sharing settings menu and uncheck the box next to “Public sharing of this folder.”

Displaying drives

On your mobile computer, open Windows Explorer and click on the “Network” tab to see all the computers on your network.

Go to remote computer with a shared drive, using the second button on the device, select “Map network drive” from the menu.

You can select any free drive letter for the shared drive, which will allow you to automatically connect it every time you turn on the computer (if, of course, all the necessary conditions: you are online and the remote drive is available on it).

The connected device will appear in the My Computer window with the drive letter you selected. Now the remote network drive is available to you or your programs as a regular one.

Of course there are others third party applications, which implement this feature, but in this case, standard tools are sufficient to solve this problem.

Unfortunately, sometimes some users, when trying to perform important operations with a partition or removable media are faced with the fact that there is no access to the disk. In other words, the system displays the content, but it is impossible to change anything. In the case of removable media, the most common situation is when they are simply write-protected by mechanical or programmatically. Removing the protection can be quite simple, for example, by setting the lock switch to the disabled position or unlocking the drive by disabling encryption such as BitLocker. But what to do if there is no access to the disk or partition user computer or laptop? In this situation, several solutions can be applied, which are further proposed for consideration.

Why can't I access the disk?

Before taking any action aimed at restoring access to partitions, you should look at exactly why it might be lost. There aren't many options here. The most common are the following:

  • accidental or intentional blocking;
  • operating system restrictions due to the user not having the necessary access rights;
  • exposure to viruses;
  • lack of shared access to the resource.

How to open access to a disk in the case of a virtual partition?

First of all, let's consider situations where access restrictions are observed in relation to logical partitions, which is very often associated with rash actions of the user himself in terms of security settings or with his lack of appropriate rights to change the content. In the second case, the solution looks tritely simple: you just need to use the login account of a user who is a member of the administrators group to perform the necessary operations.

But there are also more serious problems when the user seems to be logging into the system with the appropriate registration, but still does not have access to the disk.

In this case, it is advisable to go to the properties of the disk or partition in Explorer, go to the security tab, click the Advanced button, and then look at the owner. If the default is set to "System", you must use change ownership by adding either one user, which must be a member of the administrator group, or an administrator. After this, you need to add or change the existing permissions, setting full access for the selected user or group (all items of actions to be performed should have check marks in the list). Upon completion of the actions, access to the partition will be restored.

Note: sometimes you may need to change ownership not only for the main partition (disk), but also for child objects. However, this technique for child objects cannot be applied to the system partition in which the operating system is installed, although the owner itself can be changed.

How to display the security tab in the section properties if it is missing?

Now let's look at a situation where there is no access to the hard drive, and performing the actions described in the previous option is impossible due to the fact that the security tab in the partition properties is missing as such. As is already clear, it needs to be restored.

To do this you should use the editor group policies(gpedit.msc), in the user configuration through administrative templates, go to Windows components, find the “Explorer” section, and on the right - the option to disable the security tab. Entering change options double click, this parameter must be set to off, save the changes and reboot to be sure computer system. After the restart, access can be restored as described above.

Using the Unlocker utility

Now let's see how to access the disk if it is blocked by some third-party processes. In this case the best option will be to use a small utility called Unlocker. In some Windows versions 7 (in particular, in “Maximum”) it is built-in; for other versions you will have to install it yourself. Using the program is absolutely simple. It is enough to launch the application through the RMB menu on the selected partition, and after identifying the blocking descriptor, you can use one of the action options offered by the application in the drop-down list. If we are talking about a logical drive on which system components missing, you can choose to delete.

In case of system partition It’s better to use the unlock buttons for either one or all of the processes shown in the list. It is not recommended under any circumstances to delete processes, despite the presence of such an item in the menu.

Allowing shared access to disks and partitions

Now let's see what can be done if access to the partition, including system disk, is necessary for users of other computer terminals integrated into one local network (for example, to speed up the work process in an enterprise or office). In this case, you just need to share the selected resource in the properties section.

Usually it is enough to limit yourself to setting up simple sharing, but to add certain users, give them additional rights or apply restrictions, you can go to the advanced options and set the necessary parameters there.

What to do if the disk is blocked by a virus?

Finally, the most unpleasant situation is associated with the penetration of certain types of viruses onto computers, which can block access to both system and logical partitions. In particular, the Virus.VBS.Small applet, which relates to executable scripts, is capable of this. First of all, check all non-system directories for the presence of suspicious Autorun files with EXE extensions and INF, then delete the found objects. Also pay attention to the System32 directory.

In the system registry (regedit), select the HKLM branch, go to the Winlogon section in it, and then check the Userinit key (for it, the executable file userinit.exe, located in the System32 folder with the output, should be specified as the value full path). If the setting is different, change it and reboot the system. In theory, after this you will be able to access the computer disk.

Note: in passing, pay attention to the presence of the MountPoints2 key in the HKCU branch (it can be found directly through the search). If one is found or there are several of them, delete all entries entirely, and then restart the system.

Instructions

First try changing the owner of a specific local drive. Turn on your computer and log into the operating system. To do this, use any account with administrator rights. Open Windows Explorer (My Computer menu).

Find the icon of the local drive that you cannot access. Right-click on it and select “Properties”. After launching the new settings menu, open the “Security” tab.

Click the "Advanced" button located at the bottom of the menu. Open the "Owner" item. Review your current access settings disk. Click the "Edit" button.

Now left-click the Administrators group. It must include the account for which you are granting access. Activate the “Replace owner of subcontainers and objects” option by checking the appropriate box. Click the "Apply" button.

Confirm that the local disk ownership change process will start. Restart your computer after completing the steps described. Open each folder located in the root directory of the local drive one by one. Confirm changing the access settings for the specified folders.

Try changing the owner of a non-system hard disk partition using command line. Open the Start menu. Enter in the search bar cmd command and press Enter. Naturally, these manipulations must be carried out using an administrator account.

After opening the console, enter the command takeown /f D: /r /d y. In this example, access is changed for local drive D. If you need to change permissions for another partition, enter the appropriate letter. Now enter the command icacls D: /grant:r username:F /t. Instead of the word username, write the name of your account.

Among computer users, the problem of accessing certain resources – folders, intranet files and other various objects – is quite common. In this article we will talk about one of the ways to gain access to certain objects inside local computer and to manage these objects at will.

Instructions

To access modification of certain registry keys, right-click on the registry subkey and select “Permissions.”

Under the list of groups, click the “Add” button and enter the name of your account in the window that appears. Click OK, and then in the previous window, select your account in the list and in the lower section, check all the boxes under the word “Allow.” This will give you full access to the required data.

Video on the topic

It may happen that when you try to open folder a refusal message appears, that is, access is denied. This often happens after reinstalling the program. In such cases, even administrator rights do not help. Any information can be restored. In this case, you just need to perform several sequential operations.

You will need

  • Personal Computer

Instructions

In order to get into folder and get the necessary one, open the option to view the rights settings. To do this, go to “My”. Select "Service". Open Folder Options. Then, on the “View” tab, uncheck the “Use simple sharing (recommended)” checkbox. Click "Ok". Find the one you are interested in folder, and right-click on it. In the window that opens, click “Sharing and Security...”. Select the Security tab. If a window with information appears, click OK. Go to “Security” and click “Advanced”.

If for some reason the window does not appear or does not open, then restart your computer. Press the "F2", "F3" or "F8" key. Select "Safe Mode". Then you can perform the following operations. Select the "Owner" tab, and click once to select the "Admin" account from the list. Check the “Replace owner” checkbox at the bottom and click “Ok”. A window will appear in which you agree with all the parameters. Close all windows with the “Ok” buttons. Try opening the one you're interested in again folder. Remove permissions and changes for each specific folder.

If you have lost access to a folder, use Power Data Recovery. This allows you to restore data. Download it to your computer. In order to restore the required folder, click "Recovery". If all this does not help, then use the following method. You need a LiveCD. Write it down folder, which you cannot open. Download it from . The information will become available again. Save your dad in another place and under a different name. Everything is done very simply.

Video on the topic

Open access to the tough disks, printers, files and folders on the computer to other users on the local network can be accessed by opening the network access to the named resources. You will also need to set user rights for each of them.

Instructions

Call service menu the desired disk right-click on its icon and select “Properties”.

Check the box next to "Open shared" access access and Security" and specify the network name of your drive, displayed in the "Network Neighborhood" folder, in the "Shared resource" field.

Check the "Allow modification of files over the network" checkbox to allow full access and to your disk. In this case, other users will be able to create, delete, move and rename file objects on the selected drive.

Uncheck the “Allow modification of files over the network” box to allow the selected disk to be accessed only in “read” mode.

Click OK to apply the changes you made. Disk that was allowed to access, will appear in your My Computer folder as an open-handed icon.

Select one of the drives on your computer and create a folder with any name that will be allowed to access from the local network.

Call the context menu of the created folder by right-clicking and go to “Properties”.

Go to the "Access" tab and apply the checkbox to the "Open shared" access to this folder" in the "Network sharing" section access».

Enter your chosen folder name in the Network Share field. The name can be arbitrary; the local and network names of the folder may differ.

Check the "Allow files to be modified over the network" checkbox to provide full access and to the selected folder.

Uncheck the “Allow modification of files over the network” checkbox to set the mode to read-only.

Click OK to confirm the command.

Helpful advice

Sources:

  • Windows Electronic Encyclopedia

It makes sense to open access to hard drives on a company's computer network to speed up the production process. In order to give any user the right to manage the data of any computer on the network, it is necessary to set the address of his computer in the access protocol. How to make a local disk open to local network users?

Instructions

Enter the Start button menu. Select "My Computer". Basically, you can do this by double-clicking on the “My Computer” icon, which is located in the upper left corner of your desktop. A window will open in front of you. Select the local drive you want to share access to. Right-click on it and select “Properties” from the menu that appears. A window will appear in front of you.

Select the Access tab. In it, find and select “If you want to open access to the root folder of the disk, click here.” Check the box next to “Share this folder.” You'll find it under Network Sharing and Security. Then specify the network name of the local drive, which will appear on the local network as a shared resource.

Check the box next to "Allow file network changes" to open access to local disk. After this, other network users will be able to freely manage the information stored on it.

To prevent various kinds of unpleasant moments associated with erroneous correction of information, uncheck the box next to “Allow editing files over the network” so that the information on the selected local drive is available to other users only in read mode.

Apply the changes. To do this, click OK. If you did everything correctly, the drive you selected for sharing will appear in the My Computer window as an icon with an open hand.

To open access to a specific folder, and not the disk as a whole, do everything in accordance with the instructions described above. If you want to allow access only to some users, then specify their network addresses so that only they have the right to view documents on the open local drive.

One of the most common problems after reinstalling an operating system is the lack of access to files and folders of users of the previous operating system. Users often resorted to installing additional programs to solve this problem, however it can be solved much simpler.

Instructions

Open Folder Options in Control Panel. In the view settings, select "Use simple file sharing" from the list. Uncheck it if there is one, apply the changes and click the “Ok” button. If the system prompts you to restart your computer, follow this action.

Right-click on the folder you can't get into. Select "Sharing and Security" and go to the "Security" tab. A new window will appear on your screen with a warning that you cannot change the settings of this folder, the system will offer to change the owner - agree and click the “Ok” button.

In the “Security” tab that is open and now accessible to you, click the “Advanced” button. You will have a new window with several tabs, go to the one called “Owner”. Click once on the corresponding icon in the list to activate the administrator account. Check the box below that says “Replace owner of subcontainers” and click “Ok”. If the Security tab was not found, boot the system into safe mode by pressing the F8 key when turning on the computer and selecting the desired item.

Close everything open windows one by one by clicking the “OK” button. Try opening a folder that you haven't had access to before. In the security and access properties of the folder, in the window for selecting a user or user group, click the “Advanced” button in the lower left corner and then “Search”.

Select the user you need, check the boxes according to the actions allowed to him. Apply the changes, close the windows one by one and check access to the folder you are interested in again. If you have not broken the sequence, then the directory should open without any problems.

Video on the topic

Helpful advice

Do not install two identical ones OS per one computer.

Sources:

  • how to access a folder from a user

Closing (finalizing) a data disk must be done in cases where you do not intend to write any more files to it in the future. The function of closing discs is present in almost all disc burning programs.

You will need

  • A disc burning program such as Nero or CD Burner XP.


Loading...
Top