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

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now