Monday, February 02, 2009

Installing Windows 7 via USB or SD Media

You can install Windows 7, Windows Server 2008 or Windows Vista from USB or whatever other removable media your computer can boot from? Insert your removable media into a Windows XP or Vista PC and run the following commands from an elevated command prompt.

  1. diskpart
  2. list disk (find the disk number for the removable media)
  3. select disk #
  4. clean
  5. create partition primary
  6. select partition 1
  7. active
  8. format fs=fat32
  9. assign letter=y (or any free drive letter)
  10. exit

Once that is complete mount the ISO and run the following command.

xcopy x:\*.* /s/e/f y:\

Where “x” is the drive letter of the mounted ISO. Once complete boot off the device and install the OS. When a new Windows 7 or 2008 R2 build is released, simply delete the contents, rerun the xcopy command and you are ready to go again.

Link: http://thelazyadmin.com/blogs/thelazyadmin/archive/2009/01/08/installing-windows-7-via-usb-or-sd-media.aspx

No comments: