XP loses network drive map on log on

T

tom b

I have a home drive (H:) mapped on our network for an XP
machine to connect to our file share server (WIN 2K
Server). THis is where the user profile is stored. But it
loses connection when logging off. And doesn't re-find it
when logging on.

Microsoft Knowledge Base appears to recognize this
problem but doesn't give a fix (Article- 330519).

Anyone with similar problem?
 
T

tom b

Yes. I'm using a script-

LoginScriptAllShareUsers.bat

@echo off
echo
echo DEFAULT LOGIN SCRIPT
echo
echo
echo -- Making sure that you have the correct version of
DAO --
call \\hvserver\inventory\ADO\DAO350.bat

echo -- Checking your computer inventory this will take a
few minutes --
call \\hvserver\inventory\run_ocs.bat

rem Remove the old s:\ drive connection if one exists
if not exist s:\ goto SKIP_SREMOVE
echo -- Disconnecting your old (S:\) drive connection --
net use /delete s:

:SKIP_SREMOVE
rem If the %OS% is not Windows_NT then we have to
manually connect the H:drive
rem NB. There is a difference in the Active Directory
Profile
rem and their home directory must be shared directly
(eg share //hvserver/win98).
rem If the machines are upgraded to Win2K or greater,
then unshare their Home dir
rem and change the Active Directory Users Profile to
the more recent way.
rem the net use H: /HOME directory takes the H: Path
from the
rem Active Directory Users Profile

if %OS% == Windows_NT goto WINNT
echo -- Connecting you to the fileserver Share (S:\)
drive --
net use S: \\hvserver\SharedDir

echo Connecting your home (H:\) drive
net use H: /HOME
goto END

:WINNT
echo -- Connecting you to the fileserver Share (S:\)
drive --
net use S: \\HVASHRAM\DFSRoot\SharedDir

:END
echo Finished Login Script ...
 
T

Thomas L. Goodson

I notice that in the case of Windows NT that your logic doesn't map the H:
drive. Suggest that you try modifying the script to delete / remap H: for
all users.
 

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