Install the new Remote Desktop Connection Manager (RDCMan) with ConfigMgr and PowerShell

Introduction

Another kickstarting blog post, getting into the swing of things again after a somewhat lacking period.

Now, RDCman has been revived and arrived last week in a new version 2.8.

For fun and giggles, I did a short PowerShell script which uninstalls the old version (2.7, registered with windows installer) and downloads the new version 2.8 directly from live.sysinternals.com.

This is a little something on the script itself and how to put that to use with ConfigMgr.

Old RDCMan

The old RDCman was put into the grave some time ago, but has now been revived into the Sysinternals suite. The old version, was a downloadable .msi and was registered with the Windows installer once installed.

PowerShell

My PowerShell script, which is found on my GitHub page here Powershell/Install-NewRDCMan.ps1 at master ยท imabdk/Powershell (github.com) comes with two parameters:

  • -Install
    • This will look for the old RDCman installation. If found, this will be uninstalled automatically and the new RDCman will be downloaded and installed from the Internet. The new RDCman will be installed into C:\Program Files\SysinternalsSuite
  • -Uninstall
    • Uninstall the new RDCMan and removes installation directory C:\Program Files\SysinternalsSuite

Configuration Manager

Create a regular package in ConfigMgr and create two programs running:

NOTE: You can make this a tad more delicious by creating it as an application, but that will require that you come up with some sort of detection method.

  • powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File .\Install-NewRDCMan.ps1 –Install
  • powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File .\Install-NewRDCMan.ps1 –Uninstall

ENJOY ๐Ÿ™‚

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.