How To Install Windows 7 From A USB Drive: Srikanth 42 Comments

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

How to Install Windows 7 From a USB Drive

Submitted by Srikanth on Friday, 24 June 201142 Comments


Installing Windows from a USB flash drive has several advantages
First of all, the overall speed of the installation process will increase significantly, carrying a
USB stick is much more convenient than a DVD, and finally it becomes possible to install the
OS even on those systems that do not have a DVD drive, such as a netbook.
In this post, I will show you how to load the Windows installation on to your USB flash
drive and make it bootable just like the DVD.
Tools Required:
1. USB flash drive with a minimum capacity of 4 GB.
2. Windows 7 set-up DVD.

Step-1: Plug-in your USB flash drive and backup all the existing data in it.

Step-2: Open the command prompt. If you are using Windows 7/Vista then open it with
administrator rights*.
* Goto Start -> All Programs -> Accessories -> Right-click on Command Prompt and select
Run as Administrator.

Step 3: In the command prompt, type in the following command:
DISKPART

This will start the Microsoft DiskPart utility as shown below:

Now issue the following command:
LIST DISK

This will show you a list of available disks on your system. Disk 0 is usually the hard disk. In
my case, Disk 5 is the USB drive (this can be a different one in your case). Now issue the
command as shown below:
SELECT DISK 5













NOTE: In the above command, 5 is the USB drive number on my system. If you have a different
number on your system, then you need to replace 5 with that number.

Step-4: Now issue the following list of commands one by one as shown below:
CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=NTFS QUICK

ASSIGN

EXIT


Minimize the command prompt and proceed to the next step.

Step 5: Insert the Windows 7/Vista installation disc and note down the drive letter of your
DVD drive. In my case, it is H:. Now type the following list of commands as shown below:
H: CD BOOT
CD BOOT
BOOTSECT.EXE /NT60 M:(NOTE: M: is your USB drive letter)
EXIT








Step-6: Copy the contents of your Windows 7/Vista installation disk into the USB flash drive.
Thats it! Your USB stick is now ready to boot and install the OS for you. Dont forget to enable
the USB Boot option and change the boot priority to USB device from hard disk in your
BIOS settings.
I hope you like this post. Pass your comments to express your opinion.
Popularity: 5% [?]
for locking by batch file
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

You might also like