ERROR_NO_MEDIA_IN_DRIVE - 1112 (0x458)

No media in drive.

Updated: Feb 21, 2026

Technical Meaning

The error code ERROR_NO_MEDIA_IN_DRIVE with the numeric value 1112 and hexadecimal representation 0x458 signifies that no media is present in the specified drive. This error typically occurs when a program or system attempt to access data on a drive that does not contain any storage medium, such as a CD, DVD, or USB flash drive.

Error Details

This error code is returned by the Windows API and indicates a specific condition where media is expected but is missing. It can be encountered in various scenarios, including file system operations, device access, and data retrieval processes.

Usage Context

The ERROR_NO_MEDIA_IN_DRIVE error can occur in several contexts within the Windows operating system:

  • File System Operations: When attempting to read or write files on a drive that is not currently inserted with media.
  • Device Access: During operations that require physical media, such as CD/DVD burning or reading.
  • Data Retrieval: In scenarios where data is expected from a removable storage device but the device is not present.

Developer Interpretation

Developers should interpret this error code to indicate that the specified drive does not contain any media. This can be due to several reasons, such as the media being removed or the drive being incorrectly configured. Developers should handle this error by providing appropriate feedback to users and ensuring that operations are only attempted when media is present.

Related Errors

  • ERROR_MEDIA_CHANGED (123) - 0x7B: Indicates that the media in the drive has been changed since the last operation.
  • ERROR_NO_MEDIA_IN_DEVICE (546) - 0x22E: Similar to ERROR_NO_MEDIA_IN_DRIVE, but can be more specific depending on the device type.

FAQ

Q: What does ERROR_NO_MEDIA_IN_DRIVE mean?

A: It indicates that no media is present in the specified drive, preventing any operations that require physical media from proceeding.

Q: How should I handle this error in my application?

A: You should inform the user that the required media is missing and ensure that your application does not attempt to perform operations on a drive without media.

Summary

The ERROR_NO_MEDIA_IN_DRIVE error code, 1112 (0x458), signifies that no media is present in the specified drive. This can occur during file system operations, device access, or data retrieval processes. Developers should handle this error by providing appropriate feedback and ensuring that operations are only attempted when media is available.