Solved

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

Posted on 2010-09-03
8
672 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
ID: 33598356
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
ID: 33599004
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
 
LVL 1

Author Comment

by:Pkafkas
ID: 33599426
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
ID: 33599975
OK then, set it in gpedit.msc on that server instead of GPO in domain
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 1

Expert Comment

by:jharoraven
ID: 33600155
If it is already mapped the gpedit.msc will do, if not the startup script
0
 
LVL 1

Author Comment

by:Pkafkas
ID: 33603017
OK, I will try it on Tuesday.
0
 
LVL 1

Author Comment

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

The printer is locally installed.
0
 
LVL 1

Author Closing Comment

by:Pkafkas
ID: 33686456
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A short film showing how OnPage and Connectwise integration works.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

919 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

14 Experts available now in Live!

Get 1:1 Help Now