Discussion Locked

Changing mapings in logon script?

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

Hi,
I have a NT 4 server and I have a new Windows 2000 Server that will be replacing it. I would like to keep the same share folder but I am changing the server name. My question is I use a logon script with drive mappings and need to change one of the mappings. Right now one line read reads:
net use g: \\amerisc02\applied
and I need it to change to
net use g: \\Applied\applied.
Can I change the script so it will automatically clear out the old mapping and point it to the new mapping in one logon? I hope I explained everything clearly.
Thank you.

9 replies

by kozmo

Yes but they will get an error/question asking them about the new mapping over the old nad if they answer wrong ....
it would be better to delete the g: mapping first and than add the new one. Leave this script in play for a while until you are sure everyone has the new mapping and than remove the mapping delete line out of it.

by curacao_dejavu

yes, that would work !

assuming the domain wel be the same, thus you are not replacing the nt server that is the pdc.
because in that case you will have to unjoin and rejoin to the new domain (even if the name stays the same (differnt sid and all).

Leopold

by lt1transamgt

Thanks for the answers but how would I do it. Can anyone give me the text of the statement? Is it del g: \\amerisc02\applied and then
net use g: \\applied\applied?

I am not changing he PDC. Just a member server.

This discussion is closed to new replies.