WMI Query to Class "win32_Service" takes lot of time to return the output.
Pankaj Vishwakarma
11
Reputation points
Somehow on one of Server 2016, a simple WMI query (Get-WmiObject win32_Service) to the "win32_Service" class is taking unexpected time to return the output.
Whereas if I run the same query on the cloned server, I get the result instantly.
I tested the output over PowerShell as well as over 'wbemtest' GUI both and the time involved to show the output is almost the same i.e. > 4 mins.
I tried to enable the WMI trace as well in the event viewer, but do not see any error.
Any help to diagnose the problem would be helpful.
Thank You
Pankaj V.
Windows for business | Windows Server | User experience | Other
Sign in to answer