安装时出现 Runtiem error (at 62:321) SWbem Locator:服务不存在,或已被标记为删除 该怎么解决?

这是由wmi服务损坏引起的错误

修复WMI服务损坏的批处理程序

将下列代码复制到一个文本文件中,改名为fixwmi.bat,运行即可。需要一段时间,请大家耐心等候。

===============================

FIXWMI.CMD

------------------------

@echo on

cd /d c:\temp

if not exist %windir%\system32\wbem goto TryInstall

cd /d %windir%\system32\wbem

net stop winmgmt

winmgmt /kill

if exist Rep_bak rd Rep_bak /s /q

rename Repository Rep_bak

for %%i in (*.dll) do RegSvr32 -s %%i

for %%i in (*.exe) do call :FixSrv %%i

for %%i in (*.mof,*.mfl) do Mofcomp %%i

net start winmgmt

goto End

:FixSrv

if /I (%1) == (wbemcntl.exe) goto SkipSrv

if /I (%1) == (wbemtest.exe) goto SkipSrv

if /I (%1) == (mofcomp.exe) goto SkipSrv

%1 /RegServer

:SkipSrv

goto End

:TryInstall

if not exist wmicore.exe goto End

wmicore /s

net start winmgmt

:End

时间: 2024-07-28 19:44:21

安装时出现 Runtiem error (at 62:321) SWbem Locator:服务不存在,或已被标记为删除 该怎么解决?的相关文章

matlab安装时出现runtime error的解决方法

在win7下安装MATLAB7.0完成后,运行MATLAB,出现下面的错误: Microsoft Visual C++ Runtime Library Runtime Error! Program: C:MATLAB7binwin32MATLAB.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support tea

yum安装时出现:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

将baseurl的注释去掉,并将mirrorlist添加注释 执行yum clean all 在安装想要的包, 原文地址:https://www.cnblogs.com/yumengfei/p/11374393.html

SVN安装过程出现“Custom action InstallWMISchemaExecute failed:服务不存在,或已被标记为删除”

在安装SVN服务端的时候,总是出现下面的错误,进而停止安装.具体的错误如下: 安装了好多的版本,都出现了这样的问题.我的系统是window7 64位的. 哪位路过的大神给评论一下,给点建议.帮我解决一下!在此谢谢啦!

Error:(12, 24) 警告: [deprecation] android.hardware中的Camera已过时.android

问题:android studio编译项目时出现: Error:(12, 24) 警告: [deprecation] android.hardware中的Camera已过时 解决:(只是让其不提示) 1.app的 build.gradle中 1 android { 2 ... 3 lintOptions { 4 checkReleaseBuilds false 5 abortOnError false 6 7 } 8 } 2.根目录的build.gradle中 allprojects { ...

.net安装部署“Error 1001 在初始化安装时发生异常” 的解决方法

状况描述:打包安装后,如果删除安装目录中的某个文件,这时从桌面快捷方式启动软件系统会自动运行修复程序,此时因为路径问题会报出"错误 1001 在初始化安装时发生异常xxx"的异常.(前提是你的安装部署中加入了"自定义操作",并为其传值). 查找原因原来是"自定义操作"中CustomActionData值有误造成.未出错前的CustomActionData. /DbName=[DBNAME] /ServerName=[SERVERNAME] /Us

安装Stomp扩展时错误提示error: 'zend_class_entry' has no member named 'default_properties'

在安装stomp扩展时, 有这样的提示 error: 'zend_class_entry' has no member named 'default_properties' 交待下安装上下文, stomp 版本是 1.0.3 而最新的是 1.0.8  php 版本是5.4.x , 猜想可能是由于版本差异造成的, 因为1.0.3的 stomp 出现的年份是2010年... 于是网上搜索了一下, 文章点这 说在出错的文件中把 default_properties 改成 default_propert

安装了VS2010 sp1 后再安装ASP.NET MVC 3.0的问题(Final Result: Installation failed with error code: (0x80070643), "安装时发生严重错误 " (Ela)

原文:安装了VS2010 sp1 后再安装ASP.NET MVC 3.0的问题(Final Result: Installation failed with error code: (0x80070643), "安装时发生严重错误 " (Ela) 安装了VS2010 sp1 后再安装ASP.NET MVC 3.0的问题(Final Result: Installation failed with error code: (0x80070643), "安装时发生严重错误 &qu

全局安装的 webpack运行时 报错 Error: Cannot find module 'webpack' ......

全局安装的webpack   安装指令如下 cnpm install wepack -save-dev -g 但是 在我的项目空间运行webpack指令的时候 会报如下错误 为了方便抓取{ Error: Cannot find module 'webpack' at Function.Module._resolveFilename (module.js:527:15) at Function.Module._load (module.js:476:23) at Module.require (m

lftp源码安装时 error: Package requirements (gnutls >= 1.0.0) were not met: No package 'gnutls' found

从官网下载源码后,解压./configure后,报错: error: Package requirements (gnutls >= 1.0.0) were not met: No package 'gnutls' found 从 https://www.centos.org/forums/viewtopic.php?t=22228 找到答案: yum install readline-devel yum install gnutls-devel 之后,顺利./configure.make.ma