No access to hard drive partition. What to do with the "disk access denied" error. You are not the owner of the folder

Hello again, dear readers! Today we'll talk about fixing the error " Access denied".

Many of you, probably after reinstalling Windows, encountered the fact that you forgot to copy the “My Documents” folder from the previous system, and when you tried to access it (unless, of course, you deleted it when installing the new OS) you received the message: "Access denied".


Today, we will talk about how to gain access to such a folder, which (ultimately) will help you save information that is quite valuable to you.

To begin with, it should be said that to solve this problem, you need to disable simple file sharing and become the owner of the folder, thereby gaining rights to access and change it.

Solution " Access denied" for 7 / 8 / 10

It's simple:

Done, use the daddy, as they say, to your health!

If you have an old system, then...

Solution " Access denied" for Windows XP

  1. Click the "Start" button and select "My Computer";
  2. In the "Tools" menu, select the "Folder Options" command and go to the "View" tab;
  3. In chapter " Extra options"uncheck" Use simple file sharing(recommended)" and click the "OK" button;
  4. Right-click the icon of the folder whose owner you want to change and select the "Properties" command;
  5. Open the "Security" tab and click the "OK" button if a security message appears;
  6. Click the "Advanced" button and go to the "Owner" tab;
  7. In the "Name" column, highlight your user name, the "Administrator" entry (if you were logged in using the "Administrator" account), or the "Administrators" group. To take ownership of the contents of a folder, select the " Replace owner of subcontainers and objects";
  8. Click "OK";
    You may receive the following error message (folder is the name of the folder whose owner you want to change): "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 Control rights? All permissions will be changed if you click the button "Yes "";
  9. Click the "Yes" button;
  10. Then, click "OK" and configure security settings for the folder and its contents.

Let's move on to the option for more modern operating systems.

Afterword

That's it, it's simple;)

If you have any questions, write them in the comments, because initially the article was written for Windows XP users, and then it was supplemented to meet the needs of modern users (therefore, there may be some shortcomings).

See you on our wave! ;)

You can find a dozen cases online where the user cannot access the F, C or D drive on which the Windows 10 system is installed. As a result of this error, it is impossible to boot from Windows 10 and the PC, in fact, becomes inoperative. What to do in this case, what actions to take to solve the problem?

Causes of a locked drive problem

If, when you turn on the PC, a message appears on the monitor screen stating that there is no access to drive D or Windows 10 access is denied, this indicates that the 100 MB boot partition (Reserved by the system) is damaged or missing.

Other reasons for this problem include:

  • Upgrade a PC from Windows 7 or Windows 8 to Windows 10;
  • Lack of Intel Rapid Storage Technology driver, which is necessary for the correct functioning of Intel Smart Response Technology (SRT);
  • Transferring Windows from HDD to SSD.

There are several ways to solve this problem, but you can’t do it without an installation disk.

Ways to solve the problem

If the drive on which Windows is installed, be it C or F, is locked, you should do the following:

  • We boot into the BIOS and set the boot priority from the disk. Boot from the installation media. At the initial stage, select the installation language and region. Click “Next”.
  • Next, select “System Restore”.

  • A window called “Select Actions” will appear. Select "Diagnostics".

  • In the new window, click “Advanced options”.

  • In "Advanced Options" select "Command Line".

  • Next, we enter the following commands one by one. After entering each, press “Enter”.

select disk X, where X is the drive letter on which Windows 10 is installed;

  • A list of disks should appear. It should also display a 100 MB partition. If it is not there, enter the following commands.

create partition efi size=100;

format quick fs=fat32 label="System";

assign letter="S";

  • Don't close the command line. The exit command is required to exit the diskpart utility.
  • Next, enter the following commands on the command line:

BCDBoot c:\Windows /s s: /f UEFI.

After executing this command, you need to remove the installation disk and reboot the system (do not forget to set boot priority from the hard drive in the BIOS).

Also, there is another method on how to use the command line to unlock the F or C drive on which Windows 10 is installed. To do this, we perform all the same steps to get to the command line as described above. When the console is launched, you should enter the following commands:

bootrec /fixmbr;

bootrec/fixboot;

bootrec /rebuildbcd.

These are commands to repair damaged hard drive partitions. They will also help solve the problem when the hard drive is locked.

After installing the software and rebooting the PC, the message asking “Unlock the disk...” will disappear and the system will boot normally.

no access to drive “D” access denied

  1. If after installation Windows writes (access denied), you need to format the disk
  2. Here's what helped me:

    1. Right-click on the desired drive and select Properties;
    2. The disk properties window will open. Go to the Security tab;
    3. Click the Advanced button;
    4. Go to the Owner tab;
    5. Click the Change button at the bottom;
    6. Select the Change owner to: Your user account from the list, check the Change owner of subcontainers and objects checkbox and click OK. If an additional request appears, agree. When the additional window closes, click on OK to close the permissions window.

    Next, change the disk permissions:
    7. Similar to steps 1-3, open the access permissions window for the disk;
    8. Click the Change permissions button at the bottom;
    9. Uncheck Add permissions inherited from parent objects; in the additional window that appears, click Remove. If the checkbox is not checked, proceed to the next step;
    10. If, after completing the previous step, there are still elements in the list, delete them manually using the Delete button;
    11. Now that the list is empty, click the Add button;
    12. Enter the text All in the Enter the names of the selected objects field. Click OK;
    13. In the new Permission Item for... window, check the Full Control box in the Allow column. This will automatically select all the checkboxes in the column. Click OK;
    14. Check the box Replace all child object permissions... and click OK again. If an additional request appears, agree;
    15. After applying the settings, click OK again and OK again to close the disk properties window.

  3. right-click on the screw, properties, security, additionally, owner, become the owner, then safely set your account to full access and that’s it.
  4. But what should I do if there is no security in the disk properties?
  5. My account is listed as the owner, but there is still no access, I tried to set “all”, it doesn’t set it, it says access is denied
  6. Great answer!, I did it!
  7. 1. First display the Security tab:

    Start -gt; Execute -gt; gpedit.msc -gt; User configuration -gt; Administrative Templates -gt; Windows Components -gt; Explorer -gt; Remove the “Security” tab
    2. then open the properties of the folder (or the entire disk) that you want to access.

    You need to assign your account as the owner of the files.

    3. Once you have permissions for the files, you can change the access rights to them:
    – set the value to disabled.

    Z.Y. Administrator rights are required.

    If it doesn't help (method 2):

    Recently, Virus.VBS.Small.a and others like it have been encountered frequently, after removal of which by antivirus the drives in “My Computer” stop opening. A message appears stating that the autorun.vbs file (or copy.exe, ms32dll.dll.vbs, etc.) cannot be found. To treat and eliminate these consequences, you must do the following:

    1. Launch Explorer, enable showing hidden and system files: Tools – Folder Options – uncheck “Hide protected files”
    system files” and check “Show hidden files and folders”.

    2. View the root directories of all partitions on hard drives and all available removable drives (including cameras and MP3s)
    players), as well as the WindowsSystem32 folder and delete all files there with the name autorun and any extension. Important: open the specified
    places exclusively by clicking on the left side of the Explorer window, in the directory tree, and not by double-clicking on the disk icon, because in the latter case,
    By opening an infected disk, you again infect your computer.

    3. Launch the registry editor (Start – Run – regedit.exe) and do two
    things:

    a) Reveal the key
    HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/Current Version/Winlogon and check the value of the Userinit parameter. It should contain
    C:WINDOWSsystem32userinit.exe, and nothing more.
    (If your system is installed in a different partition or folder, instead of C:WINDOWS there will be the path of your system folder).

    b) Delete the entire key
    HKEY_CURRENT_USER/Software/Microsoft/Windows/Current
    Version/Explorer/MountPoints2.

    Repeat the last step for all system users, then reboot.

  8. Thank you, now I have access)))
  9. Autorun virus. Download the utility from Doctor Web and scan

Unfortunately, USB drives are not protected from malfunctions. Sometimes a situation arises when the next time you access the flash drive, the system denies access. This means that a message appears that says the following: "Access denied". Let's look at the reasons for this problem and how to solve it.

If the message appears when accessing the flash drive "Access denied", then you need to figure out the reason, which, in turn, may be as follows:

  • restrictions on rights by the operating system;
  • software problems;
  • virus infection;
  • physical damage to the media.

Method 1: Using operating system tools

The cause of the problem may lie in restrictions on the part of the operating system. The fact is that many companies, in order to protect information, configure operating systems in their workplaces so that they prohibit the use of USB devices. To do this, the system administrator makes the appropriate settings in the registry or group policy.

If the drive works fine on your home computer, but an access denied message appears elsewhere, the reason may be due to special restrictions on the part of the operating system. Then you should contact the system administrator in the office where you work so that he can remove all restrictions.

The first thing you need to do is check access to the flash drive. This task is performed as follows:

To make changes to permissions, you must be logged in with administrator rights.

You should also check the registry settings:


To show hidden files in Windows 7, do this:

In other systems, all the above steps should help display all hidden files automatically. If such a file was present on the flash drive, it means that it was infected with a virus.

Method 2: Removing viruses

The reason for the above message may be due to a virus infection. The most common virus for USB drives is the Autorun virus, which was already mentioned above. It replaces the standard Windows service, which is responsible for connecting the media and selecting actions with it. A hidden file Autorun.inf appears on the flash drive, which blocks access. We have already talked about how to remove it. But this is far from the only virus that can be present on removable drives.

Therefore, be sure to check the flash drive for viruses with a good antivirus program - conduct a full scan of the operating system. To do this, it is better to use in-depth analysis. For example, in Avast it looks like the photo below.


The most correct option would be to use independent anti-virus software from another medium, for example Kaspersky Rescue Disk 10.

Dr.Web CureIt is also very popular. To create a boot disk or flash drive, you can use the Dr.Web LiveDisk image.

Such software starts before Windows boots and scans the system for viruses and threats.

Method 3: Data recovery and formatting

If these methods do not produce results, then you can try to format the flash drive, but the information on it will be lost. The fact is that the reason may lie in software problems.

Also, an error accessing a flash drive can appear due to failures in the operating system or improper operation of the drive - for example, it was removed during recording. In this case, the integrity of the boot file is violated. You can restore the functionality of such a flash drive using special software or contacting a service center.

It could also be due to hardware problems. To rule out this option, do this:

  1. An antivirus program installed on your computer can block the flash drive. Try disabling it for a while and checking access to the drive.
  2. If this is the problem, look at the settings of your antivirus program - perhaps they have some restrictions that apply to removable drives.
  3. Try opening the storage medium through another USB port, this will check the functionality of the connector on the computer.
  4. Try checking the functionality of the flash drive on another computer.
  5. Carefully inspect the drive for its physical condition - it may be slightly bent or the connector may be loose.
  6. In addition to external damage, the controller or memory chip may fail. In this case, you need help from the service department.

In any case, if a software failure occurs on the flash drive or the files are damaged due to a virus, you should use a file recovery tool and then format the media. The first can be done using a special utility R-Studio. It is designed to recover information in case of file failures of a flash drive.


And formatting occurs as follows:


If regular formatting of the USB drive does not help, you need to perform low-level formatting. To perform this procedure, use specialized software, such as Hard Disk Low Level Format Tool. Our instructions will also help you complete the task.

As you can see, if you establish the cause of the error and select the most appropriate course of action for your situation, then the problem is with the message "Access denied" will be resolved. If you were unable to complete any of the steps described above, write about it in the comments, we will definitely help!