AD Sync without launching RDM

AD Sync without launching RDM

avatar

Using the command line to initiate a AD sync session, can this be done without being logged in... Using scheduled tasks or something else.?

Every time i try to use scheduled tasks it fails, and i think that is since the app needs to open in order to run the sync?

All Comments (10)

avatar

Do you get an error message?

David Hervieux

avatar

I only get an error message using the utility we are using for scheduled tasks.. since it times out expecting the task to finish. Since RDM opens and doesn't close after the sync it completes I am assuming it thinks it is in a hung status.

avatar

I will enter a feature request to specifically test this scenario

David Hervieux

avatar

Or maybe a if launched to sync close when complete?

avatar

Hi,

Using the command line to open a session, we've added the parameter "/CloseOnDisconnect" that will close RDM after the disconnect of the session or when the sync is complete.

This will be available in the next version.

Best regards,

Olivier Désalliers

avatar

Thanks!

avatar

I just installed 10.0.21 and it appears now that the session never launches and only RDM launches.

avatar

Do you mean the Synchronizer or an RDP sesssion?

David Hervieux

avatar

looks like both..

When launching the app with the command line from the session (sync or rdp) it only opens the app, and never launches the session..


This is a session for an RDP session, just launches RDM never starts the RDP session
"C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.exe" /DataSource:4a0ef29f-4b0d-4cd7-b739-86dfdee14735 /Session:6567c8aa-6142-4629-980f-876ba9f85cad

This is our AD-Sync session, which also just launches RDM and never starts the sync
"C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.exe" /DataSource:4a0ef29f-4b0d-4cd7-b739-86dfdee14735 /Session:2be6ba1b-56b9-4ffb-bf72-dd6fbab22d1d


I tried first with the new switch so went back to the old command line and it still doesn't work.
edited by mchipser on 12/11/2014

avatar

Hi,
This is now fixed internally.

David Hervieux