Skip to content

Instantly share code, notes, and snippets.

@DiogoDoreto
Created March 6, 2015 13:27
Show Gist options
  • Save DiogoDoreto/d1101664963cc5ac05f3 to your computer and use it in GitHub Desktop.
Save DiogoDoreto/d1101664963cc5ac05f3 to your computer and use it in GitHub Desktop.
Bootable Windows Pendrive
Enter these commands on a privileged command prompt in exact order:
diskpart
list disk (***then look for your flash drive***)
select disk N (***where N is your flash drive's number. e.g. select disk 2**)
clean
create partition primary
select partition 1
active
format fs=fat32 quick
assign
exit
Do not close command prompt.
Assuming your Windows 7 Install Disk is on G:/ and your flash drive is H:/, type these in order (Make sure you replace the drive letters with the appropriate ones, otherwise the ghost of your PC will haunt you)
G:
cd boot
bootsect.exe /nt60 H:
xcopy G:\*.* /s/e/f H:
Then you wait. It might take a while on a file called "sources.wim" or something. It's more or less 3GB in size.
Copy link

ghost commented Nov 12, 2016

Here is the tutorial "How to bootable usb pendrive with CMD step by step easy tutorial".
in this tutorial i was show , how you can make your pendrive bootable for windows setup with easy step .
Watch it and comment blew . its easy or not . video => https://www.youtube.com/watch?v=dd69WxjlWkc

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment