在安装Sql或sp补丁的时候系统提示之前有挂起的安装操作,要求重启,这时往往重启无用,解决办法:
到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
删除PendingFileRenameOperations
再把C:\Program Files中的SQL文件夹整个删除,
解决方法:
通过批处理将SQL相关文件全部注册一遍来解决这个问题。 把以下内容粘贴到记事本作成*bat文件执行。
@echo on
regsvr32 autoplt.dll /s
regsvr32 autowiz.dll /s
regsvr32 axscphst.dll /s
regsvr32 cdwtasks.dll /s
regsvr32 cdwtskui.dll /s
regsvr32 colctrl.dll /s
regsvr32 comnevnt.dll /s
regsvr32 ctasksui.dll /s
regsvr32 custtask.dll /s
regsvr32 dtsffile.dll /s
regsvr32 dtspkg.dll /s
regsvr32 dtspump.dll /s
regsvr32 dtsui.dll /s
regsvr32 dtswiz.dll /s
regsvr32 hhsetup.dll /s
regsvr32 objmgr.dll /s
regsvr32 pfclnt80.dll /s
regsvr32 pfutil80.dll /s
regsvr32 psdcscm.dll /s
regsvr32 sdiclnt.dll /s
regsvr32 semcomn.dll /s
regsvr32 Semcros.dll /s
regsvr32 Semdll.dll /s
regsvr32 semdts.dll /s
regsvr32 SEMEXEC.dll /s
regsvr32 semmap.dll /s
regsvr32 semnt.dll /s
regsvr32 Semobj.dll /s
regsvr32 semrepl.dll /s
regsvr32 semsfc.dll /s
regsvr32 Semsys.dll /s
regsvr32 semwebwz.dll /s
regsvr32 Semwiz.dll /s
regsvr32 sqdedev.dll /s
regsvr32 SQLDMO.dll /s
regsvr32 sqlftwiz.dll /s
regsvr32 sqlgui.dll /s
regsvr32 sqllex.dll /s
regsvr32 sqlmmc.dll /s
regsvr32 sqlns.dll /s
regsvr32 sqlqry.dll /s
regsvr32 sqlresld.dll /s
regsvr32 sqlsui.dll /s
regsvr32 sqlsvc.dll /s
regsvr32 sqlvdir.dll /s
regsvr32 stardds.dll /s
regsvr32 svrnetcn.dll /s
regsvr32 w95scm.dll /s
重启电脑就可
若都不行,安装的时候有个高级选项,有rebuild(重建)注册表的选项,选中安装,基本可以解决。
粤公网安备 44060502001196号