Did Powershell 4.0 break WMI?

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?
Server_SFC_WMI_Issues.txt
LVL 26
NVITAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jose Gabriel Ortega CEE Solution Guide - CEO Faru Bonon ITCommented:
Not really I think you should have other things going on, discard virus and malware (antimalwarebytes, full scan).
You can always uninstall PowerShell and re-install it, but I'd highly recommend going directly to Powershell 5.

Remember you will required 2008 R2 SP1 install to make it run as it should:
https://www.microsoft.com/en-us/download/details.aspx?id=50395
0
NVITAuthor Commented:
We uninstalled the antivirus. Rebooted. No joy.
0
Jose Gabriel Ortega CEE Solution Guide - CEO Faru Bonon ITCommented:
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

NVITAuthor Commented:
Thanks for you help, Jose.
The server has .NET 4.7. I was going to install it again but a colleague installed and ran SFCFIX at http://www.majorgeeks.com/files/details/sfcfix.html which fixed the problem.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jose Gabriel Ortega CEE Solution Guide - CEO Faru Bonon ITCommented:
Ok bud no problem, just mark the answers of the question please so it can be closed.

jose
0
NVITAuthor Commented:
A colleague installed and ran SFCFIX at http://www.majorgeeks.com/files/details/sfcfix.html which fixed the problem.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.