VMware ESXi and vSphere Cluster Management

Add a CD/DVD Drive to a Virtual Machine in VMware Player

Learn how to add and configure virtual CD/DVD drives in VMware Player using a host optical drive or ISO image, including IDE/SCSI settings and troubleshooting.

A virtual optical drive lets a virtual machine use CD or DVD media. The media can come from a physical optical drive in the host computer or from an ISO image file stored on the host.

VMware Player users commonly use virtual CD/DVD drives to install an operating system, install software, access data discs, boot recovery media, or run installation tools. You can add more than one virtual optical drive when a virtual machine needs several media sources.

Terms to Know

  • VMware Player: Software used to run and configure virtual machines.
  • Virtual machine: A software-defined computer that runs a guest operating system.
  • Guest operating system: The operating system installed inside the virtual machine.
  • Host computer: The physical computer running VMware Player.
  • ISO image: A file containing the contents and structure of an optical disc. Mounting an ISO presents it as virtual disc media; no physical disc is required.

Choose a Media Source

A virtual CD-ROM or DVD drive can connect to either a physical host drive or an ISO image.

Source typeWhat it connects toRequired selectionTypical use
Physical host driveAn actual CD/DVD drive installed in or attached to the host computerSelect the physical-drive option, then choose a host drive or automatic detectionUsing an inserted installation disc, software disc, recovery disc, or data disc
ISO image fileA disc-image file stored on the hostSelect the ISO-image option and browse to the required .iso fileInstalling an operating system or booting recovery media without a physical disc

IDE and SCSI Virtual Interfaces

When you add a virtual optical device, VMware Player can present it to the guest through an IDE or SCSI virtual interface. IDE and SCSI are guest-facing virtual hardware choices.

The virtual interface does not have to match the physical interface in the host computer. For example, a host may contain an IDE optical drive while VMware Player exposes that drive to the guest as a SCSI virtual CD/DVD device. The host hardware type does not constrain the interface presented inside the virtual machine.

SettingAvailable choicesEffectWhen to use it
Virtual interfaceIDE or SCSIDetermines how the guest operating system sees the virtual optical deviceChoose the interface compatible with the guest and the virtual machine design; it need not match the host drive
Physical drive selectionA named host optical driveConnects the virtual device to that specific physical driveUse this when the host has multiple optical drives or automatic detection chooses the wrong one
Automatic detectionVMware Player selects an available host optical driveLets VMware Player determine which physical drive to useUse it when the host has one suitable optical drive or the exact drive does not matter
Connect at power onEnabled or disabledAutomatically connects the virtual optical device when the virtual machine startsEnable it for installation or boot media that must be available immediately at startup

Open Virtual Machine Hardware Settings

  1. Start VMware Player and select the target virtual machine.
  2. Make sure the virtual machine is powered off, or otherwise in a state that permits hardware configuration changes. Some hardware changes cannot be made while the guest is running.
  3. Open Player > Manage > Virtual Machine Settings.
Player > Manage > Virtual Machine Settings > Add > CD/DVD Drive

Add a Virtual CD/DVD Drive

  1. In Virtual Machine Settings, select Add.
  2. In the Add Hardware wizard, choose CD/DVD Drive.
  3. Select the virtual interface, such as IDE or SCSI, if the wizard asks for it.
  4. Choose a media source: a physical drive or an ISO image.
  5. Complete the wizard to create the device.

Repeat the process if the virtual machine needs additional optical devices. For example, one virtual drive can use an installation ISO while another uses a physical disc or a different image.

Configure a Physical-Drive Connection

  1. In the Add Hardware wizard or the new device's settings, select the option to use a physical drive.
  2. If VMware Player lists several host optical drives, select the specific drive containing the disc.
  3. Alternatively, select automatic detection and let VMware Player choose an appropriate host drive.
  4. Enable Connect at power on when the guest must access the disc as soon as it starts. This is especially useful when booting an installer or recovery disc.
  5. Insert the physical disc into the selected host drive, if it is not already inserted.
  6. Finish the wizard and verify that the device is connected.

Configure an ISO Connection

  1. Select the option to use an ISO image.
  2. Use the browse control to locate the ISO file on the host computer.
  3. Select the required .iso file.
  4. Before completing the wizard, confirm that the selected ISO is the intended bootable, installation, recovery, or data-disc image.
  5. Enable Connect at power on when the virtual machine must boot from the ISO or access it immediately after startup.
  6. Finish the wizard.

Finish and Verify the Device

After you finish the Add Hardware wizard, return to Virtual Machine Settings and confirm that the new CD/DVD drive appears in the hardware list. Check its selected source, virtual interface, and connection status.

Start or restart the virtual machine and check the guest operating system's device view. The guest should detect the virtual CD-ROM or DVD drive when the device is connected. Guest recognition can depend on the virtual machine being powered on and the device being connected at startup.

If the guest does not display media immediately, connect the device from its VMware Player settings, then allow the guest operating system to rescan its hardware or restart the guest.

Practical Configurations

Install an Operating System from an ISO

  1. Add a CD/DVD Drive through Virtual Machine Settings.
  2. Select an ISO containing the operating-system installation media.
  3. Enable Connect at power on.
  4. Start the virtual machine and use its boot configuration if the guest does not automatically boot from the optical device.

Use a Physical Disc

  1. Add a CD/DVD Drive.
  2. Select the physical-drive source.
  3. Choose the required host optical drive explicitly, or use automatic detection.
  4. Insert the disc and connect the device so the guest can access it.

Expose a Host IDE Drive as a Guest SCSI Device

  1. Add a virtual CD/DVD Drive and choose SCSI as its virtual interface.
  2. Configure its source as the host's physical optical drive, even if that host drive uses IDE hardware.
  3. Connect the device to make it available to the guest.

Troubleshooting

The Guest Does Not Show the Added Drive

  • Confirm that the Add Hardware wizard was completed.
  • Check that the device appears in Virtual Machine Settings.
  • Power on or restart the virtual machine after adding the device.
  • Make sure the virtual device is connected, including its Connect at power on setting when appropriate.

The Wrong Host Optical Drive Is Used

Automatic detection may select an unintended drive when several host optical drives are available. Edit the device, choose the physical-drive source, and select the required named host drive directly.

The ISO Does Not Provide the Expected Media

Review the ISO path and filename in the device settings. Replace the selected file with the correct image, and confirm that it contains the intended boot, installation, recovery, or data media.

The Virtual Machine Does Not Boot from Optical Media

  • Enable Connect at power on.
  • Verify that the ISO or physical disc is bootable.
  • Review the guest's boot order and place the virtual optical device ahead of other boot devices when necessary.

DVD Video Playback Limitation

VMware Player does not provide support for DVD movie playback that depends on video overlay capabilities. Video overlay is a graphics feature that some DVD playback applications require to display video efficiently.

DVD playback in the guest may work with a media player that does not depend on video overlay support. If a DVD movie fails to play, try a compatible player rather than assuming that the virtual optical drive is incorrectly configured.

Exam-Relevant Notes

  • An ISO image is virtual optical media, not a physical disc.
  • A virtual CD/DVD drive can use either a host physical drive or an ISO file.
  • The guest-facing IDE or SCSI choice is independent of the host optical drive's physical interface.
  • The main navigation path is Player > Manage > Virtual Machine Settings, followed by Add > CD/DVD Drive.
  • Connect at power on is important when installation or recovery media must be available during startup.
  • More than one virtual optical drive can be added to the same virtual machine.