Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 856
  • Last Modified:

XenApp Terminal Server - Remove Printer in User session removes Printer from all logged on users!

Dear Comunity

I have a strange behavior on my XenApp 7.5 Terminal Server farm.

Some background information:

Citrix XenApp 7.5 on Windows 2012 R2 (all avaliable Windows patches installed)
Running on VMware vSphere 5.5.0
Print Server running on Windows 2012 R2
Printer in use :
Now the following thing is happening. A user on the XenApp server is adding a printer and later the user is removing the printer, the printer is not only removed in the session of the user, the printer gets removed from all users logged on the same terminal server. User has no admin rights.

Printers are not redirected from the client workstations. The printer drivers are installed directly on the terminal server.

Did someone experienced the same issue with Windows 2012 R2?

Best regards
  • 4
  • 2
1 Solution
Spike99On-Site IT TechnicianCommented:
Session printers are printers redirected from the user's client PC & are available only in their own session.  If a person removed a session printer, then the printer is only removed from their session.

If the printers are not redirected and are installed directly on the Citrix server, unless the printer's security was edited to prevent everyone from seeing it, everyone will see that printer.  Then, if it gets removed, it will be removed for everyone.

So, the question is: how was this user able to install & then remove a printer on the server without Admin rights?  Look at the groups that user belongs to and make sure none of those groups have admin rights or print operator rights on the server.
DangerExpertsAuthor Commented:
Hi Spike99

Thanks for your answer.

I checked the user permissions and they are not added to Administrators, Print Operators or Power Users.

About your question, how they installed the printer driver. I installed all Printer Drivers on the Terminal Server with my administrator account. This way, the drivers are available if a user attach the printer. User cannot add printers from the Print Server if I did not install previously the printer driver with my administrator account. I checked that to be sure.

About your question: how was this user able to install & then remove a printer on the server without Admin rights? Actually they cannot install or uninstall the printer driver. Users can only attach or detach printers. But if a user detach a printer, the printer is detached on all logged in users.

Many thanks and best regards
Spike99On-Site IT TechnicianCommented:
the ability to add/remove printers can be delegated to non-admin users.  On the Citrix server, open up the Devices and Printers window, single click on any printer to highlight it. Then, click on the "Server Properties,"  check to see if that user or any group he's a member of a group that has elevated rights for the printers.

By default, the EVERYONE group is allowed "print" & "view server" rights.  If his account has "manage server" rights, that might explain why he was able to add & remove a printer that all users could see.

Here's a TechNet article on print server rights:
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

DangerExpertsAuthor Commented:
Hi Alicia

Thanks for your comment. Let me check this. Many thanks!
DangerExpertsAuthor Commented:
I found a Microsoft patch for my issue: http://support.microsoft.com/kb/2967077/en
DangerExpertsAuthor Commented:
this patch solved my windows issue

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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