10se1ucgo / DisableWinTracking

Uses some known methods that attempt to minimize tracking in Windows 10
GNU Lesser General Public License v3.0
4.98k stars 368 forks source link

Exited with code: -2147219823 - ('', '') #435

Closed RazorJin closed 3 years ago

RazorJin commented 4 years ago

INFORMATION: i cannot uninstal one drive. All the other options worked out for me except for one drive

LOG:

20:37:40 INFO: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:22:17) [MSC v.1500 32 bit (Intel)] on win32 20:37:40 INFO: ('Windows', 'KENNETH-PC', '10', '10.0.17134', 'AMD64', 'Intel64 Family 6 Model 61 Stepping 4, GenuineIntel') 20:37:40 INFO: DisableWinTracking version 3.2.3 20:37:48 INFO: Registry: Successfully modified ListPin key. 20:37:48 INFO: Registry: Successfully modified FileSync key. 20:37:49 INFO: OneDrive: unable to uninstall. Exited with code: -2147219823 - ('', '') 20:37:49 INFO: Done. It's recommended that you reboot as soon as possible for the full effect. 20:37:49 INFO: If you feel something didn't work properly, please press the 'Report an issue' button and follow the directions

fbrzoz commented 4 years ago

From what I can see, x86_64 versions of Windows contain the OneDrive setup executable in a different place - namely, at %SystemRoot%\SysWOW64\OneDriveSetup.exe. If I understand correctly, this should be as simple as an architecture check - I'll see what I can do about making a PR later.

Edit: It looks like WMIC outputs are localised, which looks to be the error's cause. I've looked around for a bit and noticed an environmental variable that identifies the system architecture, PROCESSOR_ARCHITEW6432.