Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Printer Redirection

Posted on 2015-02-10
Medium Priority
Last Modified: 2016-06-24
We have cloud 2012 R2 server on which Remote desktop services are configured and users connect from thier pcs to that server via RDP. Every time user connect to server their printer maps to server and they are able to print. One user that use accounting programme having issue with printer, issue is when user connect printer session number changed always for. eg. printer redirected 11, 12, 13 etc. That program-me needs to configure again with new session printer.

 My question is can we fix printer redirection so it always stick on one session number not change when connect via RDP? Please Help
Question by:Tsicinc
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 24

Accepted Solution

VB ITS earned 2000 total points
ID: 40602425
That redirected ## number you corresponds to the user's Session ID. From what I know it's not possible to assign a specific session ID to a particular user. Your only options are to either configure the disconnected session to never log off (so they can disconnect then reconnect whenever they want) or have them log into the console session which gets given the session ID of 0.

The console session is normally reserved for administrators only though and a number of RDP features are also disabled. To get to the console session you have to run mstsc.exe with the /admin switch (or the /console switch if you're using an older RDP client). One of the features that the console session disables though is the Remote Desktop Easy Print feature which is what you may or may not be using for the redirected printer driver.

For more information on what exactly gets disabled, see this article:

Author Comment

ID: 40603220
i tried to login with user by using mstsc.exe /admin and get this error the "requested session access is denied".

also if we use with mstsc /admin we can still print or not?
LVL 24

Expert Comment

ID: 40603230
i tried to login with user by using mstsc.exe /admin and get this error the "requested session access is denied".
Probably because the user doesn't have administrator rights so that's to be expected.
also if we use with mstsc /admin we can still print or not?
This depends on the printer driver you're using for the printers. Did you manually install drivers for each of the users' printers on the 2012 R2 server or did you simply connect and saw that the printers redirected without any issues?

As I said in my previous post, what you are asking for is unfortunately not possible as you can't control the session ID a particular user gets when they log in. Your only option would be to never log off disconnected sessions so that when the user logs in, he connects to his disconnected session.

If the server reboots then he'll get a new session ID, which means you'll need to reconfigure the printer in the accounting software. This is probably still better than having to do it each and every time the user logs in though.

Author Comment

ID: 40603242
ok, we can't give user admin rights. So its better to remove logoff feature then test with user. We can remove logoff feature   via Group Policy right?
LVL 24

Assisted Solution

VB ITS earned 2000 total points
ID: 40603290
We can remove logoff feature   via Group Policy right?
Yes you can. This article will show you the necessary GPO setting and path required to achieve this:

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

670 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