The Windows Management Instrumentation (WMI) service cannot be started . Failed
i started trubleshoting
(c) 2015 microsoft corporation. rights reserved.
syntax of command incorrect.
'run' not recognized internal or external command,
operable program or batch file.
[sc] queryserviceconfig success
type : 20 win32_share_process
start_type : 2 auto_start
error_control : 0 ignore
binary_path_name : c:\windows\system32\svchost.exe -k netsvcs
load_order_group :
tag : 0
display_name : windows management instrumentation
dependencies : rpcss
service_start_name : localsystem
following services dependent on windows management instrumentation service.
stopping windows management instrumentation service stop these services.
windows multipoint server repair service
windows multipoint server host service
hyper-v virtual machine management
security center service stopping.
security center service stopped successfully.
windows multipoint server repair service service stopped successfully.
windows multipoint server host service service stopped successfully.
hyper-v virtual machine management service not stopped.
c:\windows\system32>net start winmgmt
requested service has been started.
c:\windows\system32>winmgmt /salvagerepository
wmi repository verification failed
error code: 0x80040154
facility: interface
description: class not registered
c:\windows\system32>cd /d %windir%\system32\wbem
microsoft (r) mof compiler version 10.0.10586.0
copyright (c) microsoft corp. 1997-2006. rights reserved.
file '/regserver' not found!
smi2smir.exe: no command argument specified, or unknown command argument
invalid parameter
[/resyncperf] [/standalonehost [<level>]] [/sharedhost]
[/verifyrepository [<path>]] [/salvagerepository]
[/resetrepository]
causes wmi repository specified file name. the
filename argument should contain full path file location.
process requires write lock on repository write
operations repository suspended until backup process is
completed.
manually restores wmi repository specified backup file.
filename argument should contain full path backup file
location. perform restore operation, wmi saves existing
repository write if operation fails. repository is
restored backup file specified in filename
argument. if exclusive access repository cannot achieved,
existing clients disconnected wmi. flag argument must a
1 (force - disconnect users , restore) or 0 (default - restore if no
users connected) , specifies restore mode.
registers system performance libraries wmi.
moves winmgmt service standalone svchost process has a
fixed dcom endpoint. default endpoint "ncacn_ip_tcp.0.24158".
however, endpoint may changed running dcomcnfg.exe. level
argument authentication level svchost process. if level
not specified, default 4 (rpc_c_authn_level_pkt).
moves winmgmt service shared svchost process.
performs consistency check on wmi repository. when add the
/verifyrepository switch without <path> argument, live
repository used wmi verified. when specify path
argument, can verify saved copy of repository. in this
case, path argument should contain full path saved
repository copy. saved repository should copy of entire
repository folder.
performs consistency check on wmi repository, , if an
inconsistency detected, rebuilds repository. content of the
inconsistent repository merged rebuilt repository, if it
can read. salvage operation works repository
wmi service using. mof files contain the
#pragma autorecover preprocessor statement restored the
repository.
repository reset initial state when operating system
first installed. mof files contain #pragma autorecover
preprocessor statement restored repository.
c:\windows\system32\wbem>wmiadap.exe /regserver
invalid global switch.
hi,
provided “microsoft windows [version 10.0.10586]”, want confirm if windows 10?
>regsvr32 [/u] [/s] <ocx file name>
“[/u]”, “[/s]” , “<ocx file name>” parameters, /u means unregister .ocx file.
/s means silent mode. , need specify parameter when running commend.
reference kb 2746232/146219 details:
https://support.microsoft.com/en-us/kb/146219
https://support.microsoft.com/en-us/kb/2746232
reference blog - wmi: missing or failing wmi providers or invalid wmi class:
https://blogs.technet.microsoft.com/askperf/2014/08/11/wmi-missing-or-failing-wmi-providers-or-invalid-wmi-class/
if problem persists, please provide more information, such related operation/change before problem happened?
best regards,
eve wang
please remember mark replies answers if , unmark them if provide no help. if have feedback technet support, contact tnmff@microsoft.com.
Windows Server > Windows Server General Forum
Comments
Post a Comment