Discussion Locked

Logon & Restore Network Connections

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

In Win 98 you could change your network logon options between Quick Logon and Logon and Restore Network Connections.
It appears in Win XP that it is defaulted to Quick Logon as I cannot start a network application from the startup group. When I tryI recieve an error that the path is invalid. I recieve this error with both a Mapped drive or a UNC path.
I need to set Win XP to physically restore the network connection upon startup.

Thanks in advance
Joel

9 replies

by dklippert

See if you find something here:

Start>Run services.msc

Scroll down to the workstation entry and double click on it.

by beermonster

Hi,
Although I can accept that a mapped drive may not be properly connected and thus cause your app to fail, that does not hold true for a unc path. As long as comms are ok (which if your user is logging on to a domain almost certainly is the case) then the unc path should succeed. I'd be interested in seeing the setup in question, but as that isn't going to happen try this workaround.

I don't know how the drive is being mapped - login script etc, so I'll assume it's something we need todo here. Create a batch file along the lines of -

rem delete any Z mapping that already exists
net use Z: /d /y

rem map \ remap the drive
net use Z: \\myserver\myshare persistent:no

:loop
rem check to see if the mapping was succssful, ifrem not keep rechecking by looping
if not exist \\myserver\myshare\myapplication.exe goto loop

rem if we get here then the mapping was successful
start \\myserver\myshare\myapplication.exe
exit

Drop the batch file into the startup folder instead of the ?shortcut? that you are using. If you have sleep.exe from the reskit then you can use that to make the script pause a while between checks during the loop. You could also add a counter that increments every time a check is made, and if there's no success after a certain number have an error message displayed to the suer telling them that you were unable to map the drive and to seek tech support. Hope this helps...

by Member 26962261

Map your drive as persistent -->Dos net use l: \\server\sharename /PERSISTENt:YES or WINXP Reconect at logon.
Did you tried by the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
I tried both on my system and it's working.

by escofalles

When setting up a mapped network drive in XP you must specify the username and password when you first setup the mapping. For your startup apps you of course want the reconnect at logon checked and just below that is a link that says "Connect usinga differant username" clicking that allows you to automatically reconnect to the share with the proper authentication.

This discussion is closed to new replies.