Categories: Uncategorized

Get cdrom dvdrom information

We can find the details like serial number, manufacturer and other details about a cdrom or dvd drive from windows command line. We can use ‘wmic cdrom‘ command for this.

We can use the below command to get the information about cdrom or dvdrom.

wmic cdrom where mediatype!='unknown' get /format:list

‘wmic cdrom‘ command considers USB devices also as cdroms. For usb drives the media type field would be unknown. The above command’s output will skip those entries as we are filtering them with the condition ‘mediatype!=unknown‘.

To get serialnumber of the cdrom/dvdrom device.

wmic cdrom where mediatype!='unknown' get description,serialnumber

example:

c:\>wmic cdrom where mediatype!='unknown' get description, serialnumber
Description   SerialNumber
CD-ROM Drive  HG97  208037

To get the cdrom or dvdrom model from command line.

wmic cdrom where mediatype!='unknown' get name,mediatype
Srini

Recent Posts

Add new user account from command line (CMD)

Adding users from command line is much easier than going through the UI. It saves…

4 years ago

Delete directory from command line [Rmdir]

Do you want to delete a directory from Windows command prompt(CMD)? This post explains how…

4 years ago

TaskKill: Kill process from command line (CMD)

We can kill a process from GUI using Task manager. If you want to do…

4 years ago

Kill Chrome from command line

Chrome is definitely the stable browser compared to other ones and it has been my…

4 years ago

Find windows OS version from command line

Windows has multiple command line utilities that can help find the version of the Windows…

4 years ago

How to check if Windows 32 or 64 bit?

There are multiple ways to check whether a Windows computer is running 32-bit OS or…

7 years ago