Home > Remote Desktop Services (RDS), Server Based Computing, Virtual Desktop Infrastructure, XenApp, XenDesktop > Announcing SBC Printers, A simple printers interface for XenApp / VDI

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-Printers\bin

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 computer\users) group back to the following registry keys ACL:

  •  HKCR\software\classes\CLSID\{A8A91A66-3A7D-4424-8D24-04E180695C7A}
  • HKCR\software\Wow6432Node\CLSID\{A8A91A66-3A7D-4424-8D24-04E180695C7A}
  1. Phil
    January 8, 2013 at 4:31 pm

    Hi Andrew, if you could come up with an installer / uninstaller that would be great

  2. January 9, 2013 at 1:35 pm

    Hi Andrew, this is just the interface many of my customers are asking for 🙂 Will it be possible to make it install/work with .Net 3.5?

  3. January 17, 2013 at 11:33 am

    @Andrew – Great interface!

    @Phil – I much prefer the lack of installer, it ensures whoever is installing understands what they are doing

  4. xpclient
    February 11, 2013 at 10:40 am

    And what about shell:PrintersFolder?

    • February 11, 2013 at 6:22 pm

      Nothing. I wanted a stripped down version.

  5. February 27, 2013 at 1:45 pm

    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

  6. Massimo
    May 26, 2013 at 12:26 pm

    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

    • May 26, 2013 at 12:29 pm

      Hi massimo,

      Would you like the source code to do it yourself?

      A

      • Massimo
        May 26, 2013 at 12:32 pm

        Oh, yes that would be great…..

    • Dominik Britz
      November 25, 2013 at 7:50 am

      Also interested in a german version. Is it possible to get your version?

  1. January 4, 2013 at 2:55 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: