So I naturally tried to access Win32_ComputerSystem WMI class using a Wbemtest but I was getting an Invalid class error This looked like a corrupt WMI repository. use CMD to run command net stop winmgmt select Yes or Y sc config winmgmt start= disabled cd %windir%\system32\wbem for /f %s in (‘dir /b *.dll’) do