Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 41
  • Last Modified:

Printer Redirection

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
printers-image.png
0
Tsicinc
Asked:
Tsicinc
  • 3
  • 2
2 Solutions
 
VB ITSSpecialist ConsultantCommented:
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: http://windows.microsoft.com/en-au/windows/command-line-parameters-remote-desktop-connection#1TC=windows-7
0
 
TsicincAuthor Commented:
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?
0
 
VB ITSSpecialist ConsultantCommented:
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.
0
 
TsicincAuthor Commented:
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?
0
 
VB ITSSpecialist ConsultantCommented:
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: https://technet.microsoft.com/en-us/library/cc940397.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now