Learn how to a build a cloud-first strategyRegister Now

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

Assigning Printer when user logs into Windows terminal server

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"
1 Solution
YOu can do this via a group policy or batch script.

Here is a URL with some additional information from MS TechNet.
Natty GregIn Theory (IT)Commented:
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
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

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

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