AD, Mapped drives and permissions issue

Posted on 2005-04-24
Medium Priority
Last Modified: 2010-03-18

using SBS 2000 i would like to be able to roll out 4 mapped drives to each user, also give that user power user status on thier local machine (sage!). how do i go about doing this in AD?
Question by:pbrane
  • 2
LVL 40

Expert Comment

ID: 13853123
Don't have an SBS 2K box in front of me, but you should be able to place the user in the Power Users group in AD.

Then create some simple batch files that map the drives, put them in a Script Folder, and push them out using Group Policy:

User Configuration > Windows Settings > Scripts > Logon


Accepted Solution

kcmurphy1 earned 2000 total points
ID: 13853550
FE is right about the scripting... that is your best course of action.  Let me know if you are unformilar with Group Policies and how to get its settings.  As for the script, I will give you an example.  Copy this and save it as "MapDrive.vbs".  

***** Begin ******

On Error Resume Next

    'Maps Network Drives
      Set objNetwork = Wscript.CreateObject("WScript.Network")

          objNetwork.MapNetworkDrive "G:", "\\SERVER01\Team Folder"
          objNetwork.MapNetworkDrive "S:", "\\SERVER01\Applications Folder"
          objNetwork.MapNetworkDrive "T:", "\\SERVER01\vol1\FSystem"
          objNetwork.MapNetworkDrive "Z:", "\\SERVER01\Distribution Folder"

   'Map Printers

      Set objNetwork = Wscript.CreateObject("WScript.Network")
      objNetwork.AddWindowsPrinterConnection "\\SERVER01\Color  Printer 1"

******* End ******

If you don't know GP, then just place it in the C:\WINNT\sysvol\sysvol\DomainName\Scripts folder.  It should work there, but GP gives you more control.  GPMC is a great tool to download to help you with GP:   http://www.microsoft.com/downloads/details.aspx?FamilyId=0A6D4C24-8CBD-4B35-9272-DD3CBFC81887&displaylang=en 

Kevin Murphy
Murph Solutions
LVL 40

Expert Comment

ID: 13853677
Nice, and much better than a batch file!


Expert Comment

ID: 13853877
I think this will work , but has to be applied trough GP

Add domain user to power users group


Dim strComputer
 Dim strUser
 strComputer = objNet.ComputerName
 strUser = objNet.UserName

 Set objGroup = GetObject("WinNT://" & strComputer & "/Power Users")
 Set objUser = GetObject("WinNT://MyDomain/" &strUser)


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

840 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