Error code 2147219813
Trying to uninstall microsoft one drive on remote pc's. Can't access these devices and it will be unrealistic to ask the office to change settings on 40 devices.
We're thinking this is a logon as a service permissions problem and are looking for solutions if it is or if it is something else. I can uninstall say Bonjour from the target devices but not this file. here is the outut log:
C:\WINDOWS\AdminArsenal\PDQDeployRunner\service-1\exec>"C:\Users(username)\AppData\Local\Microsoft\OneDrive\19.002.0107.0008\OneDriveSetup.exe" /uninstall
Any help would be appreciated as I cannot find the error code online anywhere
Comments
I think you need to include the silent switch to uninstall.
silent switch is included i believe and the ability to elevate permissions. This works for everyother site just not this onedrive one ass i believe because its in the appdata folder
When trying to remove an AppData installed OneDrive via PDQ Inventory I initially received Return code: -2147219813 ... I then changed the run-as to "logged on user" and the uninstall completed successfully with a Return code: 0