Vous êtes sur la page 1sur 5

8/3/2014 Create Bootable USB Thumb Drive (Key) Using Diskpart with Windows 8 Media to Install Windows 8 Release

Preview or Other Operating System - IT


http://blogs.technet.com/b/danstolts/archive/2012/07/26/create-bootable-usb-thumb-drive-key-using-diskpart-with-windows-8-media-to-install-windows-8-rel 1/5
Share with friends!
Build Your Lab! Download Windows Server 2012
Dont Have a Lab? Build Your Lab in the Cloud with Windows Azure Virtual Machines
Want to Get Certified? Join our Windows Server 2012 "Early Experts" Study Group
Upcoming Events... Resources...
Live Tiles Toolbox <embed> Friends Are you Tech Savvy?
Create Bootable USB Thumb Drive (Key) Using Diskpart with Windows 8
Media to Install Windows 8 Release Preview or Other Operating System
11 Dan Stolts ITProGuru 26 Jul 2012 3:16 PM
Create USB Thumb drive key from Windows 8 ISO DVD or media to be used for install Step-
by-StepThese procedures were written using Windows 8 Release Preview but will work with prior
versions of Windows 8, Windows Server 2012, Windows 7 and Windows Vista and Windows Server
2008 or Windows Server 2008 R2. There is a video walkthrough of this process at the bottom of
this post.
If you do not have the media, you will need to download. See Windows 8 Release Preview (RP)
and Windows Server 2012 Release Candidate (RC) Available for Download
1) Put the Windows DVD in a drive (or mount the ISO) and make note of the drive letter. In my
case it is drive G:
2) Put in the USB Thumb Drive Key in the computer and make note of the drive letter and the size
of the disk. In my case it is E: and 3.8gb
81 39 203 3 15 Delicious 2 StumbleUpon
8/3/2014 Create Bootable USB Thumb Drive (Key) Using Diskpart with Windows 8 Media to Install Windows 8 Release Preview or Other Operating System - IT
http://blogs.technet.com/b/danstolts/archive/2012/07/26/create-bootable-usb-thumb-drive-key-using-diskpart-with-windows-8-media-to-install-windows-8-rel 2/5
3) You need to run an elevated command prompt. Start | type cmd | Right-click cmd (top of
menu) | Run as Administrator
4) Next you will run Diskpart to prepare the disk for the OS {question mark ? below should be
replaced with the disk number of the drive you are using}
diskpart
list disk
select disk ?
clean
create partition primary
select partition 1
active
format fs=ntfs quick label=Win8-RP-x64
exit
Leaving DiskPart...
5) Now we need to copy the boot sector. You should still be in the command prompt window
C:\Windows\system32>g:
G:\>cd boot
Run "bootsect /help" for detailed usage instructions.
G:\boot>bootsect /nt60 e:
Target volumes will be updated with BOOTMGR compatible bootcode.
Bootcode was successfully updated on all targeted volumes.
G:\boot>exit
If you get an error message similar to below you may need to close any open windows with that
drive and try again. You could also use the /force switch if you prefer.

Updated NTFS filesystem bootcode. The update may be unreliable since the
volume could not be locked during the update:
Access is denied.
(This usually happens when the drive is open when trying to transfer boot sector)
Live Tiles Toolbox <embed> Friends Are you Tech Savvy?
6) Now we just need to copy files
This post has moved to...
Create USB Thumb drive key from Windows 8 ISO
DVD or media to be used for install Step-by-
Step
xcopy g:\*.* e:\ /E /H /F
8/3/2014 Create Bootable USB Thumb Drive (Key) Using Diskpart with Windows 8 Media to Install Windows 8 Release Preview or Other Operating System - IT
http://blogs.technet.com/b/danstolts/archive/2012/07/26/create-bootable-usb-thumb-drive-key-using-diskpart-with-windows-8-media-to-install-windows-8-rel 3/5
Diskpart Command-Line Utility Syntax and Description
Video of this process:


If you're having trouble viewing the video, Click here to download it.
Live Tiles Toolbox <embed> Friends Are you Tech Savvy?
Comments
7 Feb 2013 4:50 PM khaja mehaboob khan
pls don't use the diskpart it false my pendrive was lost by this one
Jos Barba 21 Feb 2013 5:33 PM
great man
9 Jul 2013 10:04 PM True Story
True Story: don't use diskpart and then remove the "pendrive" halfway through.
8/3/2014 Create Bootable USB Thumb Drive (Key) Using Diskpart with Windows 8 Media to Install Windows 8 Release Preview or Other Operating System - IT
http://blogs.technet.com/b/danstolts/archive/2012/07/26/create-bootable-usb-thumb-drive-key-using-diskpart-with-windows-8-media-to-install-windows-8-rel 4/5
28 Jul 2013 1:57 AM James
There is absolutely nothing wrong with the diskpart instructions on this page. Sounds like you
pulled the drive in the middle of writing the partition table :P
22 Oct 2013 10:52 AM pdtust
nothing wrong with the diskpart instructions this is how to Do IT
27 Oct 2013 6:35 PM Chuck
Thanks man. Helped recollect those commands
1 Nov 2013 5:57 PM Actually?
Actually, there is something quite wrong with these instructions.
It appears that the author didn't include the instructions to assign a drive letter to the drive.
DISKPART>ASSIGN <- This assigns the next drive letter to the drive
Type "assign" after formatting so that the disk can be recognized by windows. For those of
you who have followed all of these steps and believe your usb drive to now be broken, you
can simply re-follow all of the steps above, but this time, include the "assign" command.
Diskpart will still recognize the USB drive, even though your OS may not.
10 Nov 2013 8:03 PM Kiki Musampa
U only forgot to assign partition :)
8 Dec 2013 3:32 AM tteksystems
It is true that the instructions are not only missing the drive letter assignment but not all
systems seem to react the same at all. Some drives do not allow the format of ntsf within the
diskpart procedure. I am getting every step perfectly and the error when using the format
ntsf command is "file system is not compatible". If these instructions are correct, then
somneone should be clear about what to do when these errors occur. I actually see many
other errors but there is no good resource to document all of the error messages many people
have had. I would say the best thing to do is spend the money and get a USB optical drive.
This process is not stable or consistent and only works for some of the people some of the
time.
11 Dec 2013 11:19 AM Luke
remember to
8/3/2014 Create Bootable USB Thumb Drive (Key) Using Diskpart with Windows 8 Media to Install Windows 8 Release Preview or Other Operating System - IT
http://blogs.technet.com/b/danstolts/archive/2012/07/26/create-bootable-usb-thumb-drive-key-using-diskpart-with-windows-8-media-to-install-windows-8-rel 5/5
diskpart
list disk
select disk ? (the usb letter)
clean
create partition primary
select partition 1
active
format fs=ntfs
exit
------------------------
now you need to go to
Start
type cmd
then right click on cmd and select run as admin
now do the second part
------------------------------------------------
(type in your CD drive letter or in my case i mounted the ISO file and made the computer
think it was a disk) g: (enter)
It will then show like this or not G your disk drive letter then type ( cd boot Run )
G:\>cd boot Run
G:boot\bootsect /nt60 e:(the e: is your USB letter with a : )
Then it will say successfully updated NTFS filesystem boot code
and so on.
complete
now copy the files from you install disk to the usb and update your BIOS to boot usb first
21 Dec 2013 2:28 PM Anonymous
Diskpart works perfectly. You've obviously done something wrong whilst using it. Don't deter
other people from using a functional solution just because you had a bad experience with it.

Vous aimerez peut-être aussi