文章目录
- 小结
- 问题
- 问题1解决
- 问题2解决
- 参考
小结
碰到了从Windows 10 远程RDP到Windows 11无法登录,并进行了解决。
问题
- 登录时返回**“Your Credentials Did Not Work”**,用户名密码没有问题,从其它机器登录也没有问题,就是从这个Windows10登录时有问题。
- 登录时返回The system administrator has restricted the types of logon (network or interactive) that you may use,所有的机器登录都返回这个错误。
问题1解决
在远程要登录的机器上:
- 通过”gpedit.msc”
- 打开“Local Group Policy Editor”
- 打开Security Settings -> Local Policies -> Security Options
- 在‘Security Options’中打开: Network Security: LAN Manager authentication level
- 从下拉框中选择: “Send LM & NTLM – use NTLMv2 session security if negotiated.”
- 确认保存后,就可以正常登录了。
问题2解决
在远程要登录的机器上:
- 通过’secpol.msc’
- 打开‘Local Security Policy’
- 打开‘Security Settings > Local Policies > User Rights Assignment’
- 打开‘Allow log on through Remote Desktop Services policy’
- 添加要远程登录使用的用户名
- 确认保存后,就可以正常登录了。
参考
Remote Desktop “Your Credentials Did Not Work”
Fix: ‘Your Credentials Did Not Work’ error on Windows 11
[FIX] The System Administrator Has Restricted The Types Of Logon (Network Or Interactive) That You May Use
The system administrator has restricted the types of logon (network or interactive) that you may use. After Windows 10 Upgrade