Is there a possibility to remember user credential for apps running 'as administrator'

4

I'm trying to add network login credentials for applications running
'as administrator' by using cmdkey:

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

But getting this error when running under admin profile:

CMDKEY: Credentials cannot be saved from this logon session.

Is there possibility to store network credentials for applications running 'as administrator'?

Pomodoro Technique Game

Posted 2012-11-12T14:12:51.693

Reputation: 155

Answers

0

I also met the same problem on an WindowsXP computer, and I found the solution through google:
just run gpedit.msc, location to the Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\ branch, and set the policy Network Access: Do not allow storage of credentials or .NET Passports for network authentication value to Disable.

(if you can't change the value even you logon as an administrator, it means this policy is defined by GroupPolicy, you need to contact your Domain Administrator to change it).

Here's the link:

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

XFeng

Posted 2012-11-12T14:12:51.693

Reputation: 11

On Windows 10, this was already Disabled. Maybe the policy location or name has changed since WinXP? – CivMeierFan – 2019-12-18T21:57:37.907