您的位置:首页 > 数据库

安装SQL2005数据库服务时报错处理方法

2016-04-21 09:33 330 查看
运行一个脚本,以管理员身份运行:

net stop winmgmt

c:

cd %systemroot%/system32/wbem

rd /S /Q repository

regsvr32 /s %systemroot%/system32/scecli.dll

regsvr32 /s %systemroot%/system32/userenv.dll

mofcomp cimwin32.mof

mofcomp cimwin32.mfl

mofcomp rsop.mof

mofcomp rsop.mfl

for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s

for /f %%s in ('dir /b *.mof') do mofcomp %%s

for /f %%s in ('dir /b *.mfl') do mofcomp %%s

echo DONE reboot

pause
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: