none
Unable to delete Storage Space "Access is Denied" 0x00000005 RRS feed

  • Soru

  • Hi there,

    Storage pool with two storage spaces created using Windows 8 Release Preview and then ported into Windows 8 RTM. I'm now trying to delete one of the storages spaces and getting this access is denied error message.

    Any suggestions would be much appreciated.


    28 Ağustos 2012 Salı 20:14

Yanıtlar

  • I solved the problem for me.

    Again... No file lock on the storage pool and no application is doing anything with this virtual disk. But it's not possible to remove it from storage spaces. This has nothing to do with ownership of the drive, access rights or an access of a process. I had a clean windows setup with no programs installed. I'd say that this is a bug of windows!

    Anyway here is my solution:

    * Opened an explorer with "Computer" open.

    * Opened "computer managment" and selected the storage list.

    * I selected the storage pool which I wanted to delete but wasn't able to.

    * Right click -> format... I think I have chosen NTFS but it's not so important...

    * Warning that the drive is in use (what a nonsense) -> yes yes ok

    * waited a few seconds until the bar with the free space disappeared at the "Computer" folder for this drive (on the explorer).

    * stopped the format process. some error msgs that this couldn't be canceled and then he said he couldn't finish... (wtf ;))

    * then back to the storage spaces overview... manage storage spaces... delete storage pool... pool disappeared... finish

    hope this helps someone

    31 Ağustos 2012 Cuma 15:05

Tüm Yanıtlar

  • Take the onwership of the drives and see if it helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

    30 Ağustos 2012 Perşembe 07:36
    Moderatör
  • It is possible something is using the storage space.  Try closing apps and trying to delete the storage space again.

    If that does not work, then you can try the below PowerShell commands.  The first command makes the storage space inaccessible to all apps, forcing them to stop using the storage space, and the second command deletes the storage space.

    Disconnect-VirtualDisk -FriendlyName name_of_the_space

    Remove-VirtualDisk -FriendlyName name_of_the_space

    -Darren

    30 Ağustos 2012 Perşembe 18:17
  • same problem here...

    I'm on Win8 MSDN final.

    Can't remove a storage pool and can't add a disk.

    Have full access to the storage pool and no program is accessing the disk.

    Strange: I am able to change drive letter and drive label.

    • Yanıt Olarak Öneren PappaT 9 Temmuz 2014 Çarşamba 23:37
    31 Ağustos 2012 Cuma 13:44
  • btw...

    Disconnect-VirtualDisk -FriendlyName name_of_the_space

    is also not working

    31 Ağustos 2012 Cuma 13:55
  • I solved the problem for me.

    Again... No file lock on the storage pool and no application is doing anything with this virtual disk. But it's not possible to remove it from storage spaces. This has nothing to do with ownership of the drive, access rights or an access of a process. I had a clean windows setup with no programs installed. I'd say that this is a bug of windows!

    Anyway here is my solution:

    * Opened an explorer with "Computer" open.

    * Opened "computer managment" and selected the storage list.

    * I selected the storage pool which I wanted to delete but wasn't able to.

    * Right click -> format... I think I have chosen NTFS but it's not so important...

    * Warning that the drive is in use (what a nonsense) -> yes yes ok

    * waited a few seconds until the bar with the free space disappeared at the "Computer" folder for this drive (on the explorer).

    * stopped the format process. some error msgs that this couldn't be canceled and then he said he couldn't finish... (wtf ;))

    * then back to the storage spaces overview... manage storage spaces... delete storage pool... pool disappeared... finish

    hope this helps someone

    31 Ağustos 2012 Cuma 15:05
  • This helped me. I had the same issue.

    Thank you.

    10 Ağustos 2014 Pazar 20:24
  • it worked for me as well
    30 Aralık 2014 Salı 10:40
  • I solved the problem for me.

    Again... No file lock on the storage pool and no application is doing anything with this virtual disk. But it's not possible to remove it from storage spaces. This has nothing to do with ownership of the drive, access rights or an access of a process. I had a clean windows setup with no programs installed. I'd say that this is a bug of windows!

    Anyway here is my solution:

    * Opened an explorer with "Computer" open.
    * Opened "computer managment" and selected the storage list.
    * I selected the storage pool which I wanted to delete but wasn't able to.
    * Right click -> format... I think I have chosen NTFS but it's not so important...

    This helped me with the same "Access Denied" error.  My confidence in Storage Spaces was shaken by the inability to do this very simple task without error.

    In my case however, I did not use the Format choice, but Delete Volume instead.  Had the same effect.

    Thanks for putting me on the right path.


    //Charles Oppermann http://weblogs.asp.net/chuckop

    11 Ocak 2015 Pazar 16:53
  • I know this is a little late to the show but I ran across this error myself while trying out Storage Spaces...doing the format thing didn't work but what I did find work was the following....

    In computer managment ----- Disk management

    Select the SS drive you want to delete and make it offline.

    Then go back to storage spaces manager and you can now delete.

    26 Şubat 2015 Perşembe 03:34
  • Worked for me too - thanks! I agree this is bug. Storage spaces seem surprisingly brittle to me. And if client computer backups fills up - you're done. All you can do is abandon backups, remove computers and then join them back. Awful.
    14 Mart 2015 Cumartesi 17:57
  • This worked for me!  Definitely the easiest way to delete the Storage Space.  Thanks!

    Now I am migrating my pooled storage to StableBit DrivePool.  A much better solution over Storage Spaces.

    6 Haziran 2015 Cumartesi 20:48
  • Try killing background processes like searchindexer, bonjour, etc.. That worked for me.
    6 Ekim 2015 Salı 22:03
  • This helped for me! Thanks a lot!
    22 Kasım 2015 Pazar 16:05
  • Format released it for me too, thanks!
    20 Ocak 2016 Çarşamba 22:42
  • Formatting did it for me as well.  Thanks for sharing!

    ldl01031

    3 Nisan 2017 Pazartesi 06:08
  • Thanks! That solution fixed the same issue for me!
    14 Eylül 2018 Cuma 03:34
  • I was able to offline the drive and delete the volume. Format didn't work on 10-1803.
    10 Ekim 2018 Çarşamba 19:01
  • Thank you, this works beautifully.

    I used DBAN to completely wipe the disk, windows acted like nothing happened afterwards: same storage pool, same drive unable to remove.

    OS: win10 home x64 version 1803 build 17134.885

    4 Ağustos 2019 Pazar 09:57