Redefinir o serviço de cópias de sombra virtual

Summary: Às vezes, o Serviço de Cópias de Sombra de Volume do Windows pode sofrer alterações de arquivo, impossibilitando a execução das tarefas necessárias. Algumas das tarefas que o serviço VSS executa são a criação de snapshots de disco, snapshots de programa de backup e usados pelo Microsoft Windows Hyper-V para criar checkpoints de máquina virtual. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Não foi possível fazer checkpoints de produção da máquina virtual. O erro é:

"Production checkpoints cannot be created for...".

Os backups apresentam falha. O erro é:

 "Production checkpoints cannot be created for..."


Os logs relatam que o serviço VSS não está em execução:

VMWare Servers can show "Get-VMIntegrationService -VMName "XXXX" shows lost comm for VSS".

Cause

As atualizações periódicas do Windows Server e a corrupção de arquivos envolvendo arquivos do sistema operacional contribuem com mais frequência para a falha do Serviço de Cópias de Sombra de Volume.   

Resolution

Instruções:
Veja abaixo um script projetado para fazer uma redefinição de arquivo para o serviço VSS (Volume Shadowcopy, cópia de sombra de volume).
1. Copie tudo da borda superior abaixo para a borda inferior em um arquivo do bloco de notas.
2. Salve o arquivo com o nome "RESET_VSS_SCRIPT.BAT" e executar em uma janela de comando administrativo.
 


rem Rename FILENAME to RESET_VSS_SCRIPT.BAT
rem Run script in Administrator command window

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 %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"

Affected Products

Fixed Workstations, Microsoft Windows Server 2016, Microsoft Hyper-V™ Server 2008, Microsoft Windows HPC Server 2008, Microsoft Windows HPC Server 2008 Service Pack 2, Microsoft Windows Essential Business Server 2008, Microsoft Windows 2008 Server R2 , Microsoft Windows 2008 Server Service Pack 2, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2 ...

Products

PowerEdge, Mobile Workstations, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows Small Business Server 2008, Microsoft Windows Small Business Server 2011 Essentials, Microsoft Windows Small Business Server 2008 , Prosupport for Microsoft Software ...
Article Properties
Article Number: 000216324
Article Type: Solution
Last Modified: 05 Sep 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.