问题:升级到Windows11后,远程桌面连接出现这个错误,无法自动连接。
解决方案:
使用命令行工具:cmdkey
To list saved credentials:
cmdkey /list:TERMSRV/*
To delete a saved credential:
cmdkey /delete:TERMSRV/<targetNameOrIp>
To add a credential that will actually work with CG turned on:
cmdkey /generic:TERMSRV/<targetNameOrIp> /user:<username> /pass:<password>