Troubleshooting windows installation error “No device drivers were found.”

Syed Hasan
4 min readMar 12, 2022

--

For this entire process, my SSD and USB drives were in GPT Partition type. In BIOS Boot Menu, I selected UEFI without CSM and Secure Boot enabled. BIOS UI may differ for different laptops. So I didn’t attach any screenshot of that.

To make the USB drive bootable to satisfy the above mentioned conditions (GPT, supporting UEFI without CSM), I used RUFUS. (Inage below)

If you had been using any Linux distribution previously and now trying to install windows with your USB stick, you may often face the following problem.

If you browse and manually select a media, you get this error “No device drivers were found. Make sure that the installation media contains the correct drivers, and then click OK.”

In this case a solution is to manually run the installar program from command prompt. To access the command prompt, you can follow the below instructions.

  1. Click on the close icon at the left top corner.

2. You will be taken to the following window. Click on Repair your computer.

3. Click on Troubleshoot. You will be taken to Advanced Options.

4. Now select Command Prompt

5. Now in command prompt, type DISKPART. Terminal will allow you run commands of DISKPART program.

6. Next, type LIST DISK command. It will show the list of all available disks. In the below screenshot Notice that, for the first time there was only one disk when I entered LIST DISK command. It is the hard disk I have in my laptop. To find my USB drive, I had to eject and then insert in the USB port again. When I ran the command LIST DISK for the 2nd time, it displayed me the SSD and my USB drive.

7. Now type the command LIST VOL and press enter. It will display us all the volumes available in our computer.

8. As we can see, our 15 GB USB drive is mounted on Volume 2, which is mounted in letter E.

9. Since we have found our Volume mound path, we can now exit the DISKPART program by entering the command exit and in the terminal, we can put the command E:\install.exe to run the installer. It wildisplay the installation window again.

10. Click on Install now button and your installation will start.

11. Activate your windows if you have any product key.

12. Accept License Agreements and click Next.

13. Select your desired installation type.

14. Now you can see the drive where you can install your windows.

15. If it says Windows can’t be installed on this drive partition, you have to delete the partition and create again.

16. Click on New to create partition

17. Create Partition according to your need and click on Apply.

It will create 2 additional partitions to support the windows installation.

18. Now, if you select your desired Partition for windows installation and click on Next, the installation process will start.

--

--

Syed Hasan

Software Engineer | Back-End Developer | Spring Developer | Cloud Enthusiast