AshleyHow / WindowsOSBuild

Windows patch release information (Version, Build, Availability date, Hotpatch, Preview, Out-of-band, Servicing option, KB article, KB URL and Catalog URL) for Windows client and server versions. Useful for scripting and automation purposes. Supports Windows 10 and Windows Server 2016 onwards. Supports Hotpatch on Windows Server 2022 Azure Edition.
MIT License
50 stars 15 forks source link

Get-LatestOSBuild function doesn't work on Server Core #1

Closed AshleyHow closed 2 years ago

AshleyHow commented 3 years ago

The following error is returned when you run the Get-LatestOSBuild function on Server Core.

Retrieving the COM class factory for component with CLSID {00000000-0000-0000-0000-000000000000} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)

This is due to the absence of the COM object 'HTMLFile' which is used to parse the release information. Internet Explorer is needed for this COM object to work and it is not installed on Server core.

AshleyHow commented 2 years ago

Resolved in v2206.2