How to create a bootable USB using cmd on any Windows (xp, 7, 8, 8.1, 10) by Asad Hussain
If you want to create a bootable USB for installing operating system like win xp, win 7, win 8 , win 8.1, win 10, etc. You need a USB of at least 4 GB and the setup files of the operating system you wish to install. This process takes 1-2 minutes.
Note: The USB should be empty if their is any data in the USB it will be deleted during the process.
First Step:
Plug in the USB into the computer.Second Step:
Run cmd as administrator.You can do this by pressing windows button and then typing cmd. The result will shoe cmd file. Right click on it and select run as administrator. Windows will ask for permission press Yes.
Third Step:
Type diskpart and press enter to enter DISKPARTFourth Step:
Type list disk to list all available drives on the computer. Identify the number of USB disk. As i have only one hard drive present in my system so USB disk number will be 1.Fifth Step:
Type select disk X where X is the number of the USB disk and press enter.Sixth Step:
Type clean and press enter.Note: This deletes all the data on the USB disk.
Seventh Step:
Type create partition primary and press enter. This command creates a new primary partition on the USB disk.Eighth Step:
Type select partition 1 and press enter. This command selects the partition you just created.Ninth Step:
Type format fs=ntfs quick and press enter. This command formats the USB disk with ntfs file system. If your USB disk uses fat32 rather than as ntfs you should type the following command format fs=fat32 quick and press enter.Tenth Step:
Type active and press enter.Eleventh Step:
Type exit to exit DISKPART.After making the USB disk bootable you can copy the setup files of the operating system (win xp, win 7, win 8 , win 8.1, win 10) into your USB disk and boot it to install operating system (win xp, win 7, win 8 , win 8.1, win 10).
Comments
Post a Comment