Solved

Force a printer on a Terminal Server to be your default printer?

Posted on 2010-09-03
8
663 Views
Last Modified: 2012-05-10
Hello:

We have some business partners that connect to a Server remotely via an SSL connection and then with Remote Desktop Connection.

The connection is working fine; but, the users need to use a specific application on this Server(that is they they are remotely  connecting to us).  Then if one would like to print from that application one needs to manually change the default printer to be 'printer1', when they logon to the Terminal Server.  

The problem is that the users need to change their default printer to be 'printer1' every time they logon to the Server.  Currently when they connect the remote PC's actual default printer is set as the default printer, in the user’s terminal logon session.  That is why the user needs to manually change the default printer to be ‘printer1’ every time they logon.  

Shouldn’t the default printer stay with the user account settings?  In this case the user account that is used to logon to the Terminal Server.  Is there a way to force it to remember the default printer 'printer1' for the next time they logon?
0
Comment
Question by:Pkafkas
  • 4
  • 2
  • 2
8 Comments
 
LVL 1

Expert Comment

by:jharoraven
Comment Utility
Are you using a Active Directory? If so, you can create an Organizational Unit and put all of your users there, then create a policy and apply a logon script to do that.

Script should look like this (test.vbs)

Dim wshNetwork
Set wshNetwork = CreateObject("WScript.Network")

wshNetwork.SetDefaultPrinter "PrinterName"
0
 
LVL 39

Accepted Solution

by:
Krzysztof Pytko earned 500 total points
Comment Utility
I would souggest to set up new GPO and configure Termian Services node for them.

Read this article

http://www.computerperformance.co.uk/w2k3/services/terminal_services_group_policy.htm

and look for section "Do not set default client printer to be default printer in a session", then server's default printer takes effect.

This is computer setting, so apply it to OU with your server
0
 

Author Comment

by:Pkafkas
Comment Utility
This Server is not part of our Windows Domain.  It is a stand alone server in a workgroup.  It is connected to via IP address.
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
Comment Utility
OK then, set it in gpedit.msc on that server instead of GPO in domain
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 1

Expert Comment

by:jharoraven
Comment Utility
If it is already mapped the gpedit.msc will do, if not the startup script
0
 

Author Comment

by:Pkafkas
Comment Utility
OK, I will try it on Tuesday.
0
 

Author Comment

by:Pkafkas
Comment Utility
Do you mean make a batch file for the start up script?

The printer is locally installed.
0
 

Author Closing Comment

by:Pkafkas
Comment Utility
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

772 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

16 Experts available now in Live!

Get 1:1 Help Now