• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

Correct Configuration for ControlUp EUC Sync

Posted on February 2, 2024

A user shared a question about the documentation for EUC Sync, noting a discrepancy in the instructions. Other users confirmed and provided further clarification, discussing the use of the cfg file and the importance of setting the parameters correctly before setting up a scheduled trigger. Overall, the conversation provided helpful insights for using EUC Sync with ControlUp.


Read the entire ‘Correct Configuration for ControlUp EUC Sync’ thread below:

I believe this documentation is not correct. In step 2 it does not say to change COMMIT CHANGES TO YES. Can someone confirm?

https://support.controlup.com/v1/docs/euc-synchronization-with-universal-sync-script#script-arguments:~:text=the%20[…]0Script,-The%20previous%20step


Make sure the Preview parameter in the cfg file is set to True. This allows you to simulate the synchronization process.

Preview == commit changes

well, its the inverse of commit changes. But still

Once no errors are shown in the output, you can start the synchronization again. Make sure the Preview parameter in the cfg file is set to False

I think the thought behind having you edit the cfg file directly is because the mode parameter is kind of clunky.

Instead of modifying the cfg file directly you’d have to:

• run the script with mode: save, preview: false. This will just store preview mode value change

• run the script again with mode: run

Another note. If mode == run, the script ignores most if not all other parameters. In run mode it just takes the configuration from the cfg file(s)


we run it with

COMMIT=no

MODE=SAVE

Then run again

Commit=Yes

Mode=Run

Is that not right?


It is not. unless it was changed recently, your 2nd invocation would ignore the commit=yes and run with whatever was stored in the cfg file


i did what i outlined about and this is what the cfg file looks liek

"SyncFolder": "iWorkstation Desktops",

"AddBrokers": false,

"Excludes": "",

"delete": true,

"LogDuration": 30,

"LogPath": "C:\\ProgramData\\ControlUp\\SyncScripts\\Logs",

"VerbosDebug": false,

"Preview": false

}


Commit=yes

Mode=save

Then

Commit =yes

Mode=run


and the script is doing the job

so PREVIEW is the SAME variable as COMMIT?


If your setting this up on a new org preview is pointless.

But yes, I believe so.


so we should always have COMMIT=YES


Yep.


And then we don’t have to manual edit a cfg file and change PREVIEW =False?


Correct. Just run it the last time with mode=run.


I ❤️ programmers


🙂


Once you set it up to your liking then you can set it up as a scheduled trigger and let it do its thing. 😊

Continue reading and comment on the thread ‘Correct Configuration for ControlUp EUC Sync’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: ControlUp Insights, Logs, Scripts, Triggers

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..