WMI runs as a service with the display name "Windows Management Instrumentation" and the service name "winmgmt".
WMI runs automatically at system startup under the LocalSystem account. If WMI is not running, it automatically starts when the first management application or script requests connection to a WMI namespace.
Several other services are dependent upon the WMI service, depending on the operating system version that the system is running. For example, the Windows Firewall service is dependent on WMI in Windows XP and Windows Server 2003, but not in Windows Vista. The SMS Agent Host is dependent on WMI in all of those operating system versions.
Starting Winmgmt Service
The following procedure describes how to start the WMI service.
To start Winmgmt Service
- At a command prompt, enter net start winmgmt [/<switch>].
For more information about the switches that are available, see
winmgmt. You use the built-in Administrator account or an account in the Administrators group running with elevated rights to start the WMI service. For more information, see User Account Control and WMI.
Stopping Winmgmt Service
The following procedure describes how to stop the WMI Service.
To stop Winmgmt Service
- At a command prompt, enter net stop winmgmt.
- Other services that are dependent on the WMI service also halt, such as SMS Agent Host or Windows Firewall.
Windows 2000: For WMI failures that occur because of improper provider unloading, the
REG_SZ registry key value should be set to 1 (one). The default value is 0 (zero).
HKLM\Software\Microsoft\WBEM\CIMOM\Force Clean Shutdown
Related topics
-
Using the WMI Command-Line Tools
Send comments about this topic to Microsoft
Build date: 3/9/2012