Stop agent temporary from autoupgrading and starting software update scan after installation

Stop agent temporary from autoupgrading and starting software update scan after installation

During our OS installation process we are deployment ME DC agent as part of the MDT (Microsoft Deployment Toolkit) Task Sequence. Is there a way to stop agent from autoupgrading itself right after installation? We don't always have latest agent version in MDT because different team is responsible for ME DC. This agent autoupgrade right after installation is causing some issues with our automated task sequence process and most of the time ME DC agent fails to upgrade itself and it's being left in state where it's not working anymore. I was thinking that I just configure ME DC agent service to stopped state just after installation and restore when automated process is ready.