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

Connecting to Remote machines

I have a main site where our servers are located. I also have remote sites which i connect to via VPN.

I have to manually go to enter in \\192.168.1.1\example1 and then up will pop the login box to login to the share on that remote machine. I then have to enter in the username and password of the remote machines account

I have many remote sites and this takes forever to do.

When i restart the server i have to do this process again to get all the machines shares connected.

Is there a script or a way of keeping the login credentials cached so that when i restart the server i dont have to go to every site by ip and machine name and login to the share.
0
Headmasters
Asked:
Headmasters
  • 8
  • 7
  • 2
1 Solution
 
Jay_Jay70Commented:
Hi hmuser,

why dont you use a login script to map the drives

Net use y: \\Server\Share /persistant:yes

add this in a text file with whatever shares you want for each drive letter and assign as a logon scirpt, save as .bat

0
 
HeadmastersAuthor Commented:
We have thought of this all ready but due to the large number of sites there is not enough letters for us to map to
0
 
Jay_Jay70Commented:
oh really, that gets messy then, hmm maybe you should look at using DFS then

http://www.microsoft.com/windowsserver2003/technologies/storage/dfs/default.mspx
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Jay_Jay70Commented:
hmuser,

to expand, DFS is a Distrubuted File System, replicates shares all around to a single interface, its awesome
0
 
HeadmastersAuthor Commented:
Thanks Jay Jay70,

Unfortunately this is not the solution I am looking for. More info:

I do not want a constant connection to the remote machines i.e. mapped drive/shared folder etc.
I have an automated batch files which copies data from the remote machines to a windows 2000 server. As soon as a connection is made to the remote machine via \\ipadress\"c:"sharename\ a prompt for login credentials is displayed.The login credentials for the remote machine are then inputted. This only needs to be done once per machine. I believe the Windows 2000 server caches these credentials so basically the next time the batch file runs we are not prompted for login credentials.

The problem is that  when the server is restarted the cached credentials are erased and they then need to be reinputted. Can we run a script to automate the connection to the remote machines and automate the inputting of the credentials after every reboot? If not, then is there a way to stop the credentials from being erased everytime the server restarts?
0
 
dooleydogCommented:
If you are having to enter credentials, it sound like you are not in a single domain, or you are connecting to stand-alone servers. Do you have a domain? Can these computers join this domain?

In a peer to peer or workgroup scenario, it might be easier for you to make sure your usernames and passwords match on all of the computers, that way the credentials will match and you should not have to enter them each time. In a domain scenario, your admin account would have the rights and would also use pass-through authentication.

Good Luck,

0
 
dooleydogCommented:
Another thought,

use the remote desktops MMC in the adminstrative tools on your server. with this utility, you can have several computer connections listed and even input credentials to be saved for you.

Good Luck,

0
 
HeadmastersAuthor Commented:
Thanks for your reply. We have a domain at the main office but each remote site is only a workgroup. I am going to try the remote desktops MMC in the admin tools on the server.

If anyone else has a suggestion please let us know!

Many Thanks
0
 
Jay_Jay70Commented:
ah if only workgroup then DFS is out the window!
0
 
HeadmastersAuthor Commented:
Right i have tried to setup a MMC snap in under admin tools. When you search for a machine i cannot connect to the remote machines as it will only show our domain and not the remote workgroups. I have tried entering the remote computer names but with no luck. I have also tried the full path including the ip of the remote machine and this still won't.

Do you have any idea on how to setup a snap in for remote machines on workgroups rather than the local domain.

Or alternativly is there another way to do this?

Is there a simple way to clear cached credentials for remote machines rather then restarting the server?
0
 
Jay_Jay70Commented:
to be honest, i try to avoid dealing with workgroup environments especially when misxed with a domain that i would have a clue

all i can suggest is that if you can ping them, check for firewalls and security suites at the client level
0
 
HeadmastersAuthor Commented:
There is no firewalls on the remote machines and i can ping the IP address of the machine i want to connect to. I can also connect to it as well after putting in the credentials

I can connect to the machine if i enter in the Username and password when the dialogue box pops up.

There must be a way to cache these credentials or save them some where.
0
 
Jay_Jay70Commented:
you can try adding an identical user accounts on your machine
0
 
HeadmastersAuthor Commented:
The machine I am connecting from is a Domain controller, the machine I am connecting to is part of a workgroup. Local user accounts cannot be created on a domain controller.

0
 
Jay_Jay70Commented:
in that case i know of no way to cache workgroup credentials on a DC....i am not sure its possible as you then breach security
0
 
HeadmastersAuthor Commented:
Well there is obvioulsy not a solution to our problem. Thanks for all your help
0
 
Jay_Jay70Commented:
no worries, sorry i didnt have anything of use
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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