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

  • السؤال

  • 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.


    • تم التحرير بواسطة scotlandrock 10/شوال/1433 08:14 م
    10/شوال/1433 08:14 م

الإجابات

  • 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

    • تم وضع علامة كإجابة بواسطة Leo HuangModerator 19/شوال/1433 09:20 ص
    13/شوال/1433 03:05 م

جميع الردود

  • 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. ”

    12/شوال/1433 07:36 ص
    المشرف
  • 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

    12/شوال/1433 06: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.

    • تم الاقتراح كإجابة بواسطة PappaT 12/رمضان/1435 11:37 م
    13/شوال/1433 01:44 م
  • btw...

    Disconnect-VirtualDisk -FriendlyName name_of_the_space

    is also not working

    13/شوال/1433 01: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

    • تم وضع علامة كإجابة بواسطة Leo HuangModerator 19/شوال/1433 09:20 ص
    13/شوال/1433 03:05 م
  • This helped me. I had the same issue.

    Thank you.

    14/شوال/1435 08:24 م
  • it worked for me as well
    08/ربيع الأول/1436 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

    20/ربيع الأول/1436 04: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.

    07/جمادى الأولى/1436 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.
    23/جمادى الأولى/1436 05: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.

    19/شعبان/1436 08:48 م
  • Try killing background processes like searchindexer, bonjour, etc.. That worked for me.
    23/ذو الحجة/1436 10:03 م
  • This helped for me! Thanks a lot!
    10/صفر/1437 04:05 م
  • Format released it for me too, thanks!
    10/ربيع الثاني/1437 10:42 م
  • Formatting did it for me as well.  Thanks for sharing!

    ldl01031

    06/رجب/1438 06:08 ص
  • Thanks! That solution fixed the same issue for me!
    04/محرم/1440 03:34 ص
  • I was able to offline the drive and delete the volume. Format didn't work on 10-1803.
    01/صفر/1440 07: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

    03/ذو الحجة/1440 09:57 ص