Scripted install including importing the .cfg configuration file?
I'm writing a PowerShell script to fully automate the install and configuration of RDM. I've gotten it to perform the installation and I'm now trying to automate the process of importing the cfg, setting the master key, etc. Is it possible to automate all of this?
The intent is to completely automate the setup, including settings like the dark theme, UX settings like if status bars are shown, etc.
Hello,
Thank you for contacting us on that matter,
This is fully automatable via the RDM PowerShell module.
Once you import the module (RemoteDesktopManager.PowerShellModule.psd1 from the install folder), you can handle each piece with dedicated cmdlets:
Import-RDMDataSource, Set-RDMCurrentDataSource, Set-RDMDefaultDataSourceSet-RDMDatasourceMasterKey (accepts a SecureString)Unlock-RDMRepository or Unlock-RDMApplication, depending on what's locked
For UX settings like the dark theme and status bar visibility, the simplest route is to configure RDM once the way you want it, export those settings via File → Settings → Export Settings as default.cfg, and drop that file in the RDM install folder — it gets applied automatically to any machine/profile without an existing config. For anything more dynamic, the module also has Set-RDMDatasourceProperty and Set-RDMSystemSettingsTags for scripting individual settings directly.
Let me know if that answer your question.
Best regards,
Tommy Sanders