Mapping printers via logon script Windows 2003 Server: school environment

Posted on 2006-05-23
Last Modified: 2009-05-20
Hi there....
I work in a school environment and am searching for a solution concerning printer mappings in our schoolnetwork.  Network is a mixed environment of a windows2003 standard DC, winXP-prof clients, Win2K clients and win98 clients. DC/Server is set up as a file server: based on logon a pupil or teacher gets access to his/her files on the shared directory on the server. I should point out that I can't use any profiles,  since the clients are all strictly secured locally. (a user works on a cached version of the OS and other software, the clients are restored fully and automatically after powerup).

At logon a .bat-script is executed that maps the correct user-folder for the user in explorer. Now I would like to extend the script with appropriate printer mappings... (The printers are all shared local printers, not genuine LAN printers.)

Ideally the printers should be mapped based on the fysical location of the client computer,  since the pupils use different computers in different classrooms depending on subject. I don't know wether that is possible or not...  So e.g. I logon on a client pc in a science classroom and get the science-classroom-printer mapped. Would be nice....
Question by:Eburon
    LVL 2

    Expert Comment

    You can use W2K3 Group Policy to do this.

    Create separate OU for each classes, then create GPO for each OU. Put the logon script in the Computer Settings section of each GPO accordingly. Disable the User Settings in the GPOs.

    So, anyone who use the PC in science classroom will get printer for science classroom only, and so on...

    Author Comment

    Tnx for your answer :)  Do I get this straight when I interpret your answer as: make an organisational unit for each classroom instead of for the users, then assign loginscripts to the respective computers in the classrooms rather than to the users in the respective classrooms?
    LVL 2

    Accepted Solution

    I was assuming that each student is having single useraccount in the domain and use it in every classes he/she attends. So create OU for each class, and arrange all computer accounts accordingly to each OU and apply the GPO.  You can put all users in a single / separated OU.

    By putting it in the Computer Settings section of the GPO, then any users who log in on a particular computer (e.g. science class) will always get network printer allocated for that classroom only. If you put it in the User Settings the the same loginscript will apply regardless of the computer & classroom he/she logs in.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
    I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    755 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

    23 Experts available now in Live!

    Get 1:1 Help Now