I find myself in a bit of a weird situation and I'm hoping someone would be able to advise for me.
I have a tool, RMM datto, which allows myself to run commands to all machines on the domain. I'm looking to run an uninstaller on the device, this code works fine. The concern I have is that when I run the command it'll prompt for admin details to execute.
I want to run this command and uninstall the application, however, I don't want to give 500 users a prompt which'll likely freak people out.
My question: Is there a way to "pipe" admin credentials to silently run an application with admin details?
If it matters, the application I'm removing is a Citrix receiver which can be uninstalled running an .exe file.