Need to change network drive mapping on many PCs at same time - how?


I am installing a new server, which will require that I remap some network drives on many PCs in different areas.  This new server is an addition, so I can not create a DNS alias.  How can I remap all these PCs at the same time, with out having to physically (or remotely) log on to them and perform a drive disconnect and remap.

I currently have logon scripts, and have though about that method.....what is the best way to accomplish this task?  Please advise.  Thanks.
Who is Participating?
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.

rstuemkeAuthor Commented:
Follow-up....what I would like is a script that I could force to be run on each PC, without having to log on and off the user.
Pete LongTechnical ConsultantCommented:
login scripts are a natural choice?

but you can always EMail the users the script in a batch file and tell them to run it? or put a web link to the batch file for your users?
Are you in an active directory domain? If so then just use group policy to assign logon scripts.

Here is a great site to help you learn about logon scripts. You can use a script to delete old drive mappings and then map new drives.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

If you are looking for the specific command in the script look for help on

net use

You would use a command like

net use m: /delete
net use m: \\newserver\newshare /persistent:yes

Where m: is the mapping you want to change.

I think this may work even if you have a mixed os environment (provided it is microsoft only).
rstuemkeAuthor Commented:
Please expond on mailing the script to the users or the batch file execution from the browser.

Pete LongTechnical ConsultantCommented:
write in in a text file as you would in a logon script

4575 » How can I delete, and optionally remap, all mapped drive letters?

::start bat
@ echo off
net use * /d /y
net use s: \\server\share
net use h: \\server\share

save it in notepad with a .bat extension and mail it out or put it on a webpage (a link to it anyway) the users can then click and download or choose to run from the web server)

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
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

From novice to tech pro — start learning today.