Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar
- - - - -

Create Bootable Windows Vista or Windows 7 USB Flash Drive


  • Please log in to reply
No replies to this topic

#1 FreeBooter

FreeBooter

  •  Avatar image
  • Members
  • 5,056 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Turkey - Adana
  • Local time:06:26 PM

Posted 16 June 2016 - 10:32 PM

Create Bootable Windows Vista or Windows 7 USB Flash Drive


You can create bootable Windows Vista or Windows 7 on USB flash drives as long as the flash drive has the capacity to store the entire Windows O/S installation files. You need a 4 GB USB flash drive to have enough space to fit the entire Windows O/S installation file on the drive.


Warning! Please read this first.
Before you begin it is important to understand that any data on your USB flash drive used to create the boot media will be permanently deleted because the process formats the USB flash drive. Save any important documents to another location before proceeding to the next section.





Preparing the USB Flash Drive
To create a bootable USB flash drive, insert the device into a USB port, and then use the DiskPart utility to prepare the device.
The commands you need to run are as follows:
  • After the USB flash drive has been recognized and installed on the computer, click the Start Menu button, type DiskPart, and hit Enter key.
  • From the opened DiskPart Command Prompt window, type list disk and hit Enter key.
  • Locate the Disk # of your USB flash drive. You can easily find it by looking at the size column.
  • Once you have the ID, type select disk # and hit Enter key. (Replace the # hash symbol with the actual USB flash drive assigned disk ID, such as 1).
  • Type clean and hit Enter key to destroy any partitions, file system, and data that may currently be on the USB flash drive.
  • Now it is time to create the partition. Type create partition primary and hit Enter key.
  • For booting it is important to set the partition as active. Type active and hit Enter key.
  • The file system must be FAT32. Type Format FS=Fat32 Label=Winboot quick and hit Enter key. This performs a quick format and labels the drive in one step. Windows will automatically mounts and assigns a drive letter to USB flash drive.
  • Type exit to close DiskPart. Your USB flash drive is now prepared for the next phase.
5TAphMN.gif



Write a New Boot Sector to USB Flash Drive
The commands you need to run are as follows:
  • Click the Start Menu button, type Cmd.exe, right click the Cmd.exe, select "Run as administrator" from context menu.
  • Insert the DVD media into your PC or mount the Windows Setup ISO image.
  • At the elevated administrator Command Prompt change the Command Prompt directory path to the Boot folder that resides at the DVD media or mounted Windows Setup ISO image where bootsect.exe executable file lives.
  • Type Cd /d  X:\Boot, replace the ,X: drive letter with the DVD media or mounted Windows Setup ISO image drive letter.
1gvf4Vu.png
  • Write a new boot sector to the USB flash drive by entering bootsect  /nt60  X: /force, where X: is the drive letter of the USB flash drive.
C0ASMPq.png
 


Useful information!
Some USB flash drives do not support this preparation process, and you might not be able to make the device bootable in this way. The devices that do not support this process are typically set so they are recognized as removable media devices and not USB disk devices. Because of this, you might need to refer to the device manufacturers Web site for formatting documentation and tools.




Copying the Installation Files
The final step, now that you have your USB flash drive prepared, is to copy the Windows O/S setup files.
  • Insert the DVD media into your PC or mount the Windows Setup ISO image and navigate to the drive on your computer that has the Windows O/S installation files.
  • Select all the files, and then right-click and select Copy.
  • Navigate to the root of the USB flash drive, right-click and click Paste.
The file copy can take a number of minutes, but after it has finished you can install the Windows O/S quickly on machines with USB flash drive.

1rkSFhO.png
You can also copy all the Windows installation files to the USB flash drive that youve been preparing with Xcopy command. In this example, the Windows 8 ISO image is mounted with the drive letter of V and the USB flash drive has the drive letter X. Knowing this, type the following command and press Enter:
 
 
Xcopy V:\*.* X:\ /E /F /H

Edited by FreeBooter, 17 June 2016 - 12:36 AM.

Helping public with their PC problems as have been doing for years.

Please subscribe to my YouTube channel: https://www.youtube.com/c/Freebooter


BC AdBot (Login to Remove)

 





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users