Think Like a Computer
No ads, no affiliate links, no software recommendations you did not ask for.

Fix 'A required CD/DVD drive device driver is missing' During USB Install

When Windows setup says a CD/DVD driver is missing but you're installing from USB, the real cause is usually USB port or media. Learn how to fix it.

When you start Windows Setup from a USB drive and see “A required CD/DVD drive device driver is missing. If you have a driver floppy disk, CD, DVD, or USB flash drive, please insert it now.” the installer is not actually looking for an optical drive. The message is misleading: Windows Setup uses this generic error when it cannot read the installation media during the initial file-copy phase. On a machine with no optical drive at all, the error means Setup cannot access the USB stick it booted from, or cannot read the files on it. This happens most often on systems with USB 3.0 ports, when the stick is plugged into the wrong port, or when the installation media was created incorrectly. The machine has not failed; the installer has lost access to the media it needs to continue.

What the Error Really Means

Windows Setup loads a minimal environment from the USB drive, then tries to read the install.wim or install.esd file from the same drive. If the USB controller or the drive itself becomes unavailable, Setup reports the missing CD/DVD driver because that is the closest error code in its internal table. The error is a symptom of a storage access problem, not a driver problem. The installer is not asking for a driver for a CD/DVD drive; it is telling you it cannot see the media.

Causes in Order of Likelihood

CauseHow to IdentifyWhen It Does NOT Apply
USB port or controller issueError appears on a machine with USB 3.0 ports, especially if the stick is in a blue or SS-marked port.If the stick works in another port or another machine, the port is fine.
Incorrectly created installation mediaThe stick was made with a tool that did not copy all files, or the ISO was mounted and copied manually.If the stick boots and shows files but still errors, the media may be corrupt.
Corrupted download or ISOThe ISO file was incomplete or the download was interrupted.If the same ISO works on another machine, the file is good.
USB drive failureThe stick is old, has bad sectors, or is failing.If the stick works for file storage but fails during Setup, it may be a partition issue.
BIOS/UEFI settingThe USB controller is set to legacy or the boot mode is wrong.If the stick boots and starts Setup, the boot mode is correct.

Repairs, Least-Destructive First

1. Move the USB Drive to a Different Port

The most common fix is also the simplest. USB 3.0 ports (often blue or labeled with “SS”) use a different controller than USB 2.0 ports. Windows Setup’s early boot environment may lack drivers for the USB 3.0 controller, so the drive becomes inaccessible. Move the stick to a USB 2.0 port (usually black or white) and restart Setup. If the machine has only USB 3.0 ports, try a different USB 3.0 port, as some ports share a controller that may be the problem.

2. Recreate the Installation Media

If changing ports does not help, the media itself is suspect. Use the official Microsoft Media Creation Tool to create the USB drive. This tool downloads the correct files and formats the drive properly. It replaces everything on the USB drive, so back up any data on it first. The tool is available from Microsoft’s download page. After running it, try Setup again.

If you cannot use the Media Creation Tool, use the built-in diskpart to format the drive as FAT32 (or NTFS for large install.wim files) and then copy the contents of the ISO to the drive. This is not the preferred method because it can miss hidden files, but it works if done correctly. To format the drive:

diskpart
list disk
select disk X   (replace X with the USB drive number)
clean
create partition primary
format fs=fat32 quick
active
exit

Then mount the ISO (double-click it) and copy all files to the USB drive. The clean command deletes all partitions and data on the selected disk, so be certain you have the right disk number.

3. Verify the ISO File

If recreating the media does not work, the ISO itself may be corrupt. Check the SHA-1 or SHA-256 hash of the ISO against the value published by Microsoft. On Windows, use certutil:

certutil -hashfile C:\path\to\your.iso SHA256

Compare the output to the expected hash. If they do not match, download the ISO again. A mismatched hash means the file is corrupt and will never work.

4. Try a Different USB Drive

