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
  • 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

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.

Question has a verified solution.

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

Table of Contents: Lesson 1 - Installing Windows Server 2012 ( Lesson 2 - Configuring Ser…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
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…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

863 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

23 Experts available now in Live!

Get 1:1 Help Now