2012年7月25日 星期三

DISK2VHD ERROR snapshotting volume:災難性的失敗

DISK2VHD 執行實體轉虛擬時出現如下訊息


執行如下檔案,將其儲存成BAT
////////////////
@echo off
REM
REM Batch file for Windows XP, 2003, and Vista that attempts to reset the
REM Volume Shadow Copy (VSS) installation.
REM
REM 2BrightSparks Pte Ltd
REM http://www.2BrightSparks.com/
REM
echo --- This batch file must be run as an Administrator. If you are using Windows
echo --- Vista then run it by right-clicking on the batch file and selecting
echo --- Run as administrator
%SYSTEMDRIVE%
cd %SystemRoot%\System32
echo.
echo --- Ignore any messages saying a service is not started.
echo.
Net stop vss
Net stop swprv
regsvr32 ole32.dll
regsvr32 oleaut32.dll
regsvr32 vss_ps.dll
Vssvc /Register
regsvr32 /i swprv.dll
echo --- eventcls.dll will fail to register on Windows Vista.
regsvr32 /i eventcls.dll
echo --- es.dll will fail to register on Windows Vista.
regsvr32 es.dll
regsvr32 stdprov.dll
echo.
echo --- vssui.dll only exists on Windows 2003. Ignore the error if not using Windows 2003.
regsvr32 vssui.dll
regsvr32 msxml.dll
regsvr32 msxml3.dll
echo.
echo --- msxml4.dll may not be installed and is optional. Ignore the error.
regsvr32 msxml4.dll
echo.
echo ------------------------------------------------------------------------
echo.
echo IMPORTANT: Reboot your computer. After the reboot, open a command prompt
echo and run the following:
echo.
echo vssadmin list writers
echo.
echo Ensure that all your writers are displayed without errors.
echo.
pause

////////////////

參考至:http://forum.sysinternals.com/topic20783.html

1 則留言:

《伺服器大搬家:IT人的前置準備指南》 #IT人搬機房生存指南 #Server搬家前置作業 #從備份到線路標記:IT搬家手冊

  要說 IT 人生最刺激的瞬間,莫過於「機房搬家」——這不是 IKEA 的組裝家具,而是幾十台伺服器、交換器、NAS 跟一堆纜線的大型拔河比賽。搬不好,隔天老闆就會問:「為什麼公司網站現在看起來像考古遺址?」 1. 備份是你的護身符 搬家前,第一件事不是租卡車,而是備份!...