• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

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.
1 Solution
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 LongConsultantCommented:
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.

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 LongConsultantCommented:
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)

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now