Advertisement
Quad5Ny

How to manually install Windows 10 (UEFI Boot) on a Drive us

Apr 29th, 2016
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. ====================================================================================
  2. ===How to manually install Windows 10 (UEFI Boot) on a Drive using Windows 8.1/10===
  3. === by: Quad5Ny ===
  4. ====================================================================================
  5.  
  6.  
  7. Prerequisites:
  8. Windows 10 ISO & HDD/SSD you are willing to erase and install to.
  9.  
  10.  
  11. 1.)
  12. Double Click the Windows 10 ISO to mount it
  13. (Mounts the ISO as a emulated DVD drive)
  14.  
  15. 2.) Search for Command Prompt, Right click and choose "Run as Administrator""
  16. (Starts a Elevated Command Prompt Window)
  17.  
  18. 3.)
  19. diskpart
  20. (Starts diskpart)
  21.  
  22. 4.)
  23. list disk
  24. list partition
  25. (Make note of the ISO Drive letter)
  26. (List's all disks and partitions)
  27.  
  28. 5.)
  29. select disk #
  30. (# is disk you are installing on)
  31. (Selects the disk #)
  32.  
  33. 6.)
  34. clean
  35. (**THIS WILL ERASE THE ENTIRE SELECTED DISK**)
  36.  
  37. 7.)
  38. create partition efi size=260 offset=6144
  39. format fs=fat32 unit=4096 label=EFI quick
  40. assign letter=U
  41. (Creates the EFI partition)
  42.  
  43. 8.)
  44. create partition primary size=450
  45. format fs=ntfs label=Recovery quick
  46. set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
  47. gpt attributes=0x8000000000000001
  48. (Note: 14 Zeros)
  49. (This creates the small recovery partition that holds the WinRE WIM)
  50.  
  51. 9.)
  52. create partition msr size=16
  53. (This reserves a tiny amount of space for conversion to a Dynamic Disk)
  54.  
  55. 10.)
  56. create partition primary
  57. format fs=ntfs label=Windows quick
  58. assign letter=W
  59. (This creates the Windows partition in what is left of the free space)
  60.  
  61. 11.)
  62. exit
  63. (Quits diskpart)
  64.  
  65. 12.)
  66. cls
  67. (Clears the screen)
  68.  
  69. 13.)
  70. dism /get-wiminfo /wimfile:D:\sources\install.wim
  71. (Change "D:" to ISO Drive letter)
  72. (Make note of the "Index : #" for the version of Windows you want)
  73.  
  74. 14.)
  75. dism /apply-image /imageFile:D:\sources\install.wim /index:1 /applydir:W:\
  76. (Change "D:" to ISO Drive letter) (Change "index:1" to the "Index : #" from the previous step)
  77. (This applies the Windows image to W:)
  78.  
  79. 15.)
  80. bcdboot W:\Windows /s U: /f UEFI
  81. (This installs the Windows bootloader files to the EFI partition)
  82.  
  83. 16.)
  84. exit
  85. (Quits the Command Prompt)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement