| Previous | Next |
| VDS_E_PARTITION_NOT_OEM | VDS_E_PARTITION_STYLE_MISMATCH |
VDS_E_PARTITION_PROTECTED
This is a deliberate safety gate in IVdsAdvancedDisk::DeletePartition. The method has two separate force controls: bForce for ordinary in-use partitions and bForceProtected for protected partitions including OEM, ESP, and MSR. Setting the ordinary force flag does not authorize deletion of protected partition classes.
Why this state matters
Before enabling bForceProtected, identify the partition type and system role. A GPT platform-required attribute or an EFI/MSR role can be essential to boot, recovery, firmware, or disk-management behavior. The HRESULT is not a permissions failure and changing ACLs will not help. The caller must make an explicit destructive-policy decision using the correct API flag.
Diagnostic focus
- Record partition type, GPT attributes, offset, size, and disk identity before deletion.
- Confirm whether
bForceProtectedwas FALSE and distinguish it from ordinarybForce. - Assess boot, recovery, OEM, ESP, and MSR roles before authorizing protected deletion.
- Do not attempt to bypass this VDS safety gate through file permissions or volume dismount alone.
Technical references
IVdsAdvancedDisk::DeletePartition · IVdsAdvancedDisk · VDS_PARTITION_INFO_GPT · PARTITION_INFORMATION_GPT · MS-VDS error codes
Looking for a different code? Search another status or error code.
