Save Remote Desktop Credentials in Windows 11 with Credential Guard Enabled

List the currently saved remote desktop saved credentials

cmdkey /list:TERMSRV/*

Delete the credential you need to work.

cmdkey /delete:TERMSRV/<targetNameOrIp>

Re-add the credential as a generic credential.

cmdkey /generic:TERMSRV/<targetNameOrIp> /user:<username> /pass:<password>

Passwords saved through the RDP UI end up as “Domain” type credentials and aren’t compatible with CG. Passwords saved through cmdkey /generic flag ends up as “Generic” type, and DO work with CG enabled.


https://learn.microsoft.com/en-us/answers/questions/1021785/windows-11-22h2-cant-use-saved-credential#answer-1177710