Setting a default printer in a Remote APP

Posted on 2012-09-17
Last Modified: 2012-09-26

We run an RDS 2008 R2 Farm and use RemoteAPP quite a bit

One scenario we use remoteapp is for a POS program at our swimming centres, it seems to pick whatever default printer is inside that session and not the redirected printer of the local machine

to make things worse, There is nowhere in this to set your ptinter, it simply looks in your printers folder for the detault printer set and uses that
Question by:wsc-it
    LVL 16

    Expert Comment

    You could always do a login script to set the default printer to make sure it's the one you want.

    Here is a link.


    Option Explicit
    Dim objNetwork, strUNCPrinter
    strUNCPrinter = "\\LittleServer\HP LaserJet 2420"
    Set objNetwork = CreateObject("WScript.Network")
    objNetwork.AddWindowsPrinterConnection strUNCPrinter

    ' Here is where we set the default printer to strUNCPrinter
    objNetwork.SetDefaultPrinter strUNCPrinter
    WScript.Echo "Check the Printers folder for : " & strUNCPrinter


    Author Comment

    How would we tailor that to that remote app only
    LVL 16

    Accepted Solution

    You would apply that in the group policy management console.  Under the user configuration section is where you would set it.  Here is a link, it starts about 1/3 of the page down with screenshots.

    It pretty much shows you how to create a test OU, put a user in there and link and edit the GPO for that user to test with before you make any big changes.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    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

    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
    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…

    779 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

    12 Experts available now in Live!

    Get 1:1 Help Now