It provides better management than the SC utility because it addresses
specific WMI requirements. This utility uses the following syntax:
Winmgmt [/exe] [/kill] [/regserver] [/unregserver] [/backup
]
[/restore ] [/resyncperf id>] [/clearadap]
The following list describes each of the command line arguments.
/exe Runs WinMgmt.EXE as an application, rather than as a service. The Windows Management
Instrumentation entry won??™t appear in the Services console. The main reason to use this
command line switch is to allow debugging of providers using the standard Microsoft debuggers.
When you run WinMgmt.EXE as an application, it runs in the user??™s security context.
Normally, you should run this program as a service so that it receives the proper rights.
/kill Terminates all instances of WinMgmt.EXE on the local system including any processes
started as a service by the Service Control Manager. You must have administrative rights to use
this command line switch.
/regserver Registers the Windows Management Instrumentation service by adding entries
to the registry.
USING MAINTENANCE COMMANDS AND UTILITIES 65
/unregserver Removes the registry entries for the Windows Management Instrumentation
service.
Pages:
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226