Lets Start


Requirements: USB flash drive of 4 GB, windows 7 DVD and Windows Vista or Windows 7, because the Diskpart utility doesn’t work in Windows XP.

Keep in mind: USB drive must be completly formated and the system you want to install the Windows 7 have the capability to boot from USB drive. You’ll need to check your specific hardware in order to be sure.

Using the DiskPart utility

The DiskPart utility is a command-line version of the Disk Management and designed to allow you to manage disks, partitions, or volumes from within scripts or directly from a command prompt.

You can now launch the DiskPart utility by typing DiskPart on the command line, but run as administrator. You’ll then see the DISKPART prompt, as shown in Figure A.


Display of Diskpart

DiskPart has its own command-line environment complete with a special prompt.

Now that you’re in the DiskPart environment, As you can see in Figure B, the List Disk command has identified my USB flash drive as Disk 5.
Display of Diskpart

Using the List Disk command displays all the disks in the system.

Once you identify the drive number of your USB flash drive, you will need to set the focus of the DiskPart environment on that disk. So I will use the command Select Disk 5, as shown in Figure C.

Select_disk command

To shift the focus over to the USB flash drive you’ll use the Select Disk command.

Now clean all your partition on USB use the Clean command shown in Figure D.

clean_command

Use the Clean command to remove all partition and volume information from the USB flash drive.

You’ll now use the Create Partition Primary command to create a primary partition on the disk. After you create the partition, you will see a success message. You’ll use the Active command to mark the partition as active, as shown in Figure E.
dispart_partition command

Using the Create Partition Primary and the Active commands, you’ll create a bootable partition on the USB flash drive.

you’re now ready to quickly format the drive and set up the FAT32 file system using the Format fs=FAT32 quick command. Once the drive is formatted, you’ll use the Assign command, as shown in Figure F, to allow the drive to be assigned a drive letter.
dispart_format command

At this point, you can use the Exit command to exit the DiskPart environment and then close the Command Prompt window.

Copying the Windows 7 files

Copying the Windows 7 files is easy. Just open Windows Explorer, access the Windows 7 DVD, select all the files and folders, and then drag and drop them on the USB flash drive icon, as shown in Figure G

copy windows files

Installing Windows 7 from the USB flash drive

Just boot the system from the USB drive and the installation procedure will begin as it normally would, as shown in Figure H. However, the installation procedure will actually run quicker off of a USB flash drive since it doesn’t contain any physically moving components.
install_windows7

CHERRSSSSS :)