Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

The Windows Management Instrumentation (WMI) service cannot be started . Failed

$
0
0

i started this trubleshoting

Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Windows\system32>Regsvr32 [/u] [/s] <OCX File Name>
The syntax of the command is incorrect.
C:\Windows\system32>RUN /N Regsvr32 /s MSMAPI32.OCX
'RUN' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>CMD /K SC QC WINMGMT
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: WINMGMT
        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
C:\Windows\system32>net stop winmgmt
The following services are dependent on the Windows Management Instrumentation service.
Stopping the Windows Management Instrumentation service will also stop these services.
   Security Center
   Windows MultiPoint Server Repair Service
   Windows MultiPoint Server Host Service
   Hyper-V Virtual Machine Management
Do you want to continue this operation? (Y/N) [N]: y
The Security Center service is stopping.
The Security Center service was stopped successfully.

The Windows MultiPoint Server Repair Service service was stopped successfully.
The Windows MultiPoint Server Host Service service is stopping.
The Windows MultiPoint Server Host Service service was stopped successfully.
The Hyper-V Virtual Machine Management service is stopping........
The Hyper-V Virtual Machine Management service could not be stopped.
System error 1051 has occurred.
A stop control has been sent to a service that other running services are dependent on.

C:\Windows\system32>net start winmgmt
The requested service has already been started.
More help is available by typing NET HELPMSG 2182.

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
C:\Windows\System32\wbem>for %i in (*.dll) do RegSvr32 -s %i
C:\Windows\System32\wbem>RegSvr32 -s appbackgroundtask.dll
C:\Windows\System32\wbem>RegSvr32 -s cimwin32.dll
C:\Windows\System32\wbem>RegSvr32 -s DMWmiBridgeProv.dll
C:\Windows\System32\wbem>RegSvr32 -s dnsclientcim.dll
C:\Windows\System32\wbem>RegSvr32 -s dnsclientpsprovider.dll
C:\Windows\System32\wbem>RegSvr32 -s Dscpspluginwkr.dll
C:\Windows\System32\wbem>RegSvr32 -s dsprov.dll
C:\Windows\System32\wbem>RegSvr32 -s EmbeddedLockdownWmi.dll
C:\Windows\System32\wbem>RegSvr32 -s esscli.dll
C:\Windows\System32\wbem>RegSvr32 -s EventTracingManagement.dll
C:\Windows\System32\wbem>RegSvr32 -s fastprox.dll
C:\Windows\System32\wbem>RegSvr32 -s ipmiprr.dll
C:\Windows\System32\wbem>RegSvr32 -s ipmiprv.dll
C:\Windows\System32\wbem>RegSvr32 -s KrnlProv.dll
C:\Windows\System32\wbem>RegSvr32 -s MDMAppProv.dll
C:\Windows\System32\wbem>RegSvr32 -s MDMSettingsProv.dll
C:\Windows\System32\wbem>RegSvr32 -s MMFUtil.dll
C:\Windows\System32\wbem>RegSvr32 -s mofd.dll
C:\Windows\System32\wbem>RegSvr32 -s mofinstall.dll
C:\Windows\System32\wbem>RegSvr32 -s msdtcwmi.dll
C:\Windows\System32\wbem>RegSvr32 -s msiprov.dll
C:\Windows\System32\wbem>RegSvr32 -s NCProv.dll
C:\Windows\System32\wbem>RegSvr32 -s ndisimplatcim.dll
C:\Windows\System32\wbem>RegSvr32 -s NetAdapterCim.dll
C:\Windows\System32\wbem>RegSvr32 -s netdacim.dll
C:\Windows\System32\wbem>RegSvr32 -s NetEventPacketCapture.dll
C:\Windows\System32\wbem>RegSvr32 -s NetNat.dll
C:\Windows\System32\wbem>RegSvr32 -s netnccim.dll
C:\Windows\System32\wbem>RegSvr32 -s NetPeerDistCim.dll
C:\Windows\System32\wbem>RegSvr32 -s netswitchteamcim.dll
C:\Windows\System32\wbem>RegSvr32 -s NetTCPIP.dll
C:\Windows\System32\wbem>RegSvr32 -s netttcim.dll
C:\Windows\System32\wbem>RegSvr32 -s NetWNV.dll
C:\Windows\System32\wbem>RegSvr32 -s nlmcim.dll
C:\Windows\System32\wbem>RegSvr32 -s ntevt.dll
C:\Windows\System32\wbem>RegSvr32 -s PolicMan.dll
C:\Windows\System32\wbem>RegSvr32 -s PrintManagementProvider.dll
C:\Windows\System32\wbem>RegSvr32 -s qoswmi.dll
C:\Windows\System32\wbem>RegSvr32 -s RacWmiProv.dll
C:\Windows\System32\wbem>RegSvr32 -s repdrvfs.dll
C:\Windows\System32\wbem>RegSvr32 -s schedprov.dll
C:\Windows\System32\wbem>RegSvr32 -s ServDeps.dll
C:\Windows\System32\wbem>RegSvr32 -s smierrsm.dll
C:\Windows\System32\wbem>RegSvr32 -s smierrsy.dll
C:\Windows\System32\wbem>RegSvr32 -s smimsgif.dll
C:\Windows\System32\wbem>RegSvr32 -s SMTPCons.dll
C:\Windows\System32\wbem>RegSvr32 -s snmpcl.dll
C:\Windows\System32\wbem>RegSvr32 -s snmpincl.dll
C:\Windows\System32\wbem>RegSvr32 -s snmpsmir.dll
C:\Windows\System32\wbem>RegSvr32 -s snmpthrd.dll
C:\Windows\System32\wbem>RegSvr32 -s stdprov.dll
C:\Windows\System32\wbem>RegSvr32 -s vdswmi.dll
C:\Windows\System32\wbem>RegSvr32 -s viewprov.dll
C:\Windows\System32\wbem>RegSvr32 -s vpnclientpsprovider.dll
C:\Windows\System32\wbem>RegSvr32 -s vsswmi.dll
C:\Windows\System32\wbem>RegSvr32 -s wbemcntl.dll
C:\Windows\System32\wbem>RegSvr32 -s wbemcons.dll
C:\Windows\System32\wbem>RegSvr32 -s wbemcore.dll
C:\Windows\System32\wbem>RegSvr32 -s wbemdisp.dll
C:\Windows\System32\wbem>RegSvr32 -s wbemess.dll
C:\Windows\System32\wbem>RegSvr32 -s wbemprox.dll
C:\Windows\System32\wbem>RegSvr32 -s wbemsvc.dll
C:\Windows\System32\wbem>RegSvr32 -s WdacWmiProv.dll
C:\Windows\System32\wbem>RegSvr32 -s WEMSAL_WmiProvider.dll
C:\Windows\System32\wbem>RegSvr32 -s WESL_ShellLauncher.dll
C:\Windows\System32\wbem>RegSvr32 -s wfascim.dll
C:\Windows\System32\wbem>RegSvr32 -s Win32_EncryptableVolume.dll
C:\Windows\System32\wbem>RegSvr32 -s Win32_Tpm.dll
C:\Windows\System32\wbem>RegSvr32 -s WinMgmtR.dll
C:\Windows\System32\wbem>RegSvr32 -s WmiApRes.dll
C:\Windows\System32\wbem>RegSvr32 -s WmiApRpl.dll
C:\Windows\System32\wbem>RegSvr32 -s WMICOOKR.dll
C:\Windows\System32\wbem>RegSvr32 -s WmiDcPrv.dll
C:\Windows\System32\wbem>RegSvr32 -s wmipcima.dll
C:\Windows\System32\wbem>RegSvr32 -s wmipdfs.dll
C:\Windows\System32\wbem>RegSvr32 -s wmipdskq.dll
C:\Windows\System32\wbem>RegSvr32 -s WmiPerfClass.dll
C:\Windows\System32\wbem>RegSvr32 -s WmiPerfInst.dll
C:\Windows\System32\wbem>RegSvr32 -s WMIPICMP.dll
C:\Windows\System32\wbem>RegSvr32 -s WMIPIPRT.dll
C:\Windows\System32\wbem>RegSvr32 -s WMIPJOBJ.dll
C:\Windows\System32\wbem>RegSvr32 -s wmiprov.dll
C:\Windows\System32\wbem>RegSvr32 -s WmiPrvSD.dll
C:\Windows\System32\wbem>RegSvr32 -s WMIPSESS.dll
C:\Windows\System32\wbem>RegSvr32 -s WMIsvc.dll
C:\Windows\System32\wbem>RegSvr32 -s wmitimep.dll
C:\Windows\System32\wbem>RegSvr32 -s wmiutils.dll
C:\Windows\System32\wbem>RegSvr32 -s WUAProvider.dll
C:\Windows\System32\wbem>for %i in (*.exe) do %i /RegServer
C:\Windows\System32\wbem>mofcomp.exe /RegServer
Microsoft (R) MOF Compiler Version 10.0.10586.0
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
File '/RegServer' not found!
C:\Windows\System32\wbem>scrcons.exe /RegServer
C:\Windows\System32\wbem>smi2smir.exe /RegServer
smi2smir.exe: No command argument specified, or unknown command argument
C:\Windows\System32\wbem>unsecapp.exe /RegServer
C:\Windows\System32\wbem>wbemtest.exe /RegServer
C:\Windows\System32\wbem>WinMgmt.exe /RegServer
Invalid parameter
Windows Management Instrumentation
Usage:  winmgmt [/backup <filename>] [/restore <filename> <flag>]
                [/resyncperf] [/standalonehost [<level>]] [/sharedhost]
                [/verifyrepository [<path>]] [/salvagerepository]
                [/resetrepository]
