I have a Windows 10 laptop with 2 accounts, an administrator and a non-adminitrator. This has worked perfectly for almost a year now. Recently I created a 3rd account, as non-administrator. This account is logged off as soon as the password is confirmed, so I never see the desktop.
Windows event log
To see what Windows event log can tell about this, I did the following test: At 09:44:23 I tried to login on the new account, which failed. At 09:44:27 I logged in on an existing account, which worked.
From System log
09:44:23 Winlogon - event 7001, info (bad login) 09:44:24 Service Control Manager - event 7023, error 09:44:24 DistributedCOM - event 10016, error 09:44:24 DistributedCOM - event 10016, error 09:44:27 Winlogin - event 7002, info (good login)
From Program log
09:44:23 User Profile Service - event 1542, error "Windows cannot read registration database for classes. File not found" (my Translation) -- this error 3 times. 09:44:24 Winlogon - event 6000, info (also present on good login) 09:44:24 igfxCUIService188.8.131.52 - event 0, info (also present on good login) 09:44:24 Winlogin - event 4006, warning "unable to spawn program C:\Windows\System32\userinit.exe" – Peer Sommerlund 20 hours ago
My attempts at solving it
If I change the user type to administrator, I can log in, but the desktop looks strange.
I have tried deleting the account and creating it again, but the problem persists on any new account I create.
What could I have changed to the system to bring it to this state?
How can I fix the new account so it will work as non-administrator?
Similar solutions found on the net
I found this link, which describes a similar issue. https://answers.microsoft.com/en-us/windows/forum/windows_10-security/windows-10-login-error-keeps-signing-out/f59e6690-20b2-43a4-aad1-2ed1f05c6ba0 My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit key holds C:\Windows\system32\userinit.exe, which works ok for the 2 first accounts (the trailing comma does not appear to cause an issue) so this is not a solution.