How to set new user environment variables such as mapped drives & printers to be applied upon account creation.

Posted on 2011-10-17
Last Modified: 2012-05-12
Good afternoon.

I have seen on some servers (Windows 2003 & 3008) where pre-defined variables are applied when a new user account is created. Is there a resource available that can show how this can be done? I'd like to have shared drives and printers automatically created with the user account. I'd also like to know if it's possible to apply new variables (such as a new printer) to user profiles so that manual intervention is not necessary.

Thanks in advance for any suggestions on where I can start to learn how to accomplish this task.
Question by:Poly11
    LVL 37

    Expert Comment

    You create a "Template user" In AD and then you new users you create by doing a right click on the template user and selecting COPY.
    As for additional printers and drives, use group policies.
    LVL 77

    Accepted Solution

    Agreed a variable is the wrong term or method here.  A variable is something like %computername%.
    Mapped drives with Server 2003 and 2008 are generally created with logon scripts that are applied either to the user profile, or through group policy. Server 2008 R2 and newer had additional options for applying both mapped drives or printers.
    As for printers they can also be applied with a logon script or published through Active Directory.
    The following is an excellent source for logon scripts.

    Author Comment

    Thank you for your responses. I am going to work with this over the next several days and review the link provided.

    Author Closing Comment

    Thank you. Your advice helped accomplish the task!

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

    746 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

    16 Experts available now in Live!

    Get 1:1 Help Now