Is there a way to take an exported data source configuration (ie, Shared_Database.rdd) and import it without end user interaction? Either using the command line or modifying a configuration file in %userprofile%\appdata\local\Devolutions\RemoteDesktopManager\ would be acceptable.
The goal here is to provision a desktop from scratch and have these settings configured ahead of time.
I'm kind of desperate for some sort of solution, and can be pretty flexible how it's done. I would just need to know what/where settings to change.
Any help would be appreciated!
Hi,
The data source configuration is included in remotedesktopmanager.cfg. Perhaps it would be simpler to copy this default configuration when you deploy a desktop. It's usually located in %LocalAppData%\Devolutions\RemoteDesktopManager
http://help.remotedesktopmanager.com/installation_configurationfilelocation.htm
David Hervieux
if you do redistribute a data source config that way, it will replicate your credentials.
If that is not what you want, you can use integrated security if you're running a SQL Server datasource, if not, you can probably use %USERNAME% (which will grab the logged on user name) and check "always prompt for password"
Maurice
This has been excellent information! Thank you for the quick responses. I've got a working solution, and I'll post exactly what I did here in a few.
I look forward to seeing you folks at TechEd again this year!
oh, just wait until you see our swag, we're innovating there again!!! Definitely come and say hi.
Maurice
The environment I'm working in is a VMware Horizon View, Non-Persistent pool of 5 desktops. For those that don't know, that means that when a user logs out of one of these desktops, all changes are reverted to a "base" state.
We purchased 5 license keys, so I needed to make sure that we were adhering to your license requirements. Beyond that, I needed to make sure that my MSSQL backend for the connections was configured.
I was able to take care of this using the batch script below. It is key that you use a common account to access the SQL database or using integrated auth as Maurice mentioned. It should be pretty self explanatory, but if anyone has questions, I can answer them.
P.s.
I do realize that I could have done the computer to key mapping easier using a more powerful scripting language (powershell/vbs/etc) that supports arrays, but I've got some unique restrictions on this pool of machines that restrict some of the features that Powershell and VBscript use to execute commands against the OS. Hence the batch file...
Here ya go:
@echo off
REM Set Variables
Set sourceconfig=Enter Full Path To Source RemoteDesktopManager.cfg
Set regUser=Enter Name Here
mkdir %localappdata%\devolutions\remotedesktopmanager\
copy /Y %localappdata%\devolutions\remotedesktopmanager\ %sourceconfig%
REM Set Correct Key per computer
if "%COMPUTERNAME%"=="Machine1" set key=12345-67890-abcde-fghij-klmno
if "%COMPUTERNAME%"=="Machine2" set key=12345-67890-abcde-fghij-klmno
if "%COMPUTERNAME%"=="Machine3" set key=12345-67890-abcde-fghij-klmno
if "%COMPUTERNAME%"=="Machine4" set key=12345-67890-abcde-fghij-klmno
if "%COMPUTERNAME%"=="Machine5" set key=12345-67890-abcde-fghij-klmno
"C:\Program Files\Devolutions\Remote Desktop Manager\RemoteDesktopManager.exe" /RegisterUser:"%regUser%" /RegisterSerial:"%key%"
edited by Pharmajon on 2/27/2014
edited by Pharmajon on 2/27/2014
wow nice work, thank you for sharing
Stéfane Lavergne