Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to add network login credentials for applications running
'as administrator' by using 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' ?

share|improve this question

migrated from Nov 13 '12 at 8:32

This question came from our site for professional and enthusiast programmers.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.