トップ回答者
Unable to delete Storage Space "Access is Denied" 0x00000005

質問
-
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 2012年8月28日 20: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 2012年9月6日 9:20
すべての返信
-
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. ”
-
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
-
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 2012年9月6日 9:20
-
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
-
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.
-
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.
- 編集済み -woldMicrosoft employee 2015年6月6日 20:50