Site icon EfmSoft

What does HRESULT 0x80042570 (VDS_E_PARTITION_PROTECTED) mean?

 
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

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.

Exit mobile version