| Previous | Next |
| VDS_E_DELETE_WITH_CRITICAL | VDS_E_CLEAN_WITH_OEM |
VDS_E_CLEAN_WITH_DATA
IVdsAdvancedDisk::Clean removes partition information and uninitializes the disk. Its bForce parameter explicitly permits cleaning a disk that contains data volumes or EFI System Partitions. This HRESULT means the caller requested clean without that force consent while such content is still present. It is a destructive-operation confirmation boundary, not a disk health error.
Why this state matters
The method also has separate bForceOEM and bFullClean parameters. Do not set all force options blindly. First inventory the disk layout and decide whether the data/ESP presence is expected. Microsoft recommends dismounting volumes before calling Clean. A full clean additionally writes zeros across sectors and has different duration and failure characteristics from the default edge cleanup.
Diagnostic focus
- Enumerate partitions and volumes and record why the disk is intended to be destroyed.
- Dismount mounted volumes before Clean and preserve the final asynchronous result.
- Set
bForceonly after explicit approval to remove data volumes or an ESP; treatbForceOEMas a separate decision. - Log
bFullCleanbecause partial metadata cleanup and full sector zeroing are materially different operations.
Technical references
IVdsAdvancedDisk::Clean · MS-VDS error codes · VDS common return codes · VDS_DISK_PROP · IVdsService::Refresh
Looking for a different code? Search another status or error code.
