Solved

SBS2011 server, where to I copy a .bat file to map new network drives for my domain users

Posted on 2014-11-14
3
258 Views
Last Modified: 2014-11-22
Have a new sbs2011 server. Want to map all clients to the new network file shares. Where do I copy the .bat file on the domain controller to delete the users current mapped drives and map the new drives? it is the domain name/sysvol folder?
Thanks
0
Comment
Question by:dronethought
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 167 total points
ID: 40443643
Here is a link on how to create drive mappings based on Group policy (This is your best solution for what you need)

http://blogs.technet.com/b/askds/archive/2009/01/07/using-group-policy-preferences-to-map-drives-based-on-group-membership.aspx
0
 
LVL 6

Assisted Solution

by:Uptime Legal Systems
Uptime Legal Systems earned 167 total points
ID: 40443695
Alternatively, you can specify a logon script to run from \\localhost\NETLOGON per user via their Profile tab in AD.

net use * /delete /y
net use x: \\SERVERNAME\SHARENAME

Open in new window

0
 
LVL 96

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 166 total points
ID: 40443719
Group policy is the better solution, but legacy scripts can be run by doing two steps:
1. put the file you want to run in %systemroot%\sysvol\sysvol\<DNS Domain Name>\scripts folder - for example, if your domain was abc.local, the path would likely be C:\windows\sysvol\sysvol\abc.local\scripts
2. in every user's account (when using Active Directory Users and Computers, not the SBS console, under the Profile tab, enter the script name only next to Logon Script.  NOT the full path.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question