Getting XP pro to reconnect mapped drives

  • Thread starter Thread starter Tim Carlson
  • Start date Start date
T

Tim Carlson

I have a problem where a XP pro machine has two mapped
drives G: and H:. the machines that are sharing those
resources are rebooted nightly for some reason by a
customer. The XP pro machine is not reestablishing the
connections. So when an automated application function
trys to run it bombs out. If we manually click on the red
X'd mapped drive to reestablish the mapping then it works
fine. Any way to make it automagically re-establish the
connection like NT4.0 did?
Thanks
 
Do you know how to use the net use command? This is done
through command line. It should reestablish the link.
 
Using the net command?? How can We do that? and, does it
restore passwords as well?

Thanks Oscar
Reply by email please
 
oscar said:
Using the net command?? How can We do that? and, does it
restore passwords as well?

Thanks Oscar
Reply by email please

On the XP PRO PC, create a .BAT file with commands like:

Net use G: \\PCnameG\ShareNameG /persistent:yes PasswordForG
Net use H: \\PCnameH\ShareNameH /persistent:yes PasswordForH

Then create a link to that .BAT file in your Startup folder.

The mappings will then be rebuilt when you boot.
 
Yes that net use will work. But just logging off then on
will work. I want it to reestablish the connection without
having to manually touch the machine.
 
Tim said:
Yes that net use will work. But just logging off then on
will work. I want it to reestablish the connection without
having to manually touch the machine.

I don't know of a cure for that.

Tell your customer that his nightly server reboots are forcing his
workstation users to reboot every morning, and let the customer
decide if he likes that loss of productivity.
 
have you tried to schedule the batch file?
-----Original Message-----
Tim said:
Yes that net use will work. But just logging off then on
will work. I want it to reestablish the connection without
having to manually touch the machine.
-----Original Message-----
oscar wrote:

Using the net command?? How can We do that? and,
does

it
restore passwords as well?

Thanks Oscar
Reply by email please



-----Original Message-----
Do you know how to use the net use command? This is
done

through command line. It should reestablish the link.


-----Original Message-----
I have a problem where a XP pro machine has two mapped
drives G: and H:. the machines that are sharing those
resources are rebooted nightly for some reason by a
customer. The XP pro machine is not reestablishing the
connections. So when an automated application function
trys to run it bombs out. If we manually click on the

red


X'd mapped drive to reestablish the mapping then it

works


fine. Any way to make it automagically re-establish
the

connection like NT4.0 did?
Thanks
.


.
 
Back
Top