• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2756
  • Last Modified:

Setting a default printer in a Remote APP


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
  • 2
1 Solution
Kevin HaysIT AnalystCommented:
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

wsc-itAuthor Commented:
How would we tailor that to that remote app only
Kevin HaysIT AnalystCommented:
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.

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now