windows 7 install issues

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.

Modify Intel HD video driver to work with Intel UHD video cards

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.

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):
%iKBLULTGT2R% = iSKLD_w7, PCI\VEN_8086&DEV_5917

and add this afterwards (Note: this is for Intel UHD 620 graphic card which has "0x5917", if you have another video card, just use the "0xXXXX" that corresponds to you card, where "XXXX" are the numbers from the "DEV_XXXX" which you noted down earlier):
HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, DeviceID, %REG_DWORD%, 0x5917
HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, VendorID, %REG_DWORD%, 0x8086
HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, APIVersion, %REG_DWORD%, 0x108
HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, Merit,%REG_DWORD%, 0x08000015
HKLM, Software\Wow6432Node\Intel\MediaSDK\Dispatch\iKBL_5917, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw32.dll"

and add this afterwards (Note: this is for Intel UHD 620 graphic card which has "0x5917", if you have another video card, just use the "0xXXXX" that corresponds to you card, where "XXXX" are the numbers from the "DEV_XXXX" which you noted down earlier):
HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, DeviceID, %REG_DWORD%, 0x5917
HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, VendorID, %REG_DWORD%, 0x8086
HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, APIVersion, %REG_DWORD%, 0x108
HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, Merit,%REG_DWORD%, 0x08000015
HKLM, Software\Intel\MediaSDK\Dispatch\iKBL_5917, Path, %REG_SZ%, "%16422%\Intel\Media SDK\libmfxhw64.dll"

and add this afterwards (Note: this is for Intel UHD 620 graphic card which has "Intel® 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):
iKBLULTGT2R = "Intel® UHD Graphics 620"

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".

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".

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:

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:
cd C:\WinDDK\7600.16385.1\bin\selfsign
inf2cat.exe /driver:"C:\DriverCert\Intel\Graphics" /os:7_X64 /verbose

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:

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".

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.\

E) Extract the certificate from registry and create the necessary files for the installation.

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.

2) Now right-click that key (folder) and choose export, save the .reg file as "Cert1.reg".

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

4) Copy these "Cert1.reg" and "Cert2.reg" files on a second USB stick/external HDD/secondary HDD on the target computer.

II) Preparing the Windows 7 installation files on a second USB stick/external HDD/secondary HDD on the target computer

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.

D) Copy the "bootmgfw.efi" to the second USB stick/external HDD/secondary HDD on the target computer.

1) If you have access to a Windows 10 installation, you find the file here "C:\Windows\Boot\EFI\bootmgfw.efi".

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".

III) Preparing the bootable Mini Windows 10 UEFI USB.

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.

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.

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:
DISM.exe /Apply-Image /ImageFile:Z:\install.wim /Index:1 /ApplyDir:W:\

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:
BCDboot.exe W:\Windows /s S:

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:
dism /Image:W:\ /Add-Driver /Driver:Z:\Intel /Recurse /forceunsigned

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.

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.

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:
reg.exe load HKLM\loaded_SOFTWARE C:\Windows\system32\config\software

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.

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:
reg.exe unload HKLM\loaded_SOFTWARE

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.

Better try with unmodified iso, maybe your laptop needs some drivers in the meantime and my slimmed version misses a lot of them.

In BIOS you have to disable secure boot. To do this, I had to set a supervisor bios password, otherwise I couldnt modify that. Then you can remove the supervisor password if you want. Further nothing changed, not that I could change much.

Further we have similar hardware, it should work fine. Mine has i7-8550u, with uhd 620, geforce 1050 4gb, 8gb ram, ssd 256 and hdd 1tb.

bootmfgw.efi works for you, that is so you don't get BCD error when booting, way before having black screen. I think you either have secure boot on, so that crashes the driver loading at boot, or there is a driver missing, specific for you machine, which i didn't need.

Nope i had secure boot off even before, and im not sure about drivers either. Ill have a go with this iso tho.

And all command promt things with the registry keys, must they be done in an normal command promt? Or do i need to do an command promt set in for example the w drive? windows 10 mini lets you right click the drive in file explorer and run command promt like that.

i tried the method with the iso from the drive, and when i shut off the machine and turn it on the screen stays black, it reboots off then boots on again, it doesnt say checking performence. And stays black.

I think on the last uhd driver, witch didnt have the ikbl witch you told me after the guide, reboted and did say it was checking peformence, however i probaly shouldnt use the last driver as it isnt right.

Also for you does the command set Services=HKLM\loaded_SYSTEM\ControlSet001\Services say anything for you? Because when i enter the command it doesnt say any errors but doesnt say anything at all.

You can try, then observe hdd activity led or if you have no led just listen with your ear on the laptop.

But if you say the first time without iKBL modification you got "system is checking performance" after reboot, then you should try that again and leave the installation alone for 30-60 mins, maybe it boots. That you get that checking for performance screen is very good, it means the windows uses the intel video driver accordingly, otherwise you'd get black screen and no reboot at all. This is how for me it was until I figured out the certificate part, I would not get any reboot, the fan speed would only get high and stay like this, I left it for a night. Then afterwards I figured the certificate part and then I got reboot and waited and waited, then the performance check and still waited and at last I got the OOBE part with choosing username, time, updates etc.

