Server 2008 R2.
I don't know if ps 4.0 is the cause but the last major change done on this server was on 12/23/17, upgraded from Powershell 2.0 to 4.0 per https://www.microsoft.com/en-us/download/details.aspx?id=40855
Issue first noticed on 12/26/17 in the log created by a bat utility that runs WMI to get drive space of various servers. Prior to issue, log showed without errors as expected on 12/23/17 to 12/15/17.
The Winmgmt service, which normally starts automatically, now doesn't. Manually starting the service returns:
"Windows could not start the Windows Management Instrumentation service on Local Computer."
When I run WinMgmt.exe gets error: WinMgmt.exe - Application Error. The application was unable to start correctly (0xc000007b). Click OK to close the application.
I ran SFC /scannow
and attached parts of the cbs.log. The parts are where it tries to repair the wmi files but says "Cannot repair member file..."
Is it supposed to 'repair' the wmi files because wmi is broken? Or, is it normal, i.e. can't be repaired because I upgraded the powershell?
Has anyone come across this? Did you resolve it?