Link to home
Start Free TrialLog in
Avatar of jhieb
jhiebFlag for United States of America

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of k_murli_krishna
k_murli_krishna
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jhieb

ASKER

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.
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
Avatar of jhieb

ASKER

closed