Guest User

Installation guide for Win7 x64 on Acer Spin 5

a guest
Jun 21st, 2019
1,675
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. This guide explains how to install Windows 7 x64 on Acer Spin 5 laptop.
  2.  
  3. I) Preparing the Intel UHD video driver
  4.  
  5. A) Make sure you have another computer where you can use a Windows 7 installation or a virtual machine with Windows 7 x86 of x64 with .NET Framework at least version 4.0 installed (you can install latest version to be sure), remember that on a virtual machine x86 installs faster and works also faster. Also make sure you have an internet connection on this Windows 7 installation.
  6.  
  7.  
  8. B) Modify Intel HD video driver to work with Intel UHD video cards
  9.  
  10. 1) Go to "Device Manager" under the installed Windows 10 or 8/8.1 on the target machine, look under "Display adapters", double-click on your "Intel UHD" device, go to "Details" and under "Property" select "Hardware Ids" and look vor "DEV_XXXX", where "XXXX" are the specific numbers for the device you have (for "Intel UHD 620" this is "DEV_5917"). Note down these numbers.
  11.  
  12. 2) Download the Intel HD graphics driver version 21.20.16.4839 from here: https://www.station-drivers.com/index.php?option=com_remository&Itemid=352&func=startdown&id=3256&lang=en and extract the contents.
  13.  
  14. 3) Go to the extracted files, enter folder "Graphics" and delete the "igdlh.cat" catalog file.
  15.  
  16. 4) Open "igdlh64.inf" with "Notepad" and search for the following path:
  17. ;=====================================================================
  18. ; Windows 7 Install - DT Only
  19. ;=====================================================================
  20. [IntelGfx.NTamd64.6.1]
  21. ; SKL HW
  22. %iSKLULTGT1% = iSKLD_w7, PCI\VEN_8086&DEV_1906
  23. %iSKLULTGT2% = iSKLD_w7, PCI\VEN_8086&DEV_1916
  24. %iSKLULXGT2% = iSKLD_w7, PCI\VEN_8086&DEV_191E
  25. %iSKLDTGT2% = iSKLD_w7, PCI\VEN_8086&DEV_1912
  26. %iSKLULTGT2f% = iSKLD_w7, PCI\VEN_8086&DEV_1921
  27. %iSKLULTGT3e% = iSKLD_w7, PCI\VEN_8086&DEV_1926
  28. %iSKLULTGT3% = iSKLD_w7, PCI\VEN_8086&DEV_1923
  29. %iSKLULTGT328W% = iSKLD_w7, PCI\VEN_8086&DEV_1927
  30. %iSKLDTGT1% = iSKLD_w7, PCI\VEN_8086&DEV_1902
  31. %iSKLHaloGT1% = iSKLD_w7, PCI\VEN_8086&DEV_190B
  32. %iSKLHaloGT4% = iSKLD_w7, PCI\VEN_8086&DEV_193B
  33. %iSKLHaloGT3fe% = iSKLD_w7, PCI\VEN_8086&DEV_192B
  34. %iSKLHaloGT2% = iSKLD_w7, PCI\VEN_8086&DEV_191B
  35. %iSKLSRVGT3e% = iSKLD_w7, PCI\VEN_8086&DEV_192D
  36. %iSKLSRVGT4% = iSKLD_w7, PCI\VEN_8086&DEV_193A
  37. %iSKLWSGT2% = iSKLD_w7, PCI\VEN_8086&DEV_191D
  38. %iSKLWSGT4% = iSKLD_w7, PCI\VEN_8086&DEV_193D
  39.  
  40. Add one more line by pressing enter at the end of this line "%iSKLWSGT4% = iSKLD_w7, PCI\VEN_8086&DEV_193D" and paste this (Note: this is for Intel UHD 620 graphic card which has "DEV_5917", if you have another video card, just use the "DEV_XXXX" that corresponds to you card, which you noted down earlier):
  41. %iKBLULTGT2R% = iSKLD_w7, PCI\VEN_8086&DEV_5917
  42.  
  43. The section should look like this:
  44. ;=====================================================================
  45. ; Windows 7 Install - DT Only
  46. ;=====================================================================
  47. [IntelGfx.NTamd64.6.1]
  48. ; SKL HW
  49. %iSKLULTGT1% = iSKLD_w7, PCI\VEN_8086&DEV_1906
  50. %iSKLULTGT2% = iSKLD_w7, PCI\VEN_8086&DEV_1916
  51. %iSKLULXGT2% = iSKLD_w7, PCI\VEN_8086&DEV_191E
  52. %iSKLDTGT2% = iSKLD_w7, PCI\VEN_8086&DEV_1912
  53. %iSKLULTGT2f% = iSKLD_w7, PCI\VEN_8086&DEV_1921
  54. %iSKLULTGT3e% = iSKLD_w7, PCI\VEN_8086&DEV_1926
  55. %iSKLULTGT3% = iSKLD_w7, PCI\VEN_8086&DEV_1923
  56. %iSKLULTGT328W% = iSKLD_w7, PCI\VEN_8086&DEV_1927
  57. %iSKLDTGT1% = iSKLD_w7, PCI\VEN_8086&DEV_1902
  58. %iSKLHaloGT1% = iSKLD_w7, PCI\VEN_8086&DEV_190B
  59. %iSKLHaloGT4% = iSKLD_w7, PCI\VEN_8086&DEV_193B
  60. %iSKLHaloGT3fe% = iSKLD_w7, PCI\VEN_8086&DEV_192B
  61. %iSKLHaloGT2% = iSKLD_w7, PCI\VEN_8086&DEV_191B
  62. %iSKLSRVGT3e% = iSKLD_w7, PCI\VEN_8086&DEV_192D
  63. %iSKLSRVGT4% = iSKLD_w7, PCI\VEN_8086&DEV_193A
  64. %iSKLWSGT2% = iSKLD_w7, PCI\VEN_8086&DEV_191D
  65. %iSKLWSGT4% = iSKLD_w7, PCI\VEN_8086&DEV_193D
  66. %iKBLULTGT2R% = iSKLD_w7, PCI\VEN_8086&DEV_5917
  67.  
  68. 6) Then search for the following path:
  69. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, DeviceID, %REG_DWORD%, 0x5916
  70. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, VendorID, %REG_DWORD%, 0x8086
  71. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, APIVersion, %REG_DWORD%, 0x108
  72. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, Merit,%REG_DWORD%, 0x08000015
  73. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw32.dll"
  74.  
  75. and add this afterwards (Note: this is for Intel UHD 620 graphic card which has "iKBL_5917" and "0x5917", if you have another video card, just use the "iKBL_XXXX" and "0xXXXX" that corresponds to you card, where "XXXX" are the numbers from the "DEV_XXXX" which you noted down earlier):
  76. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, DeviceID, %REG_DWORD%, 0x5917
  77. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, VendorID, %REG_DWORD%, 0x8086
  78. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, APIVersion, %REG_DWORD%, 0x108
  79. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, Merit,%REG_DWORD%, 0x08000015
  80. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw32.dll"
  81.  
  82. The section should look like this:
  83. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, DeviceID, %REG_DWORD%, 0x5916
  84. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, VendorID, %REG_DWORD%, 0x8086
  85. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, APIVersion, %REG_DWORD%, 0x108
  86. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, Merit,%REG_DWORD%, 0x08000015
  87. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5916, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw32.dll"
  88.  
  89. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, DeviceID, %REG_DWORD%, 0x5917
  90. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, VendorID, %REG_DWORD%, 0x8086
  91. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, APIVersion, %REG_DWORD%, 0x108
  92. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, Merit,%REG_DWORD%, 0x08000015
  93. HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw32.dll"
  94.  
  95. 7) Then search for the following path:
  96. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, DeviceID, %REG_DWORD%, 0x5916
  97. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, VendorID, %REG_DWORD%, 0x8086
  98. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, APIVersion, %REG_DWORD%, 0x108
  99. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, Merit,%REG_DWORD%, 0x08000015
  100. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw64.dll"
  101.  
  102. and add this afterwards (Note: this is for Intel UHD 620 graphic card which has "iKBL_5917" and "0x5917", if you have another video card, just use the "iKBL_XXXX" and "0xXXXX" that corresponds to you card, where "XXXX" are the numbers from the "DEV_XXXX" which you noted down earlier):
  103. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, DeviceID, %REG_DWORD%, 0x5917
  104. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, VendorID, %REG_DWORD%, 0x8086
  105. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, APIVersion, %REG_DWORD%, 0x108
  106. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, Merit,%REG_DWORD%, 0x08000015
  107. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw64.dll"
  108.  
  109. The section should look like this:
  110. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, DeviceID, %REG_DWORD%, 0x5916
  111. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, VendorID, %REG_DWORD%, 0x8086
  112. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, APIVersion, %REG_DWORD%, 0x108
  113. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, Merit,%REG_DWORD%, 0x08000015
  114. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5916, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw64.dll"
  115.  
  116. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, DeviceID, %REG_DWORD%, 0x5917
  117. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, VendorID, %REG_DWORD%, 0x8086
  118. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, APIVersion, %REG_DWORD%, 0x108
  119. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, Merit,%REG_DWORD%, 0x08000015
  120. HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw64.dll"
  121.  
  122. 8) Then search for the following path:
  123. ; KBL
  124. iKBLULTGT1 = "Intel(R) HD Graphics 610"
  125. iKBLULTGT2 = "Intel(R) HD Graphics 620"
  126. iKBLULTGT2F = "Intel(R) HD Graphics 620"
  127.  
  128. and add this afterwards (Note: this is for Intel UHD 620 graphic card which has "Intel(R) UHD Graphics 620" as a name, if you have another video card, just use the name you have in "Device manager", where you looked earlier):
  129. iKBLULTGT2R = "Intel(R) UHD Graphics 620"
  130.  
  131. The section should look like this:
  132. ; KBL
  133. iKBLULTGT1 = "Intel(R) HD Graphics 610"
  134. iKBLULTGT2 = "Intel(R) HD Graphics 620"
  135. iKBLULTGT2F = "Intel(R) HD Graphics 620"
  136. iKBLULTGT2R = "Intel(R) UHD Graphics 620"
  137.  
  138. 9) Save the changes to "igdlh64.inf" file.
  139.  
  140. 10) Download "HxD Hex Editor" from here https://mh-nexus.de/downloads/HxDen.zip , extract the archive and run the program.
  141.  
  142. 11) Open "igdumdim32.dll", go to "Search" -> "Replace", add this "83 F8 13 75 43 F7 42 04 00 00 00 02 74 3A" without the quotes to the "Search for" field and "83 F8 13 75 43 F7 42 04 00 00 00 02 90 90" without the quotes to the "Replace with" field, select "Datatype" as "Hex-values", select "Search direction" as "All" and click "Replace all", then save the changes.
  143.  
  144. 12) Open "igdumdim64.dll" go to "Search" -> "Replace", add this "01 76 17 83 F9 13 75 44 F7 42 04 00 00 00 02 74 3B" without the quotes to the "Search for" field and "01 76 17 83 F9 13 75 44 F7 42 04 00 00 00 02 90 90" without the quotes to the "Replace with" field, select "Datatype" as "Hex-values", select "Search direction" as "All" and click "Replace all", then save the changes.
  145.  
  146.  
  147. C) Sign the modified Intel UHD video driver:
  148.  
  149. 1) Download Windows Driver Kit Version 7.1.0 from here: https://download.microsoft.com/download/4/A/2/4A25C7D5-EFBE-4182-B6A9-AE6850409A78/GRMWDK_EN_7600_1.ISO (works for both x86 and x64 version of Windows 7) and install it.
  150.  
  151. 2) Download Microsoft Windows SDK from here: https://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDK_EN_DVD.iso (x86) or https://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDKX_EN_DVD.iso (x64) and install it.
  152.  
  153. 3) Create a folder named "DriverCert" in the "C:\" drive of your computer with running Windows 7. Inside that folder, create a folder named "Intel". You would obtain the following path "C:\DriverCert\Intel".
  154.  
  155. 4) Copy the "Graphics" folder from the Intel UHD modified driver you modified earlier to the following path "C:\DriverCert\Intel", so that you obtain the following path "C:\DriverCert\Intel\Graphics".
  156.  
  157.  
  158. 5) Create a certificate using the following commands entered line by line in an elevated (Run as administrator) "Command prompt" window, when asked input "12345" (twice) as password:
  159.  
  160. a) for Windows 7 x86:
  161. cd C:\Program Files\Microsoft SDKs\Windows\v7.1\bin
  162. makecert -r -sv C:\DriverCert\myDrivers.pvk -n CN="Intel" C:\DriverCert\myDrivers.cer
  163. cert2spc C:\DriverCert\myDrivers.cer C:\DriverCert\myDrivers.spc
  164. pvk2pfx -pvk C:\DriverCert\myDrivers.pvk -pi 12345 -spc C:\DriverCert\myDrivers.spc -pfx C:\DriverCert\myDrivers.pfx -po 12345
  165.  
  166. b) for Windows 7 x64:
  167. cd C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1\bin
  168. makecert -r -sv C:\DriverCert\myDrivers.pvk -n CN="Intel" C:\DriverCert\myDrivers.cer
  169. cert2spc C:\DriverCert\myDrivers.cer C:\DriverCert\myDrivers.spc
  170. pvk2pfx -pvk C:\DriverCert\myDrivers.pvk -pi 12345 -spc C:\DriverCert\myDrivers.spc -pfx C:\DriverCert\myDrivers.pfx -po 12345
  171.  
  172.  
  173. 6) Create a catalog file for the Intel UHD modified driver, using the following commands entered line by line in an elevated (Run as administrator) "Command prompt" window:
  174. cd C:\WinDDK\7600.16385.1\bin\selfsign
  175. inf2cat.exe /driver:"C:\DriverCert\Intel\Graphics" /os:7_X64 /verbose
  176.  
  177.  
  178. 7) Sign the Intel UHD modified driver using the earlier created certificate, using the following commands entered line by line in an elevated (Run as administrator) "Command prompt" window:
  179.  
  180. a) for Windows 7 x86:
  181. cd C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin
  182. signtool sign /f C:\DriverCert\myDrivers.pfx /p 12345 /t http://timestamp.verisign.com/scripts/timstamp.dll /v C:\DriverCert\Intel\Graphics\igdlh.cat
  183.  
  184. b) for Windows 7 x64:
  185. cd C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1\Bin
  186. signtool sign /f C:\DriverCert\myDrivers.pfx /p 12345 /t http://timestamp.verisign.com/scripts/timstamp.dll /v C:\DriverCert\Intel\Graphics\igdlh.cat
  187.  
  188.  
  189. 8) Copy the "Intel" folder containing the signed Intel UHD modified driver from "C:\DriverCert" on a second USB stick/external HDD/secondary HDD on the target computer.
  190.  
  191.  
  192. D) Add the earlier created certificate on the Windows 7 installation so you can extract it afterwards from the registry.
  193.  
  194. 1) In Start Menu, search for "mmc.exe", run it, go to "File" -> "Add/remove snap-ins", on the left column select "Certificates", then click "Add >", select "Computer account" and click "Next >", leave "Local computer" as selected, click "Next >", then "OK".
  195.  
  196. 2) Then go to "Console Root" -> "Certificates (Local computer)", then right-click on "Trusted Publishers" and go to "All tasks" -> "Import". Then when you have to choose the certificate path, just browse to "C:\DriverCert" and choose "myDrivers.cer" file, then leave the selected "Place all certificates in the following store - Trusted Publishers" then choose "Finish".
  197.  
  198. 3) Then go to "Console Root" -> "Certificates (Local computer)" -> "Trusted Publishers", you should see there on the right column your certificate named "Intel". Double-click on it and go to "Details", then look for "Thumbprint" and leave that open.\
  199.  
  200.  
  201. E) Extract the certificate from registry and create the necessary files for the installation.
  202.  
  203. 1) In Start Menu, search for "regedit.exe", run it, then go to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\TrustedPublisher\Certificates" and there you should find a key (looks like a folder on the left column) which has the exact numbers and letters as the thumbprint from earlier.
  204.  
  205. 2) Now right-click that key (folder) and choose export, save the .reg file as "Cert1.reg".
  206.  
  207. 3) Edit the "Cert1.reg" file and replace the following path "HKEY_LOCAL_MACHINE\SOFTWARE" with "HKEY_LOCAL_MACHINE\loaded_SOFTWARE" and save it. Make a duplicate (copy) of this "Cert1.reg" file and name it "Cert2.reg". Edit "Cert2.reg" file and replace the following path "SystemCertificates\TrustedPublisher" with "SystemCertificates\ROOT" and save the file
  208.  
  209. 4) Copy these "Cert1.reg" and "Cert2.reg" files on a second USB stick/external HDD/secondary HDD on the target computer.
  210.  
  211.  
  212.  
  213. II) Preparing the Windows 7 installation files on a second USB stick/external HDD/secondary HDD on the target computer
  214.  
  215. A) Verify that you have copied the earlier modified and signed Intel UHD driver and the 2 registry files of the certificate to the second USB stick/external HDD/secondary HDD on the target computer. If you didn't, do that now.
  216.  
  217.  
  218. B) Extract the Windows 7 x64 "install.wim" from any Windows 7 x64 ISO of your choice.
  219.  
  220. 1) Use any ISO file viewer and open any Windows 7 x64 ISO of your choice.
  221.  
  222. 2) Extract "install.wim" from the "sources" folder within the ISO file to the second USB stick/external HDD/secondary HDD on the target computer.
  223.  
  224.  
  225. C) Download "Unlocker" application from here: https://softpedia-secure-download.com/dl/44d2cbc8123e8f7e9f72af262f84c058/5cd5d787/100068439/software/tweak/Unlocker%201.9.2.msi and copy it to the second USB stick/external HDD/secondary HDD on the target computer.
  226.  
  227.  
  228. D) Copy the "bootmgfw.efi" to the second USB stick/external HDD/secondary HDD on the target computer.
  229.  
  230. 1) If you have access to a Windows 10 installation, you find the file here "C:\Windows\Boot\EFI\bootmgfw.efi".
  231.  
  232. 2) If you don't have access to a Windows 10 installation, you have to extract "sources\install.wim" from the ISO image of any Windows 10 installation kit, then open the "install.wim" with 7-Zip and you will find the file here: "\1\Windows\Boot\EFI\bootmgfw.efi".
  233.  
  234.  
  235. E) Download the Acer Spin 5 Win7 x64 driver pack from here: https://drive.google.com/open?id=1GvZFlgd27COOwQXm6KheHeQyMrKVAis1 and extract it.
  236.  
  237. F) Download wufuc from here: https://github.com/zeffy/wufuc/releases/download/v1.0.1.201/wufuc_v1.0.1.201-x64.msi
  238.  
  239.  
  240.  
  241. III) Preparing the bootable Mini Windows 10 UEFI USB.
  242.  
  243. A) For this, you need an USB stick that will get formated to GPT format (you will lose all current data on it) so that it will boot on UEFI.
  244.  
  245. B) Download "Medicat Mini Windows 10 NAKED" ISO from here: https://drive.google.com/file/d/1wrP722c4KmeJ7_9dSetoDVmNOF8pe6na/view
  246.  
  247. C) Download "ISO2Disc" application from here: https://softpedia-secure-download.com/dl/3ad88ff69f85d1eb641722c7356a20e7/5cd5d86c/100194916/software/cd_dvd_tools/ISO2DiscSetup.exe and install it.
  248.  
  249. D) Insert the USB stick, check which drive letter it gets, then run "ISO2Disc", browse for the "Medicat Mini Windows 10 NAKED" ISO file, then select "Burn fo USB Flash Drive", verify that the correct drive letter of the USB stick and the size is correctly chosen, if not, choose the correct USB, then select "Partition Style" as "GPT" and click "Start Burn".
  250.  
  251.  
  252.  
  253. IV) Installing Windows 7 x64 procedure on the target computer
  254.  
  255. A) Boot the target computer from the created bootable Mini Windows 10 UEFI USB.
  256.  
  257. B) Partition the install HDD/SSD using diskpart from an elevated (run as administrator) "Command Prompt" window, remember to backup all data first, this will delete everything, using the following commands (where N is your choice for the install HDD/SSD, be careful when choosing):
  258. list disk
  259. select disk N
  260. clean
  261. convert gpt
  262. create partition efi size=100
  263. format quick fs=fat32
  264. assign letter="S"
  265. create partition primary
  266. format quick fs=ntfs
  267. assign letter="W"
  268. exit
  269.  
  270. C) Let's assume that your second USB stick/external HDD/secondary HDD on the target computer (where you have already copied all the necessary files) has the "Z" drive letter, so just replace the "Z" drive letter in all the following commands with the one of your particular case.
  271.  
  272.  
  273. D) Install Windows 7 x64 using DISM and apply EFI boot partition from the installation
  274.  
  275. 1) Apply the "install.wim" image from your second USB stick/external HDD/secondary HDD on the target computer to the "W" partition you created earlier, using the following command entered in an elevated (Run as administrator) "Command prompt" window:
  276. DISM.exe /Apply-Image /ImageFile:Z:\install.wim /Index:1 /ApplyDir:W:\
  277.  
  278. 2) After the process is completed, apply EFI boot partition from the installation, using the following command entered in an elevated (Run as administrator) "Command prompt" window:
  279. BCDboot.exe W:\Windows /s S:
  280.  
  281.  
  282. E) Install the modified and signed Intel UHD driver from your second USB stick/external HDD/secondary HDD on the target computer to the "W" partition you created earlier, using the following command entered in an elevated (Run as administrator) "Command prompt" window:
  283. dism /Image:W:\ /Add-Driver /Driver:Z:\Intel /Recurse /forceunsigned
  284.  
  285. F) Disable the legacy vga (which is incompatible with UEFI) from the registry of the installed Windows 7 from the "W" partition you created earlier, using the following commands entered line by line in an elevated (Run as administrator) "Command prompt" window:
  286. set Services=HKLM\loaded_SYSTEM\ControlSet001\Services
  287. reg.exe load HKLM\loaded_SYSTEM W:\Windows\system32\config\system
  288. reg.exe add "%Services%\Vga" /f /t REG_DWORD /v "Start" /d 4
  289. reg.exe add "%Services%\VgaSave" /f /t REG_DWORD /v "Start" /d 4
  290. reg.exe unload HKLM\loaded_SYSTEM
  291.  
  292.  
  293. G) Delete legacy vga driver file (which is incomaptible with UEFI) completely from the installed Windows 7 from the "W" partition you created earlier
  294.  
  295. 1) Install "Unlocker" by running "Unlocker1.9.2.exe" from your second USB stick/external HDD/secondary HDD on the target computer.
  296.  
  297. 2) Using "Windows Explorer", go to "W:\Windows\system32\driver" and look for "vga.sys", right-click on it, and choose "Unlocker". A window appears and under "No action" menu, choose "Delete" and then click "OK". Check manually that the file is deleted. You have to use this method, because you can't normally delete "vga.sys" due to security permissions of the installation.
  298.  
  299.  
  300. H) Using "Windows Explorer", copy "bootmgfw.efi" from your second USB stick/external HDD/secondary HDD on the target computer to the following path: "S:\EFI\Microsoft\Boot", overwriting the already existing file.
  301.  
  302. I) Disable legacy vga (which is incompatible with UEFI) from the EFI boot, using the following commands entered line by line in an elevated (Run as administrator) "Command prompt" window:
  303. bcdedit /store "s:\efi\microsoft\boot\bcd" /set {default} bootlog yes
  304. bcdedit /store "s:\efi\microsoft\boot\bcd" /set {default} bootstatuspolicy IgnoreAllFailures
  305. bcdedit /store "s:\efi\microsoft\boot\bcd" /set {default} novesa on
  306. bcdedit /store "s:\efi\microsoft\boot\bcd" /set {default} quietboot on
  307.  
  308.  
  309. J) Add the Intel UHD video driver certificate to the Windows 7 installation.
  310.  
  311. 1) Mount the registry of the Windows 7 installation from the "W" drive, using the following command entered in an elevated (Run as administrator) "Command prompt" window:
  312. reg.exe load HKLM\loaded_SOFTWARE C:\Windows\system32\config\software
  313.  
  314. 2) Merge the "cert1.reg" and "cert2.reg" files one by one, by double-clicking them from your second USB stick/external HDD/secondary HDD on the target computer. You should also see a confirmation that the process is successful.
  315.  
  316. 3) Unmount the registry of the Windows 7 installation from the "W" drive, using the following command entered in an elevated (Run as administrator) "Command prompt" window:
  317. reg.exe unload HKLM\loaded_SOFTWARE
  318.  
  319.  
  320.  
  321. V) Reboot and remove all USB sticks from your computer. You should only get a black screen, the installation might take a while, then it should reboot automatically and then you should get video input when "Setup is checking for you system performance", then everything should go as normal.
  322.  
  323. VI) Install "wufuc" from the secondary drive (HDD) to enable support for 8th Generation Intel CPUs on Win7 (this fixes Windows Update, but also very important is that this fixes some drivers not installing, for example Intel Thermal and Fingerprint), then ensure that Windows Update service is running (Windows Update can be set to "Do not automatically install updates", it doesn't matter), then reboot.
  324.  
  325. VII) Install the drivers from the secondary drive (HDD), starting with "Intel Chipset" and then "Intel Rapid Storage".
  326.  
  327. VIII) Activating Windows 7 under UEFI with Windows Loader by DAZ will never work. Make an account or login to MyDigitalLife and follow these steps carefully: https://forums.mydigitallife.net/threads/windslic-uefi-slic-injector.29740/page-30#post-862582
RAW Paste Data