Quad5Ny

How to manually install Windows on a UEFI based computer whe

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