I messed up my registry using SubInAcl.
When I tried switching user, Windows froze just before displaying login screen.
Then I rebooted the PC, but Windows froze again just before displaying login screen.
When windows is frozen, if I press alt+tab, I can switch between "Log on to windows" and "Windows logon". Choosing "Log on to windows" does nothing. Choosing "Windows logon" does nothing, except making alt+tab stop working.
Booting into safe mode or last known good configuration still produces the same problem.
1 Answer
I solved it thanks to hek8981's post in Windows hangs just before displaying LOGIN screen, No response to CTRL-ALT-DEL.
These are the steps:
- Boot into Linux
- Backup
%windir%\system32\configsomewhere, just in case. - Go to
%SystemDrive%\System Volume Information. This is where restore points are stored. - Go to the subfolder which was modified last, but before that problem occurred.
- Go to the
RPXXX(XXXare some numbers) subfolder which was modified last, but before that problem occurred. - Go to the
snapshotsubfolder. - Copy the following files to somewhere, removing their prefix:
_REGISTRY_MACHINE_SAM->SAM_REGISTRY_MACHINE_SECURITY->SECURITY_REGISTRY_MACHINE_SOFTWARE->software_REGISTRY_MACHINE_SYSTEM->system_REGISTRY_USER_.DEFAULT->default
- Move the copied files to
%windir%\system32\config, overwriting the existing ones. - Boot into Windows.