2012年7月24日 星期二

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

沒有留言:

張貼留言

查NB電池使用狀況

 查NB電池使用狀況 powercfg /batteryreport 會產生一個HTML檔 會放在c:\users\USERNAME\battery-report.html