Assigning Printer when user logs into Windows terminal server

Posted on 2014-08-16
Last Modified: 2015-03-28
Is there a way that when a user logs into a Windows terminal server I could assign that user a specific printer.

In this case the printer that we would like to always make the default is named "Laserfiche Snapshot 8"
Question by:armgon
    LVL 32

    Expert Comment

    YOu can do this via a group policy or batch script.

    Here is a URL with some additional information from MS TechNet.
    LVL 9

    Expert Comment

    add new printer
    local printer- untick auto detection
    add new local port
    enter \\servername\sharename
    give it the drivers it requires
    and the printer now is a 'local' printer and all users will get it

    alternative use a default user profile and add the printers during the setup process
    LVL 15

    Accepted Solution

    If you can't do it by group policy (not sure why not) you could make a script and drop it in the user's windows startup folder on the terminal server.

    Startup Folder in 2008 is C:\users\<username_here>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\

    If you took my text below and saved it as defprint.vbs, you'd copy the resulting 'defprint.vbs' file into the user's StartUp folder. Just change my line of code to equal whatever printer you want.

    dim objNetwork
    set objNetwork = createobject("Wscript.Network")
    objNetwork.SetDefaultPrinter "Laserfiche Snapshot 8"

    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

    [b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
    If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
    This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
    This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

    730 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

    15 Experts available now in Live!

    Get 1:1 Help Now