Discussion Locked

Nt Log on Scripts

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

I currently have my Log on script set up as follows.
Net use H: \\PServer1\H
Net use L: \\Pserver1\L
Net use E: \\PServer1\E

How do I configure my script so it will delete and then remap these drives again?
I have users that I had to physically map the drives from there workstation because their log on script will not execute when they log on to the Network,Even though there user profile does contain the name of the Script I created.I am running under NT4.0.
Help?

8 replies

by ann777

With the users who do not seem to be using the logon script... check for other over-riding scripts and verify that their user profile has been setup correctly.

by tamj123

net use h: /delete /y
net use l: /delete /y
net use e: /delete/y

net use h: \\pserver1\h /persistent:no
Net use L: \\Pserver1\L /persistent:no
Net use E: \\PServer1\E /persistent:no

by ibrahim

If you already install the WSH in user's workstation and still can't execute the Scripts you may try other alternative by installing Internet explorer 5 and above. It's does help.

To delete the current mapping drive you can make use of the command below.

REM Delete current network drives
Net Use H: /Delete
Net Use L: /Delete
Net Use E: /Delete

REM Now Map the Network Drive
Net use H: \\PServer1\H
Net use L: \\Pserver1\L
Net use E: \\PServer1\E

This discussion is closed to new replies.