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

Script or policy to override local users mapped drives

I've created a simple script for map drives, e.g.

net use G: \\server\shared
net use I: \\server\sales
net use K: \\server\acct

I put this in the gpo.  How can I edit this so that this will override/replace what ever the users already have on their existing machines?  So that I don't have to go around and manually disconnect their existing drives?  

Also how do I prevent users from being able to disconnect these drives once in place?

Thanks
0
nelson97
Asked:
nelson97
1 Solution
 
al-hasanCommented:
We often did this:

# mapping script
net use G: /d
net use I:  /d
net use K: /d

net use G: \\server\shared
net use I: \\server\sales
net use K: \\server\acct

net use x: /d deletes the mapped x: drive, in the lower part it is created as before.

Regards,
has.

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

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