是否可以記住「以管理員身分」執行的應用程式的使用者憑證

是否可以記住「以管理員身分」執行的應用程式的使用者憑證

我正在嘗試
使用以下命令為“以管理員身份”運行的應用程式添加網路登入憑證命令列鍵:

C:\>cmdkey
 To create domain credentials:
cmdkey /add:targetname /user:username /pass:password

但在管理員設定檔下運行時出現此錯誤:

CMDKEY: Credentials cannot be saved from this logon session.

是否可以儲存「以管理員身分」執行的應用程式的網路憑證?

答案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

相關內容