Announcing SBC Printers, A simple printers interface for XenApp / VDI

A little irk of mine with Windows 7 and server 2008 R2 was the Devices and Printers interface. This mix of peripherals is fine for standard desktops, but in SBC / VDI the devices list generally contained items you didn’t want users seeing, or ejecting for that matter!

default interface

Not happy with the Irk, and still on my app developing buzz, i decided to write SBC Printers:

default

SBC-Printers is a simple little .net 4 application, leveraging WMI for printer enumeration and control.Because SBC Printers is an executable, it can published as a XenApp application. Sbc Printers can also be installed as the default printers interface on the start menu:

start menu

So really your users won’t know the difference or care for that matter!

SBC-Printers also comes with securable options for adding or deleting local printers:

add

delete

The display of add or delete can be controlled via the settings file in the installation directory:

settings file

Installation:

  1. Download the following MSI
  2. Install the MSI to the default directory.

To restrict the standard printers dialog from users, but leaving it accessible to administrators:

  • Browse to c:program files (x86)SBC-Printersbin

powershell

  • run the powershell script below, make sure to run it as an administrator!

That’s it, once the Powershell script runs. it removes the users access to the registry classes giving them access to the standard devices and printers interface. Which means we’re now ready to provision SBC-Printers to replace it.

Provisioning the replacement to the user:

Now just import the userkey.reg into the users profile on login, you can do this via your user profile manager of choice, or use Group Policy preferences.

That’s it!

As you can see I haven’t streamlined the install process too much, this is mostly down to the simplicity of the tool. If you like SBC-Printers but would like a better installer, just drop me a comment below.

Roll back:

if you need to restore the standard interface, uninstall SBC-Printers then add the (local computerusers) group back to the following registry keys ACL:

  •  HKCRsoftwareclassesCLSID{A8A91A66-3A7D-4424-8D24-04E180695C7A}
  • HKCRsoftwareWow6432NodeCLSID{A8A91A66-3A7D-4424-8D24-04E180695C7A}

Related Posts

ThreadLocker 2.1 is available. Shortly after it's initial launch and great reception! I'm proud to announce the general availability of ThreadLocker 2.1. This is a minor up...
New Module: Creating an RDP file password with Pow... Here's something that is surprisingly tricky to automate in this day and age. Creating a password and storing it in an RDP file. I'm not here to debat...
ThreadLocker 2.0 is live! Back in 2012 I wrote a utility called "ThreadLocker" for dealing with CPU heavy processes or multi threaded processes that have a nasty tendency to ca...

11 Comments About “Announcing SBC Printers, A simple printers interface for XenApp / VDI

  1. Pingback: Better and safer interface for Printers in SBC / VDI « Thincomputing.net

  2. CyberRuiz

    Great interface… thanks for the post and will certainly be utilizing it. Seen/heard many times (for some reason) of users going under Devices and Ejecting the VMware Virtual Disk SCSI Disk Device (ouch), although I was able to go around it, I like your interface which will not let users mess around much.

    Cheers!
    Daniel

    Reply
  3. Massimo

    Hi Andrew, just great the tools that you make.
    Is there a possiblity to add Multi Language Support to SBC Printers?
    Need German & French.

    Thanks
    Massimo

    Reply

Leave a Reply