是否有可能记住以“管理员身份”运行的应用程序的用户凭据

Pom*_*ame 5 networking windows administrator

我正在尝试
使用cmdkey为以“管​​理员身份”运行的应用程序添加网络登录凭据:

C:\>cmdkey
 To create domain credentials:
cmdkey /add:targetname /user:username /pass:password
Run Code Online (Sandbox Code Playgroud)

但是在管理员配置文件下运行时出现此错误:

CMDKEY: Credentials cannot be saved from this logon session.
Run Code Online (Sandbox Code Playgroud)

是否可以为“以管理员身份”运行的应用程序存储网络凭据?

小智 1

我在WindowsXP计算机上也遇到了同样的问题,通过google找到了解决方案:
只需运行gpedit.msc, location 到Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\ 分支,并将策略Network Access: Do not allow storage of credentials or .NET Passports for network authentication值设置为Disable

(如果以管理员身份登录也无法更改该值,则说明此策略是由 GroupPolicy 定义的,您需要联系域管理员来更改)。

这是链接:

http://www.itworld.com/article/2779749/windows/how-to-disable-credential-caching-on-client-computers.html