无法自动登录 RDP 会话:服务器的身份验证策略不允许使用保存的凭据进行连接请求

Eni*_*gma 5 remote-desktop windows-7 group-policy

我尝试进入组策略并启用/禁用一些相关策略,但我仍然看到这一点:

在此处输入图片说明

我检查Remember me并输入正确的密码并不重要。

凭据存储在本地但未被使用:

在此处输入图片说明

我正在从 Windows 10 连接到 Windows 7。

gupdate 输出:

Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\> gpupdate.exe
Updating Policy...

User Policy update has completed successfully.
Computer policy could not be updated successfully. The following errors were encountered:

The processing of Group Policy failed because of an internal system error. Please see the Group Policy operational log for the specific error message. An attempt will be made to process Group Policy again at the next refresh cycle.
The processing of Group Policy failed because of an internal system error. Please see the Group Policy operational log for the specific error message. An attempt will be made to process Group Policy again at the next refresh cycle.
The processing of Group Policy failed because of an internal system error. Please see the Group Policy operational log for the specific error message. An attempt will be made to process Group Policy again at the next refresh cycle.
The processing of Group Policy failed because of an internal system error. Please see the Group Policy operational log for the specific error message. An attempt will be made to process Group Policy again at the next refresh cycle.
The processing of Group Policy failed because of an internal system error. Please see the Group Policy operational log for the specific error message. An attempt will be made to process Group Policy again at the next refresh cycle.

To diagnose the failure, review the event log or run GPRESULT /H GPReport.html from the command line to access information about Group Policy results.
Run Code Online (Sandbox Code Playgroud)

抓住 GPRESULT /H GPReport.html


Registry    Failed  12/12/2017 4:06:01 PM
Registry failed due to the error listed below.

Unspecified error

Additional information may have been logged. Review the Policy Events tab in the console or the application event log for events between 12/12/2017 4:06:01 PM and 12/12/2017 4:06:01 PM.
Run Code Online (Sandbox Code Playgroud)

GPReport.html 包含:

Windows Components/Remote Desktop Services/Remote Desktop Session Host/Security
Policy  Setting Winning GPO
Always prompt for password upon connection  Enabled {ID}, domain.com
Run Code Online (Sandbox Code Playgroud)

但是,在组策略编辑器中:

在此处输入图片说明

如何强制禁用该策略?

小智 2

我无法发表评论来提出澄清问题,所以我被迫写下这个作为答案:

是否[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services]有一个fPromptForPassword值为 1 的 REG_DWORD 命名条目?

在我的 Windows 7 客户端上,此设置设置为 1,并且允许我在连接到远程主机时保存密码。

据我所知如果不允许客户端存储凭据,则该值将在客户端上设置为 0。

或者,这里详细回答了类似的问题:https ://superuser.com/a/140322/115387