How to Install Windows 7 or Vista from Bootable Portable USB Flash Memory Key or Hard Disk Drive
There are situation where a PC computer that end-user wants to install Windows 7 or Windows Vista to does not have a DVD optical drive. It’s also possible that user just doesn’t want to waste any piece of DVD media disc to install Windows 7 or Vista on another remote computer, where it’s possible to install with Windows 7 or Vista ISO without burning to DVD on local computer where ISO file is saved.
If it’s impossible or cannot install Windows 7 or Windows Vista from a DVD, it’s possible to install the operating system from a USB portable hard disk drive, or an even smaller USB flash drive or memory pen key or thumbdrive. By using USB hard disk or USB flash drive as the Windows Vista or Windows 7 installer, it provides an added advantage of easier to bring around. Beside, installing Windows 7 or Windows Vista from a USB memory key or USB external hard disk drive (which is even faster), is faster than installing from a DVD-ROM disc.
The procedures to prepare an external portable USB hard disk or USB flash key involve making the USB flash drive or hard disk bootable, and copying the Windows Vista or Windows 7 installation setup files over, which detailed in the guide below.
Prerequisites in order to have the ability to use USB flash drive or portable hard disk to install Windows 7 or Vista:
- The destination or target computer motherboard must support boot up via USB device. This support can be checked via BIOS.
- A USB flash memory key drive capacity with 4GB of free space or more. Portable external hard disk should also fulfill this requirement.
- Windows Vista ISO image or Windows 7 ISO image.
- Existing computer running Windows Vista or Windows 7.
Preparing and Formatting USB Flash Drive or Portable Hard Disk
Format the USB hard disk or flash drive in NTFS file system format with Windows Explorer built-in Format utility, and then use Disk Management (diskmgmt.msc) to mark the partition as active.
It’s also possible to use “diskpart” command-line utility with the following steps:
- Open a command prompt with administrator’s privileges.
- Run Microsoft DiskPart utility with the following command:
diskpart - Identify the number (Disk ###) of the USB device drive with the following command:
list diskTypically, if you only have one physical hard disk with no other USB drive plugged in, the USB flash or hard drive will be Disk 1.
Tip: If you have partitioned the USB hard disk or flash memory key, use
list volumeinstead to select the volume number, and see the tip of next step to deal with the partition only. - Format the USB drive with the following commands one by one. Remember to replace the # with the actual disk number shown in step above.
Important: The following steps will erase ALL data on the USB flash drive or hard disk.
select disk #
clean
create partition primary
select partition 1
active
format fs=NTFS
assign
exitNote: If there are error while creating primary partition, just add size=4000 (representing 4.0GB, replace with your USB drive actual size) to the end of the “create partition primary” command, making it
create partition primary size=xxxx.Tip: If you have partitioned the USB hard disk or flash pen drive, and do not wish to reformat the whole drive, use
select volume #instead to select the partition to make active, where the volume number is determined from tip section of above step. Then, skip the first 4 commands above, and continue fromactiveandformat fs=NTFS(can be skipped if the partition already empty). - Do not close the command prompt window yet, which may be needed in the next few steps.
Make the USB Flash Drive or External Hard Disk Bootable
There are plenty of ways to make a disk bootable, among them is using bootsect utility that comes with the Windows 7 and Windows Vista installation DVD ISO or disc.
- Insert the Windows Vista or Windows 7 DVD disc into DVD drive. If you only have a DVD ISO image, mount it in a virtual CD/DVD-ROM drive powered with a virtual drive program instead. Virtual drive works in much the same way as physical CD/DVD drive, but virtually in the operating system only and allowing various CD or DVD disc images to be mounted and accessed.
- At a elevated command prompt with administrator’s rights, change directory to the OS DVD’s boot directory with the following command:
cd x:\bootReplace x with the actual drive letter of the CD/DVD drive.

- Use bootsect command to install boot instructions and set the USB as a bootable NTFS drive:
bootsect /nt60 y:
Replace y with the actual drive letter of the USB flash drive or hard disk.
- Close the command prompt.
Tip: If you have disk image utility such as WinISO or PowerISO, it’s possible to use the software to write the complete Windows 7 and Windows Vista ISO image into the partition you selected. In this case, this and next steps of making USB drive bootable and copying contents over can be bypassed.
Copy and Transfer Windows Vista or Windows 7 Installation and Setup Files from DVD to USB Drive
Use Windows Explorer to copy all content from the Windows 7 or Windows Vista DVD or ISO t the USB flash drive or external USB hard disk. It’s possible to use other file copy tool, or simply extract the ISO contents to the USB drive. As an example, use the following xcopy command to copy the contents of DVD to USB.
xcopy x:\*.* /s /e /f y:\
Where x: is the drive letter of DVD disc or image, and y: is drive letter path of USB drive.
The USB flash key or USB hard disk based Windows 7 or Windows Vista installer is now ready. In order to start installation, just go reboot the targeted PC, and then enter and access BIOS. Change the boot priority from hard disk or DVD to USB. Then, insert the prepared USB hard disk or USB flash drive into the computer’s USB port, and start the computer to boot up.
Tip: Above trick works for both 32-bit (x86) and 64-bit (x64) Windows Vista and Windows 7. However, for user with 32-bit OS, but want to create a 64-bit Windows 7 or Vista USB based installer, it’s impossible to run 64-bit bootsect.exe from 32-bit environment. In this case, just use a 32bit Windows 7 ISO or Vista disc to use the bootsect command, before copying the content of 64bit Windows 7 or Vista DVD to USB drive.
Tip: There is now easier way to create a bootable Windows 7 installation USB drive with Windows 7 DVD/USB Download Tool.
Related posts:
- How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0
- Improve SATA (Serial-ATA) Hard Disk Drive Speed Performance in Vista
- Change Hard Disk Partition or Volume Label Name in DOS Command Prompt
- Disable Hard Disk Drive Turns Off or Hibernates/Sleeps into Power Saving Mode in Vista
- Change or Modify the Drive Letter and Paths in Windows Vista





i need install usb hardriver in my laptop windows 7, what i have to do, some one help me please, thanks.
"D:oot>bootsect /nt60 E:
volume will be updated with BOOTMGR compatible bootcode
culd not map drive partitions to the assocated volume device obects:
Access is denied
D:oot>"
You need to run cmd as a administrator by right clicking "run as administrator".
sam – I got the same access denied until I open a command prompt as Administrator (Ctrl+Shift+Enter in Run box to execute "cmd"), which elevated rights and eliminated the Access Denied message.
[...] write) the Windows 7 ISO to DVD disc media to start the installation. Some people may also opt to make or create a bootable Windows 7 USB flash drive to install Windows 7 on PC systems that support booting up from a USB drive (changing of boot order or boot sequence in [...]
I haven't tried it but it looks lkike the WinToFlash tool at http://wintoflash.com/home/en/ might also do the job as long if you have a cd or DVD as a source. I don't know if it will take iso's as a source as well but you can always use an emulator for that as described above.
Nice summary and easy to follow. Thank you!
Madhukarah
What settings do I need to make a bootable image in Ultra ISO. USB-HDD or USB-HDD+, and what is xpressboot?
i keep getting this comand when at step 3 of Make the USB Flash Drive or External Hard Disk Bootable part .
cd D:oot
D:oot>bootsect /nt60 E:
volume will be updated with BOOTMGR compatible bootcode
culd not map drive partitions to the assocated volume device obects:
Access is denied
D:oot>
WTF does that mean PLEASE HELP
cheers
[...] Yes you can. Further read : HERE [...]
"format fs=NTFS"
is a wrong command
It should be
format f: /fs:ntfs
This should work:
xcopy x:\*.* /s/e/f/r/h/x y:
Hi,
This process does not work, or the instructions are missing something important.
The Vista install process starts but fails almost immediately with missing device driver errors.
This happens just prior to the Vista installation process requesting the licence key.
Regards
Simon
This is a very big job. You can easily make a bootable USB disk using Ultra ISO software .