Avatar of kevin1000
kevin1000 asked on

Terminal Server sessions not holding default printer

Environment:
  Windows 2008 R2 Server running Terminal Server
  Windows 7 Pro workstations
  Connecting thru RDP
  15 Users with HP Laser printers attached to their local workstations
  I have shared out the local printers and they can print locally but management is getting      tired of having to reset the default printer in the terminal session each morning.
Help!
Thanks
Windows Server 2008Microsoft Legacy OS

Avatar of undefined
Last Comment
Ratnesh Mishra

8/22/2022 - Mon
AdrienneSperber

If XPS Document Writer exists in the printers, it will continue to default back to that at every login/restart.  The only way to stop it is to remove that printer.
djcanter

There is a bug in 2008 where redirected printer ports aren't removed upon logout and eventually it overflows or assigns bad ports to redirected printers.

Hotfix 2655998 fixes this and there is a FixIt script on the KB article for clearing out those filled registry keys.
Ratnesh Mishra

You have a terminal server and you have default printer configured on it. You are using it as printer for all users doing RDP to terminal server.
You mentioned that you have connected local printer to all user and its working fine .
Again default printer on Terminal server is reset every morning to keep the setting working .

I am unable to understand the issue correctly .

Please explain what you want to achieve ? What are the issues you are facing ? If you are using any work-around ,then do let us know ?

Above mentioned hotfix KB2655998 is for deleting inactive port which reside in the registry if the session is not logged off properly. So it fix the issue of Inactive port which ultimately fixes the issue of slow performance.

As you mentioned ,you have local printer connected to the workstation and its working fine so you can use a group policy for printer redirection so that client default printer will be used as default printer in the RDP session .

http://technet.microsoft.com/en-us/library/cc731963(v=ws.10).aspx
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER
kevin1000

Ok...thanks for all the input.

I will not be able to work on it until Monday so I will reply then.

Thanks
Kevin
ASKER
kevin1000

Explanation and update:

1)  AdrienneSperber:  XPS Document Writer removed

2)  Rusty & DJ:  More detailed explanation.  

The workstations have their own printer (ie. HP4200) connected to them via USB.

The user logs on to the TS and then wants to print back to their own printer in all programs that they use during the day.

Every morning each user, after logging in to the TS, has to go in to the Devices & Printers and set their own Default Printer.  Even when they logout of the TS for lunch and come back and login to TS again they have to reset the Default Printer.

If the answer to this is too detailed (ie. reg edits etc), is it possible to run a command at login for each different user to make the correct local printer a default?

My boss is driving my crazy over getting this fixed.

Thanks
Kevin
ASKER
kevin1000

Any thought?

Thanks
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Ratnesh Mishra

Have you Disabled "Do not set default client printer to be  default client printer in a session" in the group policy in the Group Policy Management Console is Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Printer Redirection.
ASKER
kevin1000

Rusty,

Is that what I want?  To have the local default printer be their default printer in the terminal session?

Thanks
Kevin
Ratnesh Mishra

Yes , based on the information you have provided it seems so. Let me rephrase the entire situation what i understood :-
Users have a USB printer [HP4200] attached to their local workstation and they are working in RDP session .
The user logs on to the TS and then wants to print back to their own printer in all programs that they use during the day.

So the printer attached locally is the default printer which they want to use on his daily printing activity.

Every morning each user, after logging in to the TS, has to go in to the Devices & Printers and set their own Default Printer.  Even when they logout of the TS for lunch and come back and login to TS again they have to reset the Default Printer.

If you are not using any Group policy it means any configuration your user does after getting into RDP session , have to perform again if he logged out . As the configuration will not remain persistent.
It could be achieved through GPO.
If the answer to this is too detailed (ie. reg edits etc), is it possible to run a command at login for each different user to make the correct local printer a default?

Group policy is the best and easy method .
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER
kevin1000

Rusty,

I currently have:

Do not set default client printer to be default printer in a session  ------ Not Configured

Do not allow client printer redirection  ------  Disabled


I'm thinking the second one might be causing the problem.

Kevin
ASKER CERTIFIED SOLUTION
Ratnesh Mishra

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question