I theory that should work, but something makes problems, seemingly related to the used .NET version. Testing if explicitly installing resolves the issue would be helpfull
Hmm, strange, can you try the build I attached, open it in a command prompt with admin privileges it will than log its startup progress to the console window. so we can find out where it gangs. should look somethign like this: Code: C:\Projects\wumgr\wumgr\bin\Debug>Starting... Alloc AppLog... Alloc WuAgent... Alloc WuMgr... AppLog Init... LOG: Windows Update Manager, Version v0.2 by David Xanatos LOG: This Tool is Open Source under the GNU General Public License, Version 3 LOG: Windows Update Agent Version: 8.0 (10.0.17134.1) WuAgent Init... Ready When its started not in a console or the console it cant log anything, similarity if the console used to start it does not have admin rights, i use AttachConsole from "kernel32.dll" to attach to an existing console window, this fails when the parent console does not have the same level of privileges as the started process. Cheers David X.
While I was searching for info, it opened about 5 minutes later, so: Code: C:\Users\GT\Desktop\wumgr-debug>Starting... Alloc AppLog... Alloc WuAgent... Alloc WuMgr... AppLog Init... LOG: Windows Update Manager, Version v0.2 by David Xanatos LOG: This Tool is Open Source under the GNU General Public License, Version 3 LOG: Windows Update Agent Version: 8.0 (10.0.14393.2368) WuAgent Init... ***(5 minute wait)*** Ready
Interesting, wouldn't expect the issue to be there, i added some more log lines to find the cause, could you please test the next attached build
Code: C:\Users\GT\Desktop\wumgr-debug>Starting... Alloc AppLog... Alloc WuAgent... Alloc WuMgr... AppLog Init... LOG: Windows Update Manager, Version v0.2 by David Xanatos LOG: This Tool is Open Source under the GNU General Public License, Version 3 LOG: Windows Update Agent Version: 8.0 (10.0.14393.2368) WuAgent Init... Listing update sources Loading GPO Updating Lists *** (8 minute wait) *** Parsing commandline options Ready
Ok now this one, I added more logging and improved list loading, can it be that you have a very long update history? PS: icon added
Bingo! That one loaded instantly. Update history says 1,498 updates.About 1,200 are blank with a date of 12/30/1899, the rest are mostly defender updates, and then 90 actual real windows and office updates. So I don't really have a long update history. My hard drive died about 6 months ago and I did a clean install then.
I could reproduce the error on my LTSB vm after running a few updates, it seams that the API call which returns the count of history entries returns to many, and when querying those you get empty results, will be fixed in the next build. Cheers David X.
This behavior or change in WUAPI started since April 2016 https://forums.mydigitallife.net/posts/1225367/ WUMT developer note about it: https://forums.mydigitallife.net/posts/1227699 i don't know how he fixed it