![]() Run the following command: sc config Winmgmt type= ownĪfter restarting the service, you may run the Tasklist /svc command to check if the Winmgmt service is running under its own svchost.exe process.Īfter resolving the issue or no longer requiring the service to be in its own svchost.exe process, you can place it back into the shared svchost.exe process. Open an elevated command prompt with elevated privileges. If the svchost.exe process contains multiple services, you can break apart the WMI service into its own svchost.exe process by following these steps: If you observe that a svchost.exe process hosting the WMI service is causing high CPU usage and suspect that WMI is contributing to the issue, you can confirm if the PID of the svchost.exe process is hosting the WMI service by running the following command: tasklist /svc /fi "Services eq Winmgmt" The steps are the same for locating the right svchost# in Performance Monitor in the case of high CPU usage by svchost.exe hosting the Wmimgmt service. In the example, the %Processor Time color of WmiPrvse#1 is changed from yellow to red. Then counter %Processor Time of WmiPrvse#1 is added to see a live graphical view of the CPU usage of this process. In the example, it's noted that WmiPrvse.exe PID 556 was consuming high CPU usage, and it's WmiPrvse#1 that matches PID 556 in Performance Monitor. Once you have identified the exact instance that's consuming high CPU usage, you may remove the remaining instances of WmiPrvse# instances from the list by pressing Delete. Select the WmiPrvse# matching the PID consuming high CPU usage, and then select Add > OK.įor the "ID Process" counter, the Last, Average, Minimum, and Maximum all represent the PID of the respective WmiPrvse.exe process. In the Add Counters window, expand Process and select %Processor Time. ![]() Select all the WmiPrvse# instances, and then select Add > OK. Select Performance Monitor in the left pane, and select the plus sign ( +) in the right pane to open the Add Counters window.Įxpand Process and select ID Process. Open an elevated command prompt, and enter Perfmon. You can also get a graphical view of the CPU consumption of any process ( WmiPrvse.exe or svchost.exe hosting WMI service). Here's an example that shows how to use the Performance Monitor (Perfmon) tool to identify the exact instances of WmiPrvse.exe with the PID you identified. You may use Task Manager and visually make a note of how the CPU usage pattern is. It may also occur during a specific activity like user sign in or sign out. Check if it occurs only during production hours, out-of-business hours, or a random time of the day. Identify the frequency of the CPU consumption. Understand if there's any pattern, which means CPU usage is consistent, inconsistent, random, sporadic, or has regular spikes. Check if there's any activity, such as running specific tasks or services active, running monitoring applications, or running scripts leading to WmiPrvse.exe or Winmgmt high CPU. It's important to note when, how, and the frequency of the CPU consumption.Īssess the situation by understanding if the CPU consumption is high during a specific time. ![]() This involves mainly observing the overall CPU consumption and the PID identified. Winmgmt is hosted under the svchost.exe process with PID 2752. In the example, out of three WmiPrvse.exe instances, PID 3648 is located, which consumes around 25% of CPU usage. Right-click the service and select Go to details to locate the svchost.exe process as follows: Go to Task Manager > Services, sort by Name, and locate the Winmgmt service. This screenshot shows Services Host: Windows Management Instrumentation ( svchost.exe hosting the Winmgmt service) and its CPU utilization. This screenshot shows multiple instances of WMI Provider Host (the WmiPrvse.exe process) as active and its CPU utilization. Go to Task Manager > Details, then sort by Name and locate the WmiPrvse.exe process that's consuming high CPU usage. You may have to manually add the PID column to view the process ID of all the processes in Task Manager.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |