How to get around UAC when installing Office365 (2016) Click To Run via Kace
We currently run the original Office365 Click to Run. It was installed and is updated through a file share. We're now planning to upgrade to Office365 (2016 version) and I've gotten as far as getting the setup.exe /configure configuration.xml file to launch. However, no matter what I try, whether scripted or managed, it says it can't install due to the UAC. I have a batch file run that will disable UAC but that requires a reboot, which I'm trying to avoid. I have the install for Office in a batch file which calls the setup.exe and the .xml file. Has anyone run into this issue, and if so, how did you get around UAC?
1 Comment
[ + ] Show comment
Answers (1)
Please log in to answer
Posted by:
five.
7 years ago
Do a scripted install and choose "Microsoft Windows" as your OS, this will open up the "Windows Run As" options. Then choose an administrator on the machine. If you choose a local admin, you will have to do the file share mapping in your batch file. That's how we do it. I suppose you could also create a credential for an admin that also has file share permissions and that might be easier for you, haven't tried that method before.
Our environment has UAC turned on and local users are not admins. This is how we have to do installs to get around UAC and administrator issues. Scripted installs for everything.
I'm having my script copy the .bat file locally and then having Powershell call it from its local location.
Batch file includes: @echo off
cd "C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\129"
setup.exe /configure <path to file>\configuration.xml - kabbas75 7 years ago