Windows7下安装IIS出现“出现错误,并非所有的功能被成功更改”
时间:2015-11-12 23:23:59
收藏:0
阅读:785
原因:
这种情况可能是由于被损坏的wmi库造成的
解决方法:
1、把以下代码复制存成.bat文件
net stop winmgmtc:cd %systemroot%/system32/wbemrd /S /Q repository
regsvr32 /s %systemroot%/system32/scecli.dllregsvr32 /s %systemroot%/system32/userenv.dll
mofcomp cimwin32.mofmofcomp cimwin32.mflmofcomp rsop.mofmofcomp rsop.mflfor /f %%s in (‘dir /b /s *.dll‘) do regsvr32 /s %%sfor /f %%s in (‘dir /b *.mof‘) do mofcomp %%sfor /f %%s in (‘dir /b *.mfl‘) do mofcomp %%secho DONE rebootpause
这种情况可能是由于被损坏的wmi库造成的
解决方法:
1、把以下代码复制存成.bat文件
net stop winmgmtc:cd %systemroot%/system32/wbemrd /S /Q repository
regsvr32 /s %systemroot%/system32/scecli.dllregsvr32 /s %systemroot%/system32/userenv.dll
mofcomp cimwin32.mofmofcomp cimwin32.mflmofcomp rsop.mofmofcomp rsop.mflfor /f %%s in (‘dir /b /s *.dll‘) do regsvr32 /s %%sfor /f %%s in (‘dir /b *.mof‘) do mofcomp %%sfor /f %%s in (‘dir /b *.mfl‘) do mofcomp %%secho DONE rebootpause
2、运行后重启,重新安装IIS中的ASP,正常运行!
http://blog.csdn.net/heavensdoor/article/details/7788348
原文:http://www.cnblogs.com/baozhu/p/4960518.html
评论(0)