This command deletes all data from the usb flash drive. After that your usb drive pen drive will be changed into a bootable device now at the last close the command prompt on your windows pc then extract your iso file on your system and then copy that extracted file from your system and then paste it to that usb drive pen drive.
Create windows 10 installation media.
Boot usb command prompt. Insert a bootable usb flash drive into your pc or laptop. Type the command diskpart and then press enter. Type the command list disk to display.
Open start menu and type cmd to find command prompt. How to create windows 10 bootable usb for uefi boot mode. Boot your pc using some windows installation media usb dvd etc when the windows setup wizard shows up simultaneously press the shift f10 keys on your keyboard.
When the windows all in one loads to the very first blue screen hold shift f10 simultaneously and the command prompt will appear. Hit windows key type cmd and hit ctrl shift enter. This will open and run the diskpart command line utility which allows you to manage disks partitions and volumes.
Open an administrator command prompt by clicking on start typing cmd and then right clicking on command prompt and choosing run as administrator. At the command prompt type your select disk number or alphabet then click enter. Create bootable usb without any software on windows 10 using cmd insert your usb flash drive into your computer.
Type clean and the click enter. Run command prompt in administrator mode. There are two ways to do the same.
Once the command prompt window appears type diskpart and hit enter. Right click on command prompt and click run as administrator. Open disk part in cmd and clean your usb drive with this commands.
Insert a usb drive at least 4gb in size 2. Start windows 10 in command prompt with installation dvd usb step 1. With diskpart and the command prompt you can create a bootable usb with any operating system installed.
Now type create part pri to create a partition and then click enter. Open a command prompt as administrator. This will force it to open as admin.
Convert usb drive to gpt and create a new fat32 partition convert gpt create. Diskpart list disk select disk 2 disk 2 is usb drive clean open. Type diskpart and hit enter.
Search for cmd in start menu. Access windows 10 boot options menu. Insert the installation media to your windows 10 pc and boot pc from it.
Connect the usb device to the computer that is to be made bootable. This is an elevated command prompt which makes you all powerful. This keyboard shortcut opens command prompt before boot.
The shift f10 keyboard shortcut for opening command prompt on boot. At first if you don t have an installation disc you can create windows. For windows 8 8 1 10 users you may need to hold shift fn f10 simultaneously.