Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2003 SERVER LOG on SCripts

Status
Not open for further replies.

OTI2004

IS-IT--Management
Joined
Feb 16, 2004
Messages
5
Location
US
Hello,

Any help is greatly appreciated.

We are running 2003 domain with Active directories, we created our script and added each group to their own group and map drives accordingly. However, we recently change the shares and server on those scripts, the PCs seems to still mapped to the old script setting, yet we have verified that each time the user logon, the logon.bat script is running from the correct location.

We have tried to reboot the servers and PC, the client called the new sripts, yet when checking on the mapped drives, they still reflects old shares.

Most of our client are on 2000s, few are on XP.

Thanks

Dat
 
Maybe in your script make sure that the drive letter is available before mapping the drive.

In non-script terms, do something like this:

1) Delete the W:\ mapping
2) Map the W:\ drive to the appropriate share name

I think you may just have a problem with your script. If the drive letter you are trying to map through your logon script is already mapped, the script to map the same drive letter to the new share may FAIL. Therefore, you should include a "Delete drive mapping" right before your attempt to map the correct drive letter.

As a test, you may want to login as a user. Delete (disconect) all network drive letters. The login.....if you now see the proper drive mapping, you should change the script to first delete the drive letters.

-hope this helps..

Joseph L. Poandl
MCSE 2003

If your company is in need of experts to examine technical problems/solutions, please check out (Sales@njcomputernetworks.com)
 
Jpoandl has the answer. Put this before you map the drives on the login scirpts.

net use * /del /y

this deletes all the mapped drives on the computer. And then they will get remapped when the rest of the script runs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top