abbypatch –
First, regarding the error you are experiencing, let me refer you to these two other threads. Please review them carefully, and let me know if you have any luck with the suggestions. Essentially, this issue has been reported by only a very small number of users, and it’s always only happening on just one or two of their servers. We have not so far been able to reproduce the problem.
error-2-hresult-2147024894-could-not-find-file
error-2-very-often-server-2012-r2-on-domain-controllers
The fact that you don’t receive the error with every run is peculiar, and I’m not quite sure what, if anything, to make of it.
Second, with regard to adding “Check for available updates” to the job queue, we will consider this. Thank you for the suggestion. In the meantime I have two suggestions for you that I think will probably both work instead of running ‘Check for available updates.’
1: Instead of using ‘Check for available updates’ the job queue does have the ‘wuauclt.exe /resetauthorization /detectnow’ command included, and I believe this will do what you need if you run it before you run the /reportnow command. It should solve the problem. However, if it does not, please try option 2.
2: Instead of using ‘Check for available updates’ you could try ‘Download available updates’ which essentially runs a ‘Check for available updates’ as part of the download process. Since there won’t be any updates to download, it will just check for available updates and find none to download. However, it will solve your problem of needing to run the ‘Check for available updates’ from within the job queue.
I hope this helps.
-Doug