Login script not overwriting the new share location and leaving the old intact

I'm currently using login script in Active Directory to map drives and just added a new server.  Even though the new login script is saved with the new server location.  The users logon and the old mapped drive to the old server is still there.  The way I've been getting rid of it is be selecting all the shares and disconnecting but I'm pretty sure there is a better way for them to update correctly.  How do you do this?
ZantisAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NVITEnd-user supportCommented:
If your login script maps something like:

... you may need a disconnect line right before. e.g.
net use z: /delete

... then map to the new share
net use z: \\newserver\share1
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ZantisAuthor Commented:
Interesting, so you need to use net use to disconnect them in the login scipt beforehand, is this always a good general rule or just something I need to go because of the new server.  The old server had been running strong for 4 years without any issues without the disconnect script.  Just curious.
0
NVITEnd-user supportCommented:
It's not necessary. It does use a second or 2 of time. Still, adding wouldn't hurt. Up to you.

I assume everyone is using the same drive letter to share? That's a factor. Sometimes, users use the same letter but different share.

You may want to confirm that.

Also, try my suggestion on a station before rolling it out. To be sure it works.
0
ZantisAuthor Commented:
Basically, the shares on the new server are the same drive letter as the old server.  I was under the impression that just by changing the login script and changing out the server name would do the trick but of course the old share locations are still mapped to the old server.  I'm just figured it would remap them.  I just want to do it the correct way that it should be done.
0
NVITEnd-user supportCommented:
net use z: /delete
net use z: \\newserver\share1
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.