建站服務(wù)器
環(huán)境:windows server 2003 企業(yè)版sp2
一直使用ntbackup備份,最近兩次出錯(cuò),第一次重啟以為問題沒有了,后來發(fā)現(xiàn)自己錯(cuò)了。
故障:
事件類型:錯(cuò)誤
事件來源:vss
事件種類:無
事件 id:8193
日期:2017-5-7
事件:0:00:01
用戶:n/a
計(jì)算機(jī):sh-server
描述:
卷影復(fù)制服務(wù)錯(cuò)誤: 調(diào)用程序 cocreateinstance 時(shí)的意外錯(cuò)誤。hr = 0x80040154。
度娘一直不靠譜,自己測試后的如下
操作命令
@echo off
cd %windir%\\\\system32
net stop vss
net stop swprv
regsvr32 ole32.dll
regsvr32 oleaut32.dll
regsvr32 /i swprv.dll
vssvc /register
regsvr32 /i eventcls.dll
regsvr32 es.dll
regsvr32 stdprov.dll
regsvr32 vssui.dll
regsvr32 msxml.dll
regsvr32 msxml3.dll
regsvr32 msxml4.dll
regsvr32 vss_ps.dll
regsvr32 /u swprv.dll
net start vss
服務(wù)器端操作記錄:
c:\\\\documents and settings\\\\administrator>cd %windir%\\\\system3
c:\\\\windows\\\\system32>net stop vss
沒有啟動(dòng) volume shadow copy 服務(wù)。
請(qǐng)鍵入 net helpmsg 3521 以獲得更多的幫助。
c:\\\\windows\\\\system32>net stop swprv
沒有啟動(dòng) microsoft software shadow copy provider 服務(wù)。
請(qǐng)鍵入 net helpmsg 3521 以獲得更多的幫助。
c:\\\\windows\\\\system32>regsvr32 ole32.dll
c:\\\\windows\\\\system32>regsvr32 oleaut32.dll
c:\\\\windows\\\\system32>regsvr32 /i swprv.dll
c:\\\\windows\\\\system32>vssvc /register
c:\\\\windows\\\\system32>regsvr32 /i eventcls.dll
c:\\\\windows\\\\system32>regsvr32 es.dll
c:\\\\windows\\\\system32>regsvr32 stdprov.dll
c:\\\\windows\\\\system32>regsvr32 vssui.dll
c:\\\\windows\\\\system32>regsvr32 msxml.dll
c:\\\\windows\\\\system32>regsvr32 msxml3.dll
c:\\\\windows\\\\system32>regsvr32 msxml4.dll
c:\\\\windows\\\\system32>
c:\\\\windows\\\\system32>regsvr32 vss_ps.dll
c:\\\\windows\\\\system32>regsvr32 /u swprv.dll
c:\\\\windows\\\\system32>net start vss
volume shadow copy 服務(wù)正在啟動(dòng) .
volume shadow copy 服務(wù)已經(jīng)啟動(dòng)成功。
建立測試備份,看看療效: