Powershell Command To Override Protection When Deleting Partitions
In this article we will learn how to delete the disk partition if we got the Virtual Disk Service error:
Using the PowerShell we can perform this action if we can not do via Window Disk Management ( GUI - diskmgmt.msc )
How to Open PowerShell ?
Click Here.. how to open the powershell
Click Here.. how to open the powershell
How to Delete the Partition using PowerShell
PS C:\> diskpart
DISKPART> list disk
DISKPART> select disk 1
DISKPART> list partition
DISKPART> select partition 2
DISKPART> delete partition
For more details.. click here
"Virtual Disk Service error:
Cannot delete a protected partition without the force protected parameter set"
Solution
To resolve this issue we will delete this partitions forcefully, and use the override option below
DISKPART> delete partition override
Relate Posts
I hope this topic gave you all the information you needed. If you have any further questions or would like more detailed directions feel free to contact us using any of the following sources.We look forward to talking to you.
Informative video thank for share this post, BizTrader
ReplyDelete