Sunday, September 6, 2009


Install Windows Vista And Windows 7 From Pendrive | Boot Windows Installation From USB Drive

Here's a small tutorial to make pendrives or USB drives bootable and to install Windows Vista using it. This trick come in handy if you don't have a DVD/CD drive. Installing from a pendrive will make Windows Vista installation very fast.
Please Note: This trick wont work if you are using Windows XP Operating System. If you are trying this trick from windows XP, First you have to format your pendrive / USB drive to NTFS format using HP USB Disk Storage Format Tool (you can Google for it or download from this location.) Don't use quick format option. Now follow From step 16 on this tutorial.
Possible Error Message: when a write active, the system give me an message that "There is no partition selected. Please select a partition and try again". You are encountering this error due to the following reasons.
1) You are using windows XP operating system and follows this tutorial. Please note that this tutorial wont work if you are using windows xp. Please read the above note carefully.
2) You need to type select disk 2(which ever corresponds to your pendrive) instead of select volume.
Steps (Windows XP users read the above note first and move on to step 16):
  1. First you need to format the pendrive or USB drive in NTFS format.
  2. This can be done by right clicking your pendrive icon and choosing format option.
  3. Now from the start menu right click on command prompt and choose "Run as administrator".
  4. Now type the following commands.
  5. diskpart .The disk part program windows will open.
  6. Then type list disk.This will show the list of disks in your computer.
  7. Note down the disk number of your pendrive from the list eg. Disk 1.
  8. Now type CLEAN.
  9. Now type the following commands by pressing enter after each one.
  11. SELECT PARTITION 1 (Assuming your pendrive/ USB drive is 1).
  12. ACTIVE
  14. ASSIGN
  15. EXIT (Once you press enter the disk partition program will exit). Now we need to give some more commands.
  16. Now insert the Windows Vista Installation DVD and to your DVD drive. Windows XP Users move to command prompt ( Start - Run - CMD ).
  17. Here i am assuming DVD drive as G and Pendrive as I.(Change it accordingly).
  18. Now type G:CD BOOT
  19. Move to boot folder(G:\cd boot) in your windows 7 drive (G:\boot)  - Refer Screen shot below.
  20. Now type this command BOOTSECT.EXE/NT60 I: to update your USB drive with bootmgr code.
  21. Finally copy all the contents from the Windows Vista DVD to your Pendrive. Make sure you don't cause any errors.
  22. Now set the boot priority to your pendrive from bios and you can proceed with the installation as normal.
Now vista can be installed on any pc with the help of this pen drive you have just created now.

If your BIOS dont have an option to boot from pendrive or flash drive, you  still have a solution. You will have an option called "usb hdd" in the boot options. Just select it as the first boot device and there you go .You can boot from the pendrive.


About bench3 -

Haja Peer Mohamed H, Software Engineer by profession, Author, Founder and CEO of "bench3" you can connect with me on Twitter , Facebook and also onGoogle+

Subscribe to this Blog via Email :


Write comments
October 27, 2009 at 8:43 PM delete

Wow!Then we dont want to carry our DVDs and drive to install the OS. thats very fine! thanks for this information,and it will help me in many ways! and hope,it works for both windows vista and windows 7 in 32 bit and 64 bit....