Booting Windows from CD or DVD has become old fashion. These days, Bootable USB Drives are being used to install operating systems. Bootable Pendrives or USB Drives are more portable and easy to handle, while CDs or DVDs are not easy to handle, even a single scratch can ruin it. This tutorial shows how to make Bootable USB Drive Using command Prompt. This method doesn’t require any third party software. You just need command prompt utility which is already available in all versions of Windows. Let’s proceed-
What We Need-
- A PC running Windows Vista/7 or higher.
- USB Pendrive of at least 4GB capacity.
- Windows Vista/7 CD or setup files on any Local Disk Drive.
How Do We Do It-
Insert USB drive in USB port and Windows Vista/7 CD into CDROM. Note down the Drive letters of both USB Disk and CDROM. In my case USB drive has letter E: and CDROM has letter D:.
Click on Start and type cmd in search box. Right-click on cmd in search results and select Run as Administrator.
Now open the disk management utility-
Type command diskpart and press Enter. This will open Diskpart utility.
Now type following command and press Enter
note disk no. of your USB Disk(it’s 2 in my case)
Now select your USB drive by entering command-
select disk 2
Now clean your USB disk-
type clean and press Enter.
REMARK:- THIS WILL DELETE ALL DATA ON YOUR USB DRIVE. IF YOU HAVE ANY IMPORTANT DATA ON USB DRIVE, THEN COPY IT SOMEWHERE ELSE BEFORE PROCEEDING.
Select your USB disk by entering following command-
select disk 2
(replace 2 with the number your USB drive has).
Now type these commands one-by-one and press Enter every time.
create partition primary
select partition 1
Formatting can take a little time depending on the size of the drive.
After formatting is done, type assign and press Enter.
Now exit DiskPart Utility by entering exit command. DO NOT close Command Prompt.
In command prompt go to your CD-Drive.(In my case it is drive D:)-
type cd d:boot
Now type bootsect /nt60 E: and press Enter. (E: is drive letter of USB disk.)
Now the USB drive has been made bootable, close Command Prompt and copy all Windows files from CD-Drive to USB drive.
Now you can install Windows from this USB drive. For that you have to boot from Removable Media, and may need changes to BIOS setting. Go here to see. 🙂