Can you look on the back of your laptop on the sticker to tell me the exact serial number of the laptop?

And one more thing: boot mini win10,go to device manager and tell me the exact names of the hdds and ssds you have there. I think you may have nvme ssd instead of sata as I do, therefore you'll need to slipstream 2 updates and the exact nvme driver for your ssd.

You can try, then observe hdd activity led or if you have no led just listen with your ear on the laptop.

But if you say the first time without iKBL modification you got "system is checking performance" after reboot, then you should try that again and leave the installation alone for 30-60 mins, maybe it boots. That you get that checking for performance screen is very good, it means the windows uses the intel video driver accordingly, otherwise you'd get black screen and no reboot at all. This is how for me it was until I figured out the certificate part, I would not get any reboot, the fan speed would only get high and stay like this, I left it for a night. Then afterwards I figured the certificate part and then I got reboot and waited and waited, then the performance check and still waited and at last I got the OOBE part with choosing username, time, updates etc.

Can you look on the back of your laptop on the sticker to tell me the exact serial number of the laptop?

And one more thing: boot mini win10,go to device manager and tell me the exact names of the hdds and ssds you have there. I think you may have nvme ssd instead of sata as I do, therefore you'll need to slipstream 2 updates and the exact nvme driver for your ssd.

Ill have a go with the one without kibl thing added, and ill use the modified iso so it wont take as long.

AN515-52-53H0, you have only 1 hdd drive on the laptop, no ssd right? This means you don't need driver for ssd nvme interface.

So I would try without the iKBL and let it for more time. Because you have hdd the installation is slower than mine, I also have a ssd. Furthermore, I have no idea what to suggest.

I tried again but failed.

I think later ill just do the entire guide again, this time ill just replace the inf file with the one you gave me, and edit the ddl files again.

Ill try with both isos to see.

If that doesnt work. Ill do what i did in the screen shots i sent, and try using both isos.

Also is none of the commands like with the registry edits not meant to be done in (run as local machine) command promt? Because normal admin command promt is set as the x drive witch is the windows mini usb.

If their are anymore issues with the guide please let me know, thanks.

If you don't get error when importing registry files, then the command used to mount the registry works.

No need to use UHD 620,then the driver won't be used because you have UHD 630 which has other DEV_XXXX.

You tried and failed: did you still get the "checking performance screen" or just only black screen? Remember that if you get "checking performance" screen, that means the driver for uhd 630 is loaded accordingly.

Try disabling xHCI and set another SATA mode, without optane, try all choices you have. I think this is the problem, Win 7 has no integrated drivers (or support) for optane.

If you don't get error when importing registry files, then the command used to mount the registry works.

No need to use UHD 620,then the driver won't be used because you have UHD 630 which has other DEV_XXXX.

You tried and failed: did you still get the "checking performance screen" or just only black screen? Remember that if you get "checking performance" screen, that means the driver for uhd 630 is loaded accordingly.

Try disabling xHCI and set another SATA mode, without optane, try all choices you have. I think this is the problem, Win 7 has no integrated drivers (or support) for optane.

I tried with optane sata and the screen would go black for a few seconds, then some red line would come above the screem, and then it would crash and restart the machine, its set automatically as cxhi or what ever its called.

Ill have another go today, and done what i did orginaly, not editing the ibkl lines, and see if it comes up with video performence, if it doesnt then im hoping their will be some sort of solution to the issue.

I tried again, i did it how i orignaly did it in the guide first, with the ikbl lines still as your dev number, how ever i still didnt recvive checking device performence, nor even when you turn the machine off do you get the screen where it says its going back to windows.

In bios i disabled fast boot, disabled xchi usb 3 support. is their anything elase that would need disabled like intel vtx in advanced settings? Also i didnt have the sata type as optane.

Hoping their will hopfulley be a solution, is their any certen logs i can send you? I check on the c drive after i tried installing the os, and theirs an intel folder with a log file inside. Or i can also send you a quick video of what i do windows 10 mini.

Everything done perfectly. The only thing I saw is that the "bootmgfw.efi" file you use has the same size as the one that gets overwritten. Did you get this file from a Windows 10 ISO as I said? Anyway, try with the file I used from my original Windows 10 on my Acer laptop: https://openload.co/...6g/bootmgfw.efi

And after the reboot, you must wait again for a while with black screen, the installation continues this way and only after a while you will get "checking system performance" on the screen. Do not power off the laptop manually, leave it alone for a long while.

I don't know if your efi file is wrong, just use mine and further do it as you did, all commands are working fine (even if the one with set services doesn't have any confirmation, it really works otherwise the following lines would not succeed). Then after reboot leave it alone for a while, it can take a long time until it passes the black screen. I have a SSD and it takes long, you have a HDD and it would take longer.

Hopefully it works, otherwise I honestly have no idea what we could try!