Link to home
Start Free TrialLog in
Avatar of DavidNPD
DavidNPD

asked on

Logon Scirpts not mapping drives in XP

I have logon scripts that create a users home directory on our NT4 server. The script uses the net use command with a /home switch to create this mapping to their home directory denoted in the user manager profile on the NT4 server. This works fine on Win98 machines but now that I am moving to some XP machines I am finding that the drives are not being mapped. What has caused this and how do I fix it? Each person will be logging on to a mix of Win98 and XP machines.
Avatar of stevenlewis
stevenlewis

Do you use the local net use command or one .exe from the server ?
Avatar of DavidNPD

ASKER

I am not sure what the .exe from the server means......

here is the part of the logon script in the netlogon directory of my PDC.:

I use this command in the profile on the Server:


REM Set the system time to match server.
NET TIME \\NPDPDC /SET /Y

REM Delete any old home drive mappings
NET USE h: /delete /y

REM Re-Create a home users directory on the server
NET USE h: /home /y

I use these on my Win98 machines and they work fine, but they will not map a home directory on a XP machine. If I open up a prompt window using the cmd.exe command on the workstation I can run the command above fine.
The home directory path must be specified in the the properties tab of each user in User Manager on the NT server

I assume you're using XP pro and have joined the domain.
The home directories are assigned and work fine for Win98 clients. I am using XP Pro and have joined the domain. I just installed a WIn2000 machine and see that I have the same issue............
ASKER CERTIFIED SOLUTION
Avatar of stevenlewis
stevenlewis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
StevenLewis, I needed to put those XP machines out in production, I am putting another test one together. WHen I do I will be trying some of the info in the links, though I dont believe they are directly related.
Don't use the /y switch it is not required. Also the NET USE h: /delete should also be removed. A simple net use h: /home is all that is required.
OK I have tried these links but they did not address the question directly. I have sort of given up on this for now but will close the question with your links as the answer