Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

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

0

Comments

3 comments
Date Votes
  • I think you need to include the silent switch to uninstall.

    0
  • 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

    0
  • 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

    0