Printer Redirection

Posted on 2015-02-10
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 500 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 500 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

In my previous 24 VMware Articles (, most featured Intermediate VMware Topics. My next series of articles concentrated on topics for the VMware Novice;   If you would…
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

636 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