Erro – Backup – VSS 0x80042302

Artigo contendo os passos necessários para resolver o erro VSS 0x80042302 ao tentar efetuar um backup de estado de sistema de máquinas virtuais através do Hyper-V.

Como solucionar o erro “VSS error 0x80042302”

A seguinte mensagem é notificada: System state backup error: “VSS error 0x80042302: A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information.“

Nesse caso devem ser feitos os seguintes passos. Vale ressaltar que trata-se de uma solução possível, uma vez que os registros do VSS são instalados com o Windows.

1. Confira a lista de registros executando o seguinte comando no Promtp de Comando:

  • vssadmin list writers

2. Procure pelos seguintes estados:

  • Retryable error
  • Non-retryable error
  • Failed
  • Waiting for compensation

3. Se você verificar algum registro com um dos status acima, copie e cole os comandos a seguir dentro do bloco de notas e salve como fixvss.bat

  • rem FILENAME: FIXVSS.BAT
  • rem
  • net stop “System Event Notification Service”
  • net stop “Background Intelligent Transfer Service”
  • net stop “COM+ Event System”
  • net stop “Microsoft Software Shadow Copy Provider”
  • net stop “Volume Shadow Copy”
  • cd /d %kmsvc.DLL
  • regsvr32 /s lsmproxy.DLL
  • regsvr32 /s MSCTF.DLL
  • regsvr32 /s msi.DLL
  • regsvr32 /s msxml3.DLL
  • regsvr32 /s ncprov.DLL
  • regsvr32 /s ole32.DLL
  • windir%\system32
  • net stop vss
  • net stop swprv
  • regsvr32 /s ATL.DLL
  • regsvr32 /s comsvcs.DLL
  • regsvr32 /s credui.DLL
  • regsvr32 /s CRYPTNET.DLL
  • regsvr32 /s CRYPTUI.DLL
  • regsvr32 /s dhcpqec.DLL
  • regsvr32 /s dssenh.DLL
  • regsvr32 /s eapqec.DLL
  • regsvr32 /s esscli.DLL
  • regsvr32 /s FastProx.DLL
  • regsvr32 /s FirewallAPI.DLL
  • regsvr32 /s kmsvc.DLL
  • regsvr32 /s lsmproxy.DLL
  • regsvr32 /s MSCTF.DLL
  • regsvr32 /s msi.DLL
  • regsvr32 /s msxml3.DLL
  • regsvr32 /s ncprov.DLL
  • regsvr32 /s ole32.DLL
  • regsvr32 /s OLEACC.DLL
  • regsvr32 /s OLEAUT32.DLL
  • regsvr32 /s PROPSYS.DLL
  • regsvr32 /s QAgent.DLL
  • regsvr32 /s qagentrt.DLL
  • regsvr32 /s QUtil.DLL
  • regsvr32 /s raschap.DLL
  • regsvr32 /s RASQEC.DLL
  • regsvr32 /s rastls.DLL
  • regsvr32 /s repdrvfs.DLL
  • regsvr32 /s RPCRT4.DLL
  • regsvr32 /s rsaenh.DLL
  • regsvr32 /s SHELL32.DLL
  • regsvr32 /s shsvcs.DLL
  • regsvr32 /s /i swprv.DLL
  • regsvr32 /s tschannel.DLL
  • regsvr32 /s USERENV.DLL
  • regsvr32 /s vss_ps.DLL
  • regsvr32 /s wbemcons.DLL
  • regsvr32 /s wbemcore.DLL
  • regsvr32 /s wbemess.DLL
  • regsvr32 /s wbemsvc.DLL
  • regsvr32 /s WINHTTP.DLL
  • regsvr32 /s WINTRUST.DLL
  • regsvr32 /s wmiprvsd.DLL
  • regsvr32 /s wmisvc.DLL
  • regsvr32 /s wmiutils.DLL
  • regsvr32 /s wuaueng.DLL
  • sfc /SCANFILE=%windir%\system32\catsrv.DLL
  • sfc /SCANFILE=%windir%\system32\catsrvut.DLL
  • sfc /SCANFILE=%windir%\system32\CLBCatQ.DLL
  • net start “COM+ Event System”

5. Execute o arquivo fixvss.bat como Administrador;

6. Reinicie o Sistema;

7. Confira novamente os registros do VSS:

  • vssadmin list writers

Caso mostre os mesmos estados descritos na etapa #2. Utilize o Visualizador de Eventos para conferir os logs com Código VSS e nos encaminhe um e-mail para suporte@addee.com.br informando o problema juntamente com os arquivos de log.