Removal of SCCM Client Script

Removal of SCCM Client Script

Hi All,

I am getting ready to deploy our Desktop Central client to all of our workstations, but i wanted to have something ready to uninstall the existing SCCM 2012 client from each computer once the DC Agent is installed. I have a batch script that i found on SpiceWorks that works great when its ran as an administrator locally on the machine, but when i setup a script configuration in DC it says it executed successfully, but it never did anything. I am trying to figure out how to get this to run successfully. I have attached the script to this post and I have also provided screenshots of the configuration that i have setup. I am probably doing something wrong, but I'm just not sure what exactly.

Note: the "Run as User" is the root domain admin user we use

Thanks for the help!

                New to ADSelfService Plus?