Windows don't boot after set Windows to Diagnostic startup in msconfig (Win7) [duplicate]

Solution 1:

You will need to edit the registry offline.

Navigate to this registry Key

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig

in the MSConfig key you will find some sub keys, .

enter image description here .

Delete any entries in the "startupreg" sub key

Check the Key "state" it should appear like the screenshot below, if any of the dword data values are different, change them back to these defaults. .

enter image description here

Once the changes are made, see if it will boot normally.

Download and use PcRegedit here

Solution 2:

In the command Prompt via recovery disc or in built in windows 10,

type 'bcdedit'

Look for the Windows Boot Loader entry that contains an item named 'truncatememory' Note the identifier for that entry, it may be {default} or {current}, or may be a long GUID like {8eea9b82-d5b1-11de-9d24-80972e3a13c7} Enter this command: 'bcdedit /deletevalue identifier truncatememory' replacing identifier with the correct one you noted for that entry.( 'default', 'current' or GUID value ).

Restart the computer

courtesy techguy.org