Automatically Reconnecting Mapped Drives

G

Guest

I have tried use Windows Explorer to configure Windows XP Professional SP2 to
map a network drive and have the drive reconnect at logon. I have checked
the 'Reconnect at logon' checkbox and entered a different user name/password
combo using the 'Connect As...' dialog. The drive is immediately mapped but
does not reconnect at logon. In fact, I'm not even prompted upon Windows XP
startup. I have to run Windows Explorer after logging into Windows and
manually reconnect. How do I get Windows XP to automatically reconnect
mapped drives at logon?
 
R

Robert Jacobs

Is this on a domain computer or a home computer? You could create a
logon script...
 
P

Pegasus \(MVP\)

Ron Sochanski said:
I have tried use Windows Explorer to configure Windows XP Professional SP2
to
map a network drive and have the drive reconnect at logon. I have checked
the 'Reconnect at logon' checkbox and entered a different user
name/password
combo using the 'Connect As...' dialog. The drive is immediately mapped
but
does not reconnect at logon. In fact, I'm not even prompted upon Windows
XP
startup. I have to run Windows Explorer after logging into Windows and
manually reconnect. How do I get Windows XP to automatically reconnect
mapped drives at logon?

As Robert Jacobs suggests, a logon script would be the most
reliable way to do this, both in a domain and in a workgroup
configuration. If it's in a domain environment, talk to your
network administrator. If it's in a workgroup environment,
place lines similar to the ones below into the file
c:\Documents and Settings\Start Menu\Programs\Startup\Netlogon.bat.

@echo off
net use /persistent:no
net use H: \\SomeMachine\SomeShare
net use K: \\SomeOtherMachine\SomeOtherShare
 
G

Guest

The computer that attempts to connect is in a particular workgroup on a
corporate LAN. The target computer (the one that's being connected to) is on
the same LAN but in a different workgroup. However, some other computers in
different workgroups on the LAN can automatically connect to the target just
fine (upon logon).
 
R

Robert Jacobs

create the logon script (which Pegasus gave an example of) on the
computer attempting to connect to the target computer. Navigate to
the location listed in Pegasus' suggestion (on the source PC), edit
the Netlogon.bat file (right click the file and click edit), and add
something like this:

(since these computers are in different workgroups, you should have
the target machine use a static IP address to ensure this logon file
continues to work. If you want to use, or are using, Windows to map
the network drive, you should still make this adjustment to ensure it
knows what computer to connect to. This example suggests that the
target computer has an IP address of 192.168.1.100 and the share you
would like to access is the Documents and Settings folder located on
the C drive)

NET USE K: \\111.198.1.100\C$\Documents and Settings
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top