Document toolboxDocument toolbox

Windows 10+11 Update Breaking Warper Licensing

An unknown (at the time of writing) update for Windows 10 and 11 appears to break WMI in such a way that causes the Warper’s licensing system to break. Several core namespaces and their classes become corrupt, and notably MSFT_NetAdapter from ROOT\StandardCimv2 disappears.

Diagnosing

This issue can be diagnosed by observing that the Warper no longer generates a challenge for an activation code when trying to license. Entering a valid license for the serial will not correctly license the Warper.

You will also see that System Information appears blank, and complains that the Windows Management Interface is unavailable.

Try this:

Repair Install Windows 11 with an In-place Upgrade Tutorial | Windows 11 Forum (elevenforum.com)

 

Legacy fixes below.

Potential Fix #1 - Soft Option

A soft way of attempting to fix this problem is by rebuilding the WMI repository. This re-registers system DLLs and recompiles descriptors that tell WMI how to access various bits of system information. This will at least repair System Information for further troubleshooting.

 

Run the below batch file in an elevated CMD prompt, then reboot the machine to soft-reset the WMI repository.

This will likely break Teamviewer QuickAccess so be sure to have physical access to the machine, or a client available to regain your access.

cd "%%systemroot%\system32\wbem" for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s for /f %%s in ('dir /b *.mof') do mofcomp %%s cd en-GB for /f %%s in ('dir /b *.mfl') do mofcomp %%s cd .. regsvr32 wmisvc.dll cd "%%systemroot%\syswow64\wbem" for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s for /f %%s in ('dir /b *.mof') do mofcomp %%s cd en-GB for /f %%s in ('dir /b *.mfl') do mofcomp %%s cd .. regsvr32 wmisvc.dll wmiprvse /regserver

The hard fix is to recover the WMI repository to the state that it should be in upon a fresh install of Windows. Run the below commands in an elevated command prompt, and reboot the machine.

This will very likely break third party software, including drivers. You will lose Teamviewer Quick Access so be sure to have physical access to the machine or a client available to regain your access.

 

winmgmt /resetrepository winmgmt /verifyrepository

Potential Fix #3 - 3rd Party Script

A GitHub user yenpuren maintains a PowerShell script that verifies and rebuilds broken WMI repositories. Their ps1 file can be downloaded from here. Run this in an elevated PowerShell window, click Verify, and then Repair. Once step 14/14 is reached the window can be closed and verify that the missing WMI classes have returned.

Still not Working?

At this point the Windows installation is considered corrupt. Options would be either to attempt system recovery from a Windows ISO, or re-image / reinstall the OS.

(c) Igloo Vision Ltd. 2023