Windows error 0x8024001F, -2145124321

Detailed Error Information

WU_E_NO_CONNECTION[1]

MessageOperation did not complete because the network connection was unavailable.
Declared inwuerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode36 (0x024)
NameFACILITY_WINDOWSUPDATE[2][3]
DescriptionThe source of the error code is a Windows update.[2][3]
Error Code31 (0x001f)

Questions

0votes
1answer

Seem like a VBscript exception, how to cope with?

I'm trying an example from M$ site regarding calling Windows Update programatically. 'http://msdn.microsoft.com/en-us/library/aa387102%28VS.85%29.aspx 'http://msdn.microsoft.com/en-us/library/aa386526%28v=vs.85%29.aspx Set updateSession = CreateObject("Microsoft.Update.Session") Set updateSearcher = updateSession.CreateupdateSearcher() WScript.Echo "Searching for updates..." & vbCRLF Set searchResult = updateSearcher.Search("IsInstalled=1 and Type='Software'") On executing the last line, if your network is broken, I'll see on CMD window: C:\wu-script\wu-install.vbs(9, [...] read more
vbscript

Comments

Leave a comment

(plain text only)

Sources

  1. wuerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0