SharpRDPCheck
SharpRDPCheck copied to clipboard
Authentication Error
InnerException: System.ComponentModel.Win32Exception (0x80004005): 无法连接到本地安全机构
修改internal static bool enableNLA = false;
提示The server requires that the client support Enhanced RDP Security with CredSSP
域内机器,已手工修改了Options.Domain
需要更多细节,我这边的环境测试都没有问题。
@3gstudent execute RDPConf.exe and configure "Authentication Mode" as "Network Level Authentication" (NLA), so you can reproduce the issue. "The server requires that the client support Enhanced RDP Security with CredSSP" is actually a correct reply in such case.
However, there is an issue, when you configure "Authentication Mode" as "GUI Authentication Only". When static bool enableNLA = false; the SharpRDPCheck always returns true. When enableNLA = true, the SharpRDPCheck also always returns true, regardless of whether the password is correct.