AD, Mapped drives and permissions issue

Posted on 2005-04-24
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
    LVL 40

    Expert Comment

    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

    LVL 1

    Accepted Solution

    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:

    Kevin Murphy
    Murph Solutions
    LVL 40

    Expert Comment

    Nice, and much better than a batch file!

    LVL 6

    Expert Comment

    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

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    This video discusses moving either the default database or any database to a new volume.

    734 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

    21 Experts available now in Live!

    Get 1:1 Help Now