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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

751 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