Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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