Requirements :- 1). Installation disk or image of vista/7
2). Any archive Manager [winrar etc]
STEP---------->
i. INSERT USB FLASH DRIVE (atleast 4gb)
ii. RUN command prompt
from----start-> All Program-> Accessories->command prompt ---Right click on command prompt and run as Administrator
3). Now type the following command in command prompt--------> DISKPART
and press Enter,You'll see following message
8).copy all file and folder from optical drive to your usb drive.
13).Copy all file and folder from 'win' to usb drive and go to step 9 & 10.
4).Type -----------> LIST DISK
NOW in command prompt your all online disks are listed as Disk 0,Disk 1 etc
note down you usb drive name from command prompt.
{Please note down your usb drive name carefully because after this process selected drive will be format.IN my case, my usb disk name is DISK 1}
5). Type the following command one after one
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS
(after this step your usb drive will start to format which take some time.)
EXIT THE COMMAND PROMPT
6). Now put your windows disk in optical drive . check your drive letters
( suppose
optical drive letter-----> 'K'
usb drive letter ---------> 'j')
{if your optical drive is not working and you have an IMAGE installation disk then go to step 11}
7). Reopen command prompt and type following command
K:
CD BOOT
BOOTSECT.EXE /NT60 J:
(where 'J' is you USB DRIVE letter)
8).copy all file and folder from optical drive to your usb drive.
9).Your usb drive is ready to boot to install windows vista/win7.
10). go to your bios setup and change boot priority as usb drive boot first.
****************************************************************************
step to install windows 7/vista from IMAGE
11).Create a folder named 'win' in any drive D and extract iso image in this folder using winrar, winzip etc.(before extracting your image file close your antivirus program)
note:- extract image in 'win' folder such that folder 'win' contains all installation file&folder like boot,source,setup.exe etc
12). Open command prompt as step 2(ii) and type following command one by one:--------->
D:
CD WIN\BOOT
BOOTSECT.EXE /NT60 J:
(where 'J' is you USB DRIVE letter)
13).Copy all file and folder from 'win' to usb drive and go to step 9 & 10.