/backup <filename>
        Causes WMI to back up the repository to the specified file name. The
        filename argument should contain the full path to the file location.
        This process requires a write lock on the repository so that write
        operations to the repository are suspended until the backup process is
        completed.
/restore <filename> <flag>
        Manually restores the WMI repository from the specified backup file.
        The filename argument should contain the full path to the backup file
        location. To perform the restore operation, WMI saves the existing
        repository to write back if the operation fails. Then the repository is
        restored from the backup file that is specified in the filename
        argument. If exclusive access to the repository cannot be achieved,
        existing clients are disconnected from WMI. The flag argument must be a
        1 (force - disconnect users and restore) or 0 (default - restore if no
        users connected) and specifies the restore mode.
/resyncperf
        Registers the system performance libraries with WMI.
/standalonehost [<level>]
        Moves the Winmgmt service to a standalone Svchost process that has a
        fixed DCOM endpoint. The default endpoint is "ncacn_ip_tcp.0.24158".
        However, the endpoint may be changed by running Dcomcnfg.exe. The level
        argument is the authentication level for the Svchost process. If level
        is not specified, the default is 4 (RPC_C_AUTHN_LEVEL_PKT).
/sharedhost
        Moves the Winmgmt service into the shared Svchost process.
/verifyrepository [<path>]
        Performs a consistency check on the WMI repository. When you add the
        /verifyrepository switch without the <path> argument, then the live
        repository currently used by WMI is verified. When you specify the path
        argument, you can verify any saved copy of the repository. In this
        case, the path argument should contain the full path to the saved
        repository copy. The saved repository should be a copy of the entire
        repository folder.
/salvagerepository
        Performs a consistency check on the WMI repository, and if an
        inconsistency is detected, rebuilds the repository.  The content of the
        inconsistent repository is merged into the rebuilt repository, if it
        can be read. The salvage operation always works with the repository
        that the WMI service is currently using. MOF files that contain the
        #pragma autorecover preprocessor statement are restored to the
        repository.
/resetrepository
        The repository is reset to the initial state when the operating system
        is first installed. MOF files that contain the #pragma autorecover
        preprocessor statement are restored to the repository.

C:\Windows\System32\wbem>WMIADAP.exe /RegServer
C:\Windows\System32\wbem>WmiApSrv.exe /RegServer
C:\Windows\System32\wbem>WMIC.exe /RegServer
Invalid Global Switch.
C:\Windows\System32\wbem>WmiPrvSE.exe /RegServer
C:\Windows\System32\wbem>ex


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>