• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 929
  • Last Modified:

CMDKey Syntax

Hello,
I want to use CMDKEY to store credentials because I am testing this command, but I can't seem to get the syntax right. What would the command line look like if I wanted to connect with the following values:

Domain: acme
User: john.smith
password: secret
Target Computer: server01

Then, what would it look like to remove the stored information?

Thanks,
John
0
jhieb
Asked:
jhieb
  • 2
  • 2
1 Solution
 
jhiebAuthor Commented:
Thank you. I already have the references you mentioned. Something seems erroneous in the hyperlinks so that is why I posted my question and that is why my post asks for an example. Where is Server01 in the actual example they show via the first heyperlink? Anyway, if someone can actually give me a working example with the values I gave above I would sure appreciate it. Thank you.
0
 
k_murli_krishnaCommented:
TargetName
The computer or domain name that this entry will be associated with.
First link:
cmdkey /add:server /user:mikedan /pass:Kleo
Second Link: Looks correct & you can find server01 as TargetName
cmdkey /add:server01 /user:mikedan /pass:Kleo
0
 
jhiebAuthor Commented:
closed
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now