do not connect to the internet, when the login prompt appears, SHIFT+F10 to open CMD OOBE\BYPASSNRO after restart, select "I don't have internet"
Dism /Online /Cleanup-image /RestoreHealth -> get healthy system files if DISM fails, download windows ISO, mount it and add (this is an example filepath): "/source:d:\sources\install.esd", sometimes the file is "install.wim" SFC /scannow -> scans the system drive and attempts to repair broken files chkdsk C: /f /r /x -> checks for drive errors
diskpart list disk select disk [disknumber] detail disk clean create partition primary format fs=ntfs optionally assign a drive letter: assign
run gpedit.msc Local Computer Policy > Computer Configuration > Administrative Templates > Network > QoS Packet Scheduler open "Limit reservable bandwidth" and set the value to 0
Dism /Online /Cleanup-image /RestoreHealth -> get healthy system files if DISM fails, download windows ISO, mount it and add (this is an example filepath): "/source:d:\sources\install.esd", sometimes the file is "install.wim" SFC /scannow -> scans the system drive and attempts to repair broken files chkdsk C: /f /r /x -> checks for drive errors %windir%\system32\msiexec.exe /unregister %windir%\system32\msiexec.exe /regserver %windir%\syswow64\msiexec.exe /unregister %windir%\syswow64\msiexec.exe /regserver regsvr32 scrrun.dll
open task scheduler, navigate to \Microsoft\Windows\MemoryDiagnostic\RunFullMemoryDiagnostic and disable RunFullMemoryDiagnostic
for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @if "%j" NEQ "" (echo SSID: %j & netsh wlan show profiles %j key=clear | findstr "Key Content") & echo
boot from installation media, click repair your computer then troubleshoot, advanced options, command prompt: bootrec / fixmbr bootrec / fixboot bootrec / scanos bootrec / rebuildbcd
first we will display all partitions by using: ls then try to ls into every partition listed until you find one that does not give the filesystem is unknown error, for example: ls (hd0,part1) when you find the correct partition, (hd0, part1) in this example, use: set root= (hd0, part1) set prefix= (hd0, part1)/boot/grub insmod normal normal now you should be on the GRUB screen, boot into your linux OS and update the configuration: sudo update-grub sudo grub-install/dev/sda