1

i've written a tool to automate some windows update tasks for Windows 7 & Windows 8.1.

Testing the tool under Windows 10 now throws a System.Runtime.InteropServices.COMException with the error code HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE) while creating the first object from IAutomaticUpdates like this:

private IAutomaticUpdates _automaticUpdates = new AutomaticUpdates();

I'm sure the reason are the changes in the whole windows update process - but i can't find an adequate new API to manipulate Windows Update via C#.

Anyone got a hint for me?

Greetz

1
  • Compiling the application with Platform Target "AnyCPU" solves the problem. Unfortunately my application relies on being "x86".
    – Johannes
    Sep 9, 2015 at 7:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.