Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ====================================================================================
- ===How to manually install Windows 10 (UEFI Boot) on a Drive using Windows 8.1/10===
- === by: Quad5Ny ===
- ====================================================================================
- Prerequisites:
- Windows 10 ISO & HDD/SSD you are willing to erase and install to.
- 1.)
- Double Click the Windows 10 ISO to mount it
- (Mounts the ISO as a emulated DVD drive)
- 2.) Search for Command Prompt, Right click and choose "Run as Administrator""
- (Starts a Elevated Command Prompt Window)
- 3.)
- diskpart
- (Starts diskpart)
- 4.)
- list disk
- list partition
- (Make note of the ISO Drive letter)
- (List's all disks and partitions)
- 5.)
- select disk #
- (# is disk you are installing on)
- (Selects the disk #)
- 6.)
- clean
- (**THIS WILL ERASE THE ENTIRE SELECTED DISK**)
- 7.)
- create partition efi size=260 offset=6144
- format fs=fat32 unit=4096 label=EFI quick
- assign letter=U
- (Creates the EFI partition)
- 8.)
- create partition primary size=450
- format fs=ntfs label=Recovery quick
- set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
- gpt attributes=0x8000000000000001
- (Note: 14 Zeros)
- (This creates the small recovery partition that holds the WinRE WIM)
- 9.)
- create partition msr size=16
- (This reserves a tiny amount of space for conversion to a Dynamic Disk)
- 10.)
- create partition primary
- format fs=ntfs label=Windows quick
- assign letter=W
- (This creates the Windows partition in what is left of the free space)
- 11.)
- exit
- (Quits diskpart)
- 12.)
- cls
- (Clears the screen)
- 13.)
- dism /get-wiminfo /wimfile:D:\sources\install.wim
- (Change "D:" to ISO Drive letter)
- (Make note of the "Index : #" for the version of Windows you want)
- 14.)
- dism /apply-image /imageFile:D:\sources\install.wim /index:1 /applydir:W:\
- (Change "D:" to ISO Drive letter) (Change "index:1" to the "Index : #" from the previous step)
- (This applies the Windows image to W:)
- 15.)
- bcdboot W:\Windows /s U: /f UEFI
- (This installs the Windows bootloader files to the EFI partition)
- 16.)
- exit
- (Quits the Command Prompt)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement