The Win32_CDROMDrive class has these properties.
Availability and status of the device.
Running or Full Power
The device is known to be in a power save mode, but its exact status is unknown.
The device is in a power save state but still functioning, and may exhibit degraded performance.
The device is not functioning, but could be brought to full power quickly.
The device is in a warning state, though also in a power save mode.
The device is paused.
The device is not ready.
The device is not configured.
The device is quiet.
Array of capabilities of the media access device. For example, the device may support random access (3), removable media (7), and automatic cleaning (9).
Supports Removable Media
Supports Dual-Sided Media
Array of more detailed explanations for any of the access device features indicated in the Capabilities array. Each entry of this array is related to the entry in the Capabilities array that is located at the same index.
Short description of the object—a one-line string.
Algorithm or tool used by the device to support compression. If it is not possible or not desired to describe the compression scheme (perhaps because it is not known), use the following words: "Unknown" to represent that it is not known whether the device supports compression capabilities; "Compressed" to represent that the device supports compression capabilities but either its compression scheme is not known or not disclosed; and "Not Compressed" to represent that the device does not support compression capabilities.
Windows Configuration Manager error code.
Device is working properly.
Device is not configured correctly.
The driver for this device might be corrupted, or your system may be running low on memory or other resources. (3)
Driver for this device might be corrupted, or the system may be low on memory or other resources.
This device is not working properly. One of its drivers or your registry might be corrupted. (4)
Device is not working properly. One of its drivers or the registry might be corrupted.
The driver for this device needs a resource that Windows cannot manage. (5)
Driver for the device requires a resource that Windows cannot manage.
The boot configuration for this device conflicts with other devices. (6)
Boot configuration for the device conflicts with other devices.
Driver loader for the device is missing.
This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly. (9)
Device is not working properly. The controlling firmware is incorrectly reporting the resources for the device.
Device cannot start.
Device failed.
This device cannot find enough free resources that it can use. (12)
Device cannot find enough free resources to use.
Windows cannot verify the device's resources.
This device cannot work properly until you restart your computer. (14)
Device cannot work properly until the computer is restarted.
This device is not working properly because there is probably a re-enumeration problem. (15)
Device is not working properly due to a possible re-enumeration problem.
Windows cannot identify all the resources this device uses. (16)
Windows cannot identify all of the resources that the device uses.
Device is requesting an unknown resource type.
Device drivers must be reinstalled.
Registry might be corrupted.
System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device. (21)
System failure. If changing the device driver is ineffective, see the hardware documentation. Windows is removing the device.
Device is disabled.
System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation. (23)
System failure. If changing the device driver is ineffective, see the hardware documentation.
This device is not present, is not working properly, or does not have all its drivers installed. (24)
Device is not present, not working properly, or does not have all of its drivers installed.
Windows is still setting up the device.
Windows is still setting up the device.
Device does not have valid log configuration.
Device drivers are not installed.
This device is disabled because the firmware of the device did not give it the required resources. (29)
Device is disabled. The device firmware did not provide the required resources.
This device is using an Interrupt Request (IRQ) resource that another device is using. (30)
Device is using an IRQ resource that another device is using.
This device is not working properly because Windows cannot load the drivers required for this device. (31)
Device is not working properly. Windows cannot load the required device drivers.
If True, the device is using a user-defined configuration.
Name of the first concrete class that appears in the inheritance chain used in the creation of an instance. When used with the other key properties of the class, the property allows all instances of this class and its subclasses to be identified uniquely.
Default block size, in bytes, for this device.
Description of the object.
Unique identifier for a CD-ROM drive.
Drive letter of the CD-ROM drive.
Example: "d:\"
If True, files can be accurately read from the CD device. This is achieved by reading a block of data twice and comparing the data against itself.
If True, the error reported in LastErrorCode is now cleared.
More information about the error recorded in LastErrorCode, and information about corrective actions that can be taken.
Type of error detection and correction supported by this device.
This property is obsolete. In place of this property, use FileSystemFlagsEx.
File system flags associated with the Windows CD-ROM drive. This parameter can be any combination of flags, but FS_FILE_COMPRESSION and FS_VOL_IS_COMPRESSED are mutually exclusive.
The file system supports case-sensitive file names.
The file system preserves the case of file names when it places a name on a disk.
The file system supports Unicode in file names as they appear on the disk.
The file system preserves and enforces access control lists (ACLs). For example, the NTFS file system preserves and enforces ACLs and the FAT file system does not.
The file system supports file-based compression.
The file system supports disk quotas.
The file system supports spare files.
The file system supports reparse points.
The file system supports the remote storage of files.
The file system supports file names that are longer than eight characters.
The specified disk volume is a compressed volume, for example, a DoubleSpace volume.
The specified volume is read-only.
The file system supports object identifiers.
The file system supports the Encrypted File System (EFS).
The file system supports named streams.
Example: 0
Drive letter that uniquely identifies this CD-ROM drive.
Example: "d:\"
Date and time the object is installed. This property does not need a value to indicate that the object is installed.
Last error code reported by the logical device.
Manufacturer of the Windows CD-ROM drive.
Example: "PLEXTOR"
Maximum block size, in bytes, for media accessed by this device.
Maximum length of a filename component supported by the Windows CD-ROM drive. A file name component the portion of a file name between backslashes. The value can be used to indicate that long names are supported by the specified file system. For example, for a FAT file system supporting long names, the function stores the value 255, rather than the previous 8.3 indicator. Long names can also be supported on systems that use the NTFS file system.
Example: 255
Maximum size, in kilobytes, of media supported by this device.
If True, a CD-ROM is in the drive.
Type of media that can be used or accessed by this device. Possible values are:
Random Access ("Random Access")
Supports Writing ("Supports Writing")
Removable Media ("Removable Media")
CD-ROM ("CD-ROM")
Firmware revision level that is assigned by the manufacturer.
Minimum block size, in bytes, for media accessed by this device.
Label for the object. When subclassed, the property can be overridden to be a key property.
If True, the media access device needs cleaning. Whether manual or automatic cleaning is possible is indicated in the Capabilities property.
Maximum number of media that can be supported or inserted, when the media access device supports multiple individual media.
Windows Plug and Play device identifier of the logical device.
Example: "*PNP030b"
Array of the specific power-related capabilities of a logical device.
This property is inherited from CIM_LogicalDevice.
Power-related capacities are not supported for this device.
The power management features are currently enabled but the exact feature set is unknown or the information is unavailable.
The device can change its power state based on usage or other criteria.
Timed Power-On Supported
If True, the device can be power-managed, which means that it can be put into suspend mode, and so on. The property does not indicate that power management features are currently enabled, only that the logical device is capable of power management.
Firmware revision level of the Windows CD-ROM drive.
SCSI bus number for the disk drive.
Example: 0
SCSI logical unit number (LUN) of the disk drive. The LUN is used to designate which SCSI controller is being accessed in a system with more than one controller being used. The SCSI device identifier is similar, but is the designation for multiple devices on one controller.
Example: 0
SCSI port number of the disk drive.
Example: 1
SCSI identifier number of the Windows CD-ROM drive.
Example: 0
Number supplied by the manufacturer that identifies the physical media. Example: WD-WM3493798728.
Size of the disk drive.
Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states.
Values include the following:
OK ("OK")
Error ("Error")
Degraded ("Degraded")
Unknown ("Unknown")
Pred Fail ("Pred Fail")
Starting ("Starting")
Stopping ("Stopping")
Service ("Service")
Stressed ("Stressed")
NonRecover ("NonRecover")
No Contact ("No Contact")
Lost Comm ("Lost Comm")
State of the logical device. If this property does not apply to the logical device, the value 5 (Not Applicable) should be used.
Other (1)
Unknown (2)
Enabled (3)
Disabled (4)
Not Applicable (5)
Value of the scoping computer's CreationClassName property.
Name of the scoping system.
Transfer rate of the CD-ROM drive. A value of -1 indicates that the rate cannot be determined. When this happens, the CD is not in the drive.
Volume name of the Windows CD-ROM drive.
Volume serial number of the media in the CD-ROM drive.
Example: A8C3-D032