- Worldstart's Tech Tips And Computer Help - http://www.worldstart.com -

How to Install Windows 7 or Windows 8 from a USB Drive

Posted By chinmoy On February 9, 2012 @ 5:36 PM In File & Disk Management | Comments Disabled

The Windows Operating system is generally available in DVDs, but at times, we might want to install Windows from an ISO file on our hard disk, instead of a DVD. The only problem is that we cannot read an ISO file without starting Windows first. In this guide, we will see how to create a bootable USB disk from an ISO file of Windows 7 or Windows 8. This will allow us to install Windows, just as we do using a DVD.

Things you will need

To create a bootable USB thumb drive, you will need a thumb drive that has at least 4GB of space. You will also need the contents of your Windows ISO file extracted somewhere. You can use one of our earlier guides to extract files from an ISO [1].

Creating a bootable Windows 7 or Windows 8 disk

Step 1: To create a Windows bootable disk, put the USB drive in your computer’s USB port.

Step 2: Go to Start menu, type in cmd and right-click on cmd.exe search result as shown in the image. From the right click context menu, select the Run as Administrator option.

run-cmd-start

Step 3: Type diskpart and press enter. Diskpart is a nifty utility to manage partitions and disk drives in Windows.

cmd-diskpart

Step 4: When Diskpart starts, the command prompt will change to a DISKPART prompt.

diskpart-prompt

Now, type the list volume command. This will list out all the disk volumes on your computer.

diskpart-list volume

Step 5: From the list above, you have to select the appropriate drive by looking at the details given as a result of this command. In this screenshot, I have selected the disk with the size of 7399 MB, because I am using an 8 GB USB drive.

[It is very important that you select the right drive. This step can spoil your computer's hard-disk partitions, if done wrong.]

Issue the select volume command as shown in the screenshot below. The select volume command has to be supplied with a drive number. This is the number listed on the first column of the list volume command result, for a drive you want to use. Run the command as shown, replacing with your appropriate drive number.

diskpart-select-volume

Step 6: Now that we have selected a drive, it is time to run the clean command. This will clean the drive of all partitions and prepare it for a fresh partition structure.

diskpart-clean

Step 7: Now, we will create a primary partition, as all bootable drives should have primary partitions. Issue the command create partition primary.

diskpart-create-primary

Step 8: The heart of any bootable disk is the boot sector. For the boot sector to be written into the primary partition, it has to be active. Mark the partition as active by issuing the active command.

diskpart-active

Step 9: Now, we have to format the disk. Windows accepts only NTFS format disk partitions for a boot sector. Issue the command format fs=NTFS command. Once the format completes, close command window.

diskpart-format

Step 10: This is another critical part of all the steps.

[ I assume you have already extracted your Windows ISO file and copied its contents somewhere.]

Navigate to the boot folder of the extracted ISO. Now, shift+right click in an empty area as shown and click on Open command window here.

open-command

In that command window, issue the command bootsect.exe /nt60 with the appropriate drive letter as shown below. I have given J: because after formatting, my USB drive appeared as J drive. Use your appropriate USB drives’s letter.

bootsect-exe

Step 11: Navigate to the root folder where your ISO is extracted in Windows explorer. it should have folders like boot, efi, sources, support, upgrade and files like bootmgr, autorun.inf. Select all these files and folders, and copy them into the thumb drive.

Congratulations! You are ready with a bootable USB drive.

Follow the steps serially, without skipping any of them, or jumping back and forth. Share your experience with us.

~Chinmoy Kanjilal


Article printed from Worldstart's Tech Tips And Computer Help: http://www.worldstart.com

URL to article: http://www.worldstart.com/how-to-install-windows-7-or-windows-8-from-a-usb-drive/

URLs in this post:

[1] one of our earlier guides to extract files from an ISO: http://www.worldstart.com/virtual-clone-drive/