General discussion

Locked

Changing mapings in logon script?

By lt1transamgt ·
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.

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Kozmo In reply to Changing mapings in logon ...

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.

Collapse -

by lt1transamgt In reply to

Poster rated this answer.

Collapse -

by Curacao_Dejavu In reply to Changing mapings in logon ...

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

Collapse -

by lt1transamgt In reply to

Poster rated this answer.

Collapse -

by lt1transamgt In reply to Changing mapings in logon ...

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.

Collapse -

by Gigelul In reply to Changing mapings in logon ...

net use g: /delete
net use g: \\ServerName\ShareName

Collapse -

by Gigelul In reply to

CAUTION!
"del" is a delete file/s command

Collapse -

by lt1transamgt In reply to

Poster rated this answer.

Collapse -

by lt1transamgt In reply to Changing mapings in logon ...

This question was closed by the author

Back to Windows Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums