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
IMakAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
anupnellipConnect With a Mentor Commented:
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
 
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
anupnellipCommented:
use this command in your script

net use t: \\servername\shared_drive /user:domain\user_name password
0
 
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
 
IMakAuthor Commented:
Thanks anupnellip, quality response and all works fine now.
Thanks very much again,
IMak.
0
All Courses

From novice to tech pro — start learning today.