Skip to main content
Barracuda MSP Partner Toolkit

How to Automate Silent Device Manager Deployment

Managed Workplace includes several options to deploy Device Managers, including emailing or downloading the installer directly from Service Center, or creating an automated task to handle the installation for you. However, you may wish to use other technologies, such as a group policy, to automate deployment. This article serves as a launching pad for ideas on how to accomplish this task, but please note that Managed Workplace Support does not assist beyond this.

Device Manager Packages contain dynamic information about the Managed Workplace sites to which they belong. It is imperative to download the package for the site with which you will be working.

To do download the Device Manager follow the procedure below:

  1. In your Managed Workplace UI, go to Site Management
  2. Select Sites
  3. Click the name of the site where you want Device Managers installed.
  4. Click the Device Manager tab.
  5. Click Download Device Manager.
  6. Click Save to download the Device Manager.
  7. Extract the ZIP and store in a location accessible to all devices

Now that you have the package to install, you must make sure that a flag exists in the registry of target devices which will allow the installer to complete silently. The easiest way to do this is to run the following visual basic script before running SetupDM.exe:

SetRegistryValue "SOFTWARE\Level Platforms\Managed Workplace\Onsite Manager\Install\", "DmSilentMode", "true"
'Set the registry value in HKLM. The registry key is created.

Sub SetRegistryValue(ByVal path, ByVal name, ByVal value)
Dim strComputer, oReg, createResp, status
const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
createResp = oReg.CreateKey(HKEY_LOCAL_MACHINE, path)
status = oReg.SetStringValue(HKEY_LOCAL_MACHINE, path, name, value)
Set oReg = Nothing
End Sub


Once the visual basic has set the DmSilentMode value to true, executing
"SetupDM.exe –ywill complete the installation silently. You can use this combination to deploy through group policy or other delivery systems.

Once installed, the system tray icon will not be available until after the device is rebooted. This avoids the possibility of the application being set to run in the operating systems' session 0.