Install Windows 10 and 7 from a usb flash drive
hello guy i am uploading this becoz i want to help those brothers who don't have dvd rom in their or damage becoz of some reason and in this blog i am going to show you a easy way to install windows 7 and windows 10 you can use this method with both windows just you have to change you dvd letter in command with your dvd letter and usb letter with you usb drive letter and by following this technique you can easily install windows
Steps
1. Insert a usb drive at least 4gb in size
it depends upon you windows size if your windows size is 8gb that you have to use usb flash drive at least 16 gb.
2. Open a command prompt as administrator
Hit
Windows Key
, type cmd
and hit Ctrl+Shift+Enter
. This will force it to open as admin.
3. Run diskpart
This will open and run the
Diskpart
command line utility, which allows you to manage disks, partitions and volumes.
it will show this on cmd;
C:\Windows\system32> diskpart
4. Run list disk
This will list all disks on your system. You’ll see the something similar to this:
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 238 GB 0 B
Disk 1 Online 465 GB 0 B
Disk 2 Online 29 GB 0 B
5. Select your flash drive by running select disk #
Find the item that corresponds with your flash drive and select the disk. In the example above, my flash drive is disk 2 so I’ll run,and also put it in mind that if for example you choosed you computer harddrive than all you data from computer will be lost and your partitions will be deleted so be care full and choose that drive which relates to your usb flash drive .
DISKPART> select disk 2
Disk 2 is now the selected disk.
6. Run clean
WARNING: This deletes all data on your drive
The clean command marks all data on the drive as deleted and therefore removes all partitions and volumes. Make sure you want to do this! If you are sure, run:
DISKPART> clean
7. Create a partition
DISKPART> create partition primary
8. Select the new partition
Since we know there is only one partition, we can just run this:
DISKPART> select partition 1
Without checking the partition number. If you’re really curious, run
list partition
to check.9. Format the partition
To format it, we’ll use the
NTFS
file system and run a quick format:DISKPART> format fs=ntfs quick
10. Set the current partition as Active
Run:
DISKPART> active
11. Exit diskpart
Run
exit
. This will exit diskpart, but leave the command window open.
guys if you have dvd room installed in your desktop or laptop than skip this step and if you dont have dvd installed that do that;
12. Mount your ISO
Use Virtual CloneDrive or similar.
Now after mounting follow bellow steps
13. Navigate to the mounted image and install a bootsector
My ISO is mounted as
G:\
, so I’ll navigate to G:\boot
and run:C:Windowssystem32> G:
G:\> cd boot
G:\boot> bootsect.exe /nt60 E:
Where
E:\
in this case is my flash drive’s letter.14. Copy the entire contents of the ISO to your flash drive
If you can't understand this command that how can we execute than simply copy your entire dvd and paste it in your usb flash drive but if you want to improve your skills and want to improve you knowledge than you can simply execute this following command;
You can either do this from Windows using
Ctrl+C
+Ctrl+V
, or from the command line using xcopy
.G:\> xcopy g:\*.* e:\ /E /H /F
/E
copies all subfolders, /H
copies all hidden files and /F
displays all source and destination file names as it’s copying.
Once that’s done, go and install Windows!
this blog is created by malik's brothers
Thanks to all for reading my article
Comments
Post a Comment