Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to take a sneak peak at Windows 7 so I thought of installing it. I have Windows Vista on my laptop which came pre-installed with it. I didnt want to mess with it.

So I created a partition (20 GB) in my USB external hard disk and tried to install Windows 7 on that partition. But when I booted from Windows 7 DVD and selected the target partition on USB hard disk, it said it cannot be installed.

Is there any way to install windows on external USB hard disk?

share|improve this question
up vote 18 down vote accepted

You can give PWBoot a try.

PWBoot stands for Portable Windows Boot project, this project aims to be make your Windows operating system to boot from USB storage media easily.

Also look here for a more manual approach.

Quick tutorial:

Method 1: Virtual machine (OS: Windows Vista, VM: VMware Workstation)

  1. Download Vmware Workstation and install it.
  2. Create a new virtual machine for Windows, choose Custom then pick LSI Logic as SCSI card, use physical DVD-ROM or ISO image as where do you want to install Windows from.
  3. Have your USB drive plugged in. Use physical disk (Advanced) of your USB drive in VMware. Make sure that you choose the correct physical drive (drive 1 usually) or else you might wipe the current OS drive.
  4. Use entire disk.
  5. Click advanced on disk in virtual machine settings. Click on Independent and persistent changes for the disk.
  6. Now, please remove all assigned letters in disk management(diskmgmt.msc) for the USB drive.
  7. Also make sure you format the drive during Vista installation inside VMware. If it is already formatted you still need to format during Vista installation (or else u might get corrupt boot as crcdisk error).
  8. Vmware will show that drive as SCSI disk under LSI Logic controller, this is fine as Vista will install on a SCSI disk.
  9. Boot and go through the Vista install procedure in Vmware.
  10. Let Vista boot into the desktop for the first time in VMware, after that just launch PWBoot program (you need to copy it to your virtual machine first).
  11. Click the Patch button on the main PWBoot program.
  12. Shutdown Windows Vista inside the Vmware.
  13. Close Vmware.
  14. Now reboot your machine and select USB boot drive from BIOS boot. Machine should now boot to Vista desktop.

Method 2: Physical machine (OS: Windows Vista, HDD: SATA; 2.5 inch)

  1. Plug the Hard disk drive into the physical machine (SATA or IDE).
  2. Insert Windows Vista installation DVD and boot from it.
  3. Install Windows as usual, to your portable HDD.
  4. After installation finished, apply PWBoot Patch.
  5. Shutdown Windows and turn off your machine.
  6. Take out the HDD and then plug it with interface converter: SATA -> USB, IDE -> USB, etc.
  7. Now reboot your machine and select USB boot drive from BIOS boot. Machine should now boot to Vista desktop.
share|improve this answer
Your answer turned out to be the best solution Qwerty, but instead of hijacking your answer, I decided to reformat yours to be more complete ;-) – Ivo Flipse Aug 4 '09 at 6:28
Most appreciated Ivo. I will up vote one of your answers to give you some deserved rep for your efforts. ;-) – Qwerty Aug 4 '09 at 6:58

It might be a little complicated, but Windows Vista and Windows 7 (Ultimate) can boot from a VHD file, which I would assume could be stored on a removable USB hard drive as described at The only thing is you may not be able to boot from it directly.

As a general warning, one of the reasons Microsoft won't let you do this by default is that changing the hardware usually breaks Windows installations. I'm not saying this is your goal, I'm just saying it may not work if it is. You should be fine if you're keeping it on the same machine.

share|improve this answer
When Windows boots it resets all active USB connections, essentially disconnecting the USB drive, thus you need a hack like PWBoot to make this work. – Chris S Apr 18 '10 at 3:24

My method

  • install Windows 7 to virtual machine
  • create image from virtual machine system drive
  • restore image to USB drive

Some BIOS can emulating USB mass-storage behavior, if you boot from them.

  • HDD
  • FDD
  • etc.

enter image description here

share|improve this answer

After days of searching and trying different options, I came across PWBoot. It was awesome. Quick download, installed quick and was immediately able to boot Windows 7 directly over USB.

My issue was: My desktop had become unserviceable (due to a slight accident). The harddrive was fine though. I had an external kit and wanted to connect over USB to a work laptop that I had – I am running a PS2 emulator and did not want to lose my saves.

share|improve this answer

With Windows 7 SP1, there is an easier way to install Windows 7 to a USB Hard Disk or USB Flash Drive.

This was discovered by cdob at Reboot:

It boils down to two registry keys, which i think are present in Windows 8 to enable Windows To Go feature. I guess this feature was present in Windows 7, but was never activated.

reg.exe add HKLM\System\CurrentControlSet\Control /f /v BootDriverFlags /t REG_DWORD /d 0x6
reg.exe add HKLM\System\CurrentControlSet\Control\PnP /f /v PollBootPartitionTimeout /t REG_DWORD /d 15000

So in order to use these new registry settings and install Windows 7 to a USB Hard Disk or Flash Drive, you can use a Tool called WinNTSetup which I have mentioned here Is there an equivalent to Windows To Go for personal use?

This tool is easy to use and you quickly install Windows 7 your USB Hard Disk. This tool also allows to create VHD (Virtual Hard Disk) on your USB Drive and install Windows 7 to the VHD on the USB Drive.

More information in the below links:

share|improve this answer

You must log in to answer this question.

protected by nhinkle Jul 11 '13 at 7:51

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .