{"id":7837,"date":"2012-07-06T21:44:20","date_gmt":"2012-07-06T14:44:20","guid":{"rendered":"http:\/\/tom.ji42.com\/?p=7837"},"modified":"2020-11-05T08:54:44","modified_gmt":"2020-11-05T01:54:44","slug":"how-to-create-a-bootable-windows-7-usb-flash-drive","status":"publish","type":"post","link":"https:\/\/tom.tomwork.net\/?p=7837","title":{"rendered":"How to create a bootable Windows 7 USB flash drive"},"content":{"rendered":"<h3>Manual Creation<\/h3>\n<form><\/form>\n<p><!--more-->Maybe you don&#8217;t like that Microsoft violated the GPL with the first version of the above tool (the company has since GPLed the code), or you&#8217;re old-school and just love using the command prompt. Regardless of what your reasons are for creating a bootable Windows 7 USB drive manually, we have the scoop on how to do it. First, open the command prompt (if you use UAC make sure to right click it and choose &#8220;Run as administrator&#8221;), type &#8220;diskpart&#8221; without the quotes, and hit enter. You can also get here by simply typing &#8220;diskpart&#8221; without the quotes into the Start Menu and hitting enter.<\/p>\n<form><\/form>\n<p>Now type &#8220;list disk&#8221; without the quotes and hit enter. Take a look at the Size column and figure out which disk number your USB drive is. Ours is number 1, so we&#8217;re going to type &#8220;select disk 1&#8221; without the quotes and hit enter. Now we&#8217;re going to wipe it by typing &#8220;clean&#8221; without the quotes and hitting enter (make sure to do a backup of the contents if you haven&#8217;t already).<\/p>\n<form><\/form>\n<p>At this point we want to prepare the USB drive for the files and make sure it is bootable. Type &#8220;create partition primary&#8221; without the quotes and hit enter. Then type &#8220;select partition 1&#8221; without the quotes and hit enter. Next type &#8220;active&#8221; without the quotes and hit enter. Finally, type &#8220;format fs=fat32&#8221; without quotes and hit enter (if you choose to use ntfs, you&#8217;ll later have to run the &#8220;Bootsect.exe \/nt60 G:&#8221; command to put boot manager compatible files onto your USB flash drive to make it a bootable device). This one will take a while, so go grab a snack, we&#8217;ll wait. When that&#8217;s done, type &#8220;assign&#8221; without the quotes and hit enter (this will assign a new drive letter to the USB flash drive).<\/p>\n<form><\/form>\n<p>An AutoPlay window like the one above will appear. Remember the drive letter (in our case it is H:), close the window, type &#8220;exit&#8221; without the quotes and hit enter. If you are working with an .ISO image, the best way to do this last part is to mount the file with a program like\u00a0<a href=\"http:\/\/www.slysoft.com\/en\/virtual-clonedrive.html\">Virtual Clone Drive<\/a>. Alternatively, you can extract the files from the .ISO image and simply copy them to the USB drive, but since we&#8217;ve been using the command prompt up to this point, we&#8217;ll show you how to do the last step with it as well.<\/p>\n<form><\/form>\n<p>If you don&#8217;t have the command prompt open, open it with administrative privileges, type &#8220;xcopy f:*.* \/s\/e\/f hg:&#8221; without the quotes and hit enter. Note that you will likely have to replace &#8220;f:&#8221; with the drive letter for your Windows 7 DVD and &#8220;g:&#8221; with the drive letter for your USB flash drive. Don&#8217;t worry if install.wim takes a while to copy: it&#8217;s easily the biggest file on the disc.<\/p>\n<h3>Bonus: install any edition of Windows 7<\/h3>\n<form><\/form>\n<p>This is a completely optional step and you only want to do this if you want to be able to choose which edition of Windows 7 to install. In the command prompt, type &#8220;del G:sourcesei.cfg&#8221; without the quotes and hit enter (where g: is your USB flash drive).<\/p>\n<form><\/form>\n<p>This will make sure that your Windows 7 installer no longer has a specific version of Windows 7 set as the default, and you will be prompted to choose the version you want to install. Remember that while this gives you a more universal Windows 7 installer, you still need to make sure you are choosing the edition that you own, or you will not be able to activate Windows 7 with the key you have obtained.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manual Creation<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-7837","post","type-post","status-publish","format-standard","hentry","category-13"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6cOVM-22p","_links":{"self":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/7837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7837"}],"version-history":[{"count":6,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/7837\/revisions"}],"predecessor-version":[{"id":24707,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/7837\/revisions\/24707"}],"wp:attachment":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}