windows-Credential-Provider-library
windows-Credential-Provider-library copied to clipboard
endless Loop when click on "switch user"
Compile the DLL and install it to system32.
Go to Local Security Policy --> Local Policies --> Security Options -->
- disable Interactive Logon: Don't display last signed in
- disable Interactive Logon: Don't display username at sign in
- Then open a admin cmd gpupdate /force to pick up group policy changes
If you did the steps above correctly you should see a "switch user" when locking the PC. If you click on this then the PC will be stuck in a loop since the custom credential provider will crash.
Warning You probably want to enable SSHD on windows so you can SSH in to recovery from this endless loop via safemode. or via a USB installer key.
-
enable safemode:
- bcdedit /set {current} safeboot minimal
-
disable safemode:
- bcdedit /deletevalue {current} safeboot
I believe this is what this user is trying to describe : https://github.com/DavidWeiss2/windows-Credential-Provider-library/issues/7