Skip to main content
Barracuda MSP Partner Toolkit

How to Automate Silent Device Manager Deployment

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.

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 Service Center click Configuration, and then click Site Management.
  2. Click the name of the site where you want Device Managers installed.
  3. Click the Device Manager tab.
  4. Click Download Device Manager.
  5. Click Save to download the Device Manager.

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 DMSetup.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 SmSilentMode value to true, executing
"DMSetup.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.

  • Was this article helpful?