| Previous | Next |
| ERROR_RXACT_COMMIT_NECESSARY | ERROR_GUID_SUBSTITUTION_MADE |
ERROR_MEDIA_CHECK
What ERROR_MEDIA_CHECK means
Cached assumptions about the device or volume can no longer be trusted. The caller should verify the currently inserted or presented medium before continuing with offsets, metadata, or file handles derived from the previous one.
Where it appears
- removable disks, optical media, tapes, and card readers
- virtual media mounted through management software
- devices that report unit attention or media-change notifications
Likely causes
- physical removal or replacement
- tray open/close or virtual image remount
- device reset that invalidated cached geometry or identity
Evidence to collect
- device path, serial number, and volume identifier before and after
- storage event log and device sense data
- open handles and pending operations at the change time
- whether media removal was expected by the workflow
How to respond
Cancel or complete operations tied to the old medium, refresh device and volume information, and ask the user to confirm the intended media. Retry only after identity and readiness checks succeed.
Diagnostic interpretation
For this particular status, the decisive evidence is device path, serial number, and volume identifier before and after, storage event log and device sense data. Those details separate the documented condition from unrelated failures that happen to occur nearby.
Record the numeric code together with the symbolic name ERROR_MEDIA_CHECK, the API or subsystem that produced it, and the first preceding failure. For ERROR_MEDIA_CHECK, a later cleanup occurrence may describe a consequence instead of the initiating defect.
Example
A diagnostic trace records ERROR_MEDIA_CHECK after an operation changes subsystem state. The ERROR_MEDIA_CHECK investigation should follow the first state-changing call, validate its resulting state, and classify later cleanup messages as secondary evidence.
Implementation guidance
Code handling ERROR_MEDIA_CHECK should distinguish a terminal failure from a warning, progress indication, or request to repeat after a defined state change. When handling ERROR_MEDIA_CHECK, preserve handles and output fields only where the originating API explicitly keeps them valid. The ERROR_MEDIA_CHECK path needs bounded retries and cleanup that tolerates partial initialization.
Validation after remediation
Repeat one controlled operation that previously produced ERROR_MEDIA_CHECK. For ERROR_MEDIA_CHECK, verify both disappearance of the status and completion of the specific state transition described above. Adjacent messages around ERROR_MEDIA_CHECK must also be reviewed so a fallback is not mistaken for a complete repair.
References
Looking for a different code? Search another status or error code.