Last edited: 27.08.2017
In previous versions of Windows, there was an extremely useful feature called Last Known Good Configuration which allowed you to quickly fix a broken registry hardware configuration to the one when Windows last booted properly. It was very handy in the situation I've described above. Last Known Good Configuration stored a copy of the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet key which contains information about all Windows services and drivers.
Selecting Last Known Good Configuration at startup from F8 options did 2 things:
- It restored the hardware configuration in the registry control set indicated by the LastKnownGood key instead of the default
- It restored the device drivers too of the last working configuration, should a newly installed device driver make Windows unbootable
In favor of new additions, this wonderful feature was disabled in Windows 8, Windows 8.1 and Windows 10. The exciting news is that you can still enable it! Let's see how it can be done.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager
Now the Last Known Good Configuration feature is enabled and will start backing up your
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet registry branch at every successful boot.
To access the Last Known Good Configuration, run the following command at an elevated command prompt:
BCDEdit /SET "{Current}" BootMenuPolicy Legacy
The above command will enable access to the regular legacy boot menu via the F8 key. Now restart your computer and if computer begins to load start configuration, hold (sometimes not works) or hit on F8 key (several times), you will soon see the following image:
Make Your selection, how to boot. If You don't see this image, run command:
bcdedit /set {bootmgr} displaybootmenu yes
If You want to reset F8 to default settings, run command:
bcdedit /set {bootmgr} displaybootmenu no
You may be also interested in: Enable F8 Safe Mode Boot Menu