A failing USB drive can cause this error. If you have another stick, create media on it and try again. If the second drive works, the first drive is faulty. There is no reliable software fix for a failing drive; replace it.

5. Change BIOS/UEFI Settings

If the error persists, the USB controller may be disabled or set to a mode that Windows Setup cannot handle. Restart the machine and enter the firmware setup (usually by pressing Del, F2, or F12 during boot). Look for settings related to USB, such as “Legacy USB Support” or “XHCI Hand-off.” Ensure USB is enabled. If the system has both USB 2.0 and 3.0 controllers, try disabling the 3.0 controller temporarily to see if Setup proceeds. This is a diagnostic step, not a permanent fix; after installation, re-enable it.

6. Use a Different Installation Method

If no USB port or drive works, the machine may have a hardware issue with its USB controller. As a last resort before replacing hardware, try installing from a DVD if the machine has an optical drive, or from a network boot (PXE) if supported. These methods bypass USB entirely. If neither is possible, the USB controller may need to be replaced or the machine serviced.

What People Get Wrong About This Error

The natural assumption is that the error is about a missing driver for a CD/DVD drive, so people search for the driver or try to load one. That is a dead end because no such driver exists for a USB install. The mistake is understandable: the error message names a device that is not present, so it seems logical to find its driver. In reality, the message is a generic fallback for any media read failure. Another common mistake is to suspect the USB drive is dead when it actually works fine for storing files. The drive can be readable in Windows but fail during the pre-boot environment because of partition layout or file system issues. Recreating the media with the official tool fixes most of these cases.

Another error is to assume the ISO is fine because it mounts and shows files. The ISO may be complete but the USB drive was not made bootable, or the boot files were not copied. The Media Creation Tool handles this automatically; manual copying often misses the boot sector. If you manually copied files and get this error, recreate the media with the tool.

Finally, some users try to use a USB 3.0 port because it is faster, and then blame the drive when Setup fails. The pre-boot environment often lacks USB 3.0 drivers, so the drive is not seen. Moving to a USB 2.0 port is the first thing to try, not the last.

If Nothing Works

If you have tried all the above and the error persists, the USB controller on the motherboard may be failing. Test the USB drive on another machine to confirm the media is good. If the media works elsewhere, the problem is the machine’s USB hardware. In that case, the only reliable fix is to replace the USB controller (on a desktop) or use a different installation method. Reinstalling Windows will not help because the error occurs before Windows loads.

Remember: the error is not about a missing driver. It is about the installer losing access to the media. Focus on the media and the port, not on drivers.

Common questions

Why does Windows Setup say a CD/DVD driver is missing when I'm installing from USB?

The error is a generic message that appears when Setup cannot read the installation media. It is not actually about a CD/DVD driver. The most common cause is that the USB drive is plugged into a USB 3.0 port that the pre-boot environment cannot access, or the media was created incorrectly.

How do I fix the 'required CD/DVD drive device driver is missing' error?

First, move the USB drive to a different USB port, preferably a USB 2.0 port. If that does not work, recreate the installation media using the Microsoft Media Creation Tool. Also check the ISO file's hash to ensure it is not corrupted, and try a different USB drive if possible.

Can I install Windows without a CD/DVD drive if I get this error?

Yes, the error is not about a physical drive. You are already installing from USB. The fix is to make sure the USB media is accessible. Try different ports, recreate the media, or use a different USB drive. If the USB controller is faulty, you may need to use a DVD or network boot instead.

Is my USB drive broken if I see this error?

Not necessarily. The drive might work fine for storing files but fail during the pre-boot environment because of partition or file system issues. Recreating the media with the official tool often fixes it. If the drive works on another machine but not this one, the problem is likely the USB port or controller.

What if I manually copied the ISO to the USB drive and got this error?

Manual copying often misses the boot sector or hidden files, making the drive unbootable or unreadable during Setup. Use the Media Creation Tool instead, or format the drive with diskpart and copy the files again, ensuring the partition is active.

Read next