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

How to connect to a different server through a cisco router?

Hi Everyone, I am trying to connect to a different server through a cisco router.
I have entered the relevant info into the logon script, i am then prompted for a username and password.
I enter these details and it connects fine!
I want to know if the username and password info can be added automaticaly using the logon script so i connect straight away with no prompt!
I know the reason why its asking for the info because of switching domains/servers.
many thanks,
IMak
0
IMak
Asked:
IMak
  • 3
  • 3
1 Solution
 
anupnellipCommented:
by connecting you do you mean you r connecting to some share ??
0
 
IMakAuthor Commented:
Yeah, Sorry, I am trying to connect to a Drive on a different server.
Ian.
0
 
anupnellipCommented:
use this command in your script

net use t: \\servername\shared_drive /user:domain\user_name password
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
IMakAuthor Commented:
Thanks anupnellip, sorry for acting a bit daft but, can you give me more on that command

I have got the first bit okay, but, i am struggling with it from     /user:domain\user_name password
do i replace these with actual user name and domain name then  \username and password?
Thanks,
IMak
0
 
anupnellipCommented:
net use t: \\servername\shared_drive /user:domain\user_name password

/user:   --- use as it is
domain  --- your domain name
username  ---- the user name u use to connect
password   --- the password for the user .

e.g if your domain name is md1 , user name test  & password pass then you would use

net use t: \\servername\shared_drive /user:md1\test pass

hope this is clear

0
 
IMakAuthor Commented:
Thanks anupnellip, quality response and all works fine now.
Thanks very much again,
IMak.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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