VSS error impossible to backup Windows server 2016

Webcloudit 21 Reputation points
2020-11-29T13:20:20.247+00:00

Hi all,

I have a problem with a production server with windows 2016 standard. VSS are not working and backup is not working anymore. I use Macrium Reflect for backup from 3 years without problem but now it fails to backup disk D, and backup works correctly for disk C.

Macrium return this error:

"Failed: VSS Timeout - Retrying without VSS Writers
Failed to rename VSS log file, reason: Encountered a sharing violation while accessing C:\Users\ADMINI~1\AppData\Local\Temp\2\vss.log.
Backup aborted! - Failed To Create Volume Snapshot. Failed - 0x80042316 - IDispatch error #8470"

In Event viewer application i receive this error: "A VSS error was encountered creating the snapshot - Error: 0x80042316"

and error:

"The backup failed to complete successfully - Reason: Backup aborted! - Failed To Create Volume Snapshot. Failed - 0x80042316 - IDispatch error #8470"

I tried with another backup tool (Iperius Backup), but it fails the backup too.

Here an extract from vss.log

  • Excluding writer 'Shadow Copy Optimization Writer' since it has no selected components for restore.
    Discover components that reside outside the shadow set ...
  • Component '\TasksStore' from writer 'Task Scheduler Writer' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WriterMetadataStore' from writer 'VSS Metadata Store Writer' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\PerformanceCounters' from writer 'Performance Counters Writer' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\master' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\model' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\msdb' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db1.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db2' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db3' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db4.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db5.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db6' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db7.com' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\sdb8.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db9' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db10.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db11' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db12' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db13.com' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db14.com' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db15.com' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db16.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db17.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db18' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db19' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db20.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db21' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db22.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db23.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db24' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db25' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db26' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db27' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db28' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db29.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db30' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db31' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db32.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db33.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db34' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db35' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db36' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db37' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db38.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db39.com' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db40.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db41.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db42.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db43.com' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db44.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db45.it' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db46.com' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db47' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\db48.com' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\MICROSOFT##WID\master' from writer 'WIDWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\MICROSOFT##WID\model' from writer 'WIDWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\MICROSOFT##WID\msdb' from writer 'WIDWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WEBCLOUDSRV\MICROSOFT##WID\RDCms' from writer 'WIDWriter' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\IISCONFIG' from writer 'IIS Config Writer' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\Registry' from writer 'Registry Writer' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\WMI' from writer 'WMI Writer' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\COM+ REGDB' from writer 'COM+ REGDB Writer' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\C:_Windows_System32_LServer\TLSLic' from writer 'TermServLicensing' is excluded from backup (it requires C:\ in the shadow set)
  • Component '\TSLSComponent' from writer 'TermServLicensing' is excluded from backup (it requires C:\ in the shadow set)
    Discover all excluded components ...
    Discover excluded writers ...
  • The writer 'Task Scheduler Writer' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
  • The writer 'VSS Metadata Store Writer' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
  • The writer 'Performance Counters Writer' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
  • The writer 'SqlServerWriter' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
  • The writer 'WIDWriter' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
  • The writer 'IIS Config Writer' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
  • The writer 'Registry Writer' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
  • The writer 'WMI Writer' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
  • The writer 'COM+ REGDB Writer' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
  • The writer 'TermServLicensing' is now entirely excluded from the backup:
    (it does not contain any components that can be potentially included in the backup)
    Discover explicitly included components ...
    Verifying explicitly specified writers/components ...
    Select explicitly included components ...
    Creating shadow set {ad1aa900-d0d5-4119-8661-c77c405cb7b7} ...
  • Adding volume \?\Volume{631949b9-0000-0000-0000-100000000000}\ [D:] to the shadow set...
    Preparing for backup ...
    (Waiting for the asynchronous operation to finish...)
    (Waiting for the asynchronous operation to finish...)
    Creating the shadow (DoSnapshotSet) ...
    (Waiting for the asynchronous operation to finish...)
    Completing the backup (BackupComplete) ...

ERROR: COM call "m_pVssObject->BackupComplete(&pAsync)" failed.

  • Returned HRESULT = 0x80042301
  • Error text: VSS_E_BAD_STATE
  • Setting the VSS context to: 0x00000010

ERROR: COM call "m_pVssObject->StartSnapshotSet(&m_latestSnapshotSetID)" failed.

  • Returned HRESULT = 0x80042316
  • Error text: VSS_E_SNAPSHOT_SET_IN_PROGRESS

Thank you,

Andrea

Windows Server Backup
Windows Server Backup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Backup: A duplicate copy of a program, a disk, or data, made either for archiving purposes or for safeguarding valuable files from loss should the active copy be damaged or destroyed.
465 questions
0 comments No comments
{count} votes

Accepted answer
  1. Xiaowei He 9,876 Reputation points
    2020-11-30T06:20:15.437+00:00

    Hi,

    Please check the following things:

    1. On the D drive, please try to create VSS directly, check if it could work, if not, please provide the error message:
      43488-image.png
      43429-image.png
    2. Please open CMD as administrator, then enter the command: "vssadmin list writers", and "vssadmin list providers, check if there's any error in the command, if yes, please provide the screenshot.

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Webcloudit 21 Reputation points
    2020-11-30T10:01:56.663+00:00

    Hi Anne,

    thank you very much for your answer. I've done what you asked.

    1) VSS direct creation was done correctly without errors.
    2) "vssadmin list writers" result all "stable" and "no error", result below:

    C:\Users\Administrator>vssadmin list writers
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2013 Microsoft Corp.
    
    Writer name: 'Task Scheduler Writer'
       Writer Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
       Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'VSS Metadata Store Writer'
       Writer Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
       Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'Performance Counters Writer'
       Writer Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
       Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'System Writer'
       Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
       Writer Instance Id: {9572bbeb-4f26-4a0a-b00e-e25e723d882a}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'SqlServerWriter'
       Writer Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
       Writer Instance Id: {450abafa-932c-4fff-aeed-f045916b11df}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'WIDWriter'
       Writer Id: {8d5194e1-e455-434a-b2e5-51296cce67df}
       Writer Instance Id: {15d43c34-c0d4-4fe4-bb16-5ed2c6be76ba}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'ASR Writer'
       Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Instance Id: {d03cdec2-010e-4d57-a7d7-76a1e247bc2a}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'IIS Config Writer'
       Writer Id: {2a40fd15-dfca-4aa8-a654-1f8c654603f6}
       Writer Instance Id: {a70fbd1c-5bee-4d63-8ccd-345837e5f878}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'Registry Writer'
       Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
       Writer Instance Id: {d3b9f243-e43d-4be5-9ebd-65aa9dd259bf}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'Shadow Copy Optimization Writer'
       Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
       Writer Instance Id: {fcdc90db-1457-423f-9674-b7216e775814}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'COM+ REGDB Writer'
       Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
       Writer Instance Id: {ec4b8856-3882-4fe6-b94c-2162755ba999}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'WMI Writer'
       Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
       Writer Instance Id: {10e9f5ed-5e03-4ca2-aad0-cb6c44feea55}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'TermServLicensing'
       Writer Id: {5382579c-98df-47a7-ac6c-98a6d7106e09}
       Writer Instance Id: {eb7b7782-6fb8-4ab8-ae82-f52fac8a4f35}
       State: [1] Stable
       Last error: No error
    

    "vssadmin list providers" result below:

    C:\Users\Administrator>vssadmin list providers
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2013 Microsoft Corp.
    
    Provider name: 'Microsoft File Share Shadow Copy provider'
       Provider type: Fileshare
       Provider Id: {89300202-3cec-4981-9171-19f59559e0f2}
       Version: 1.0.0.1
    
    Provider name: 'Microsoft Software Shadow Copy provider 1.0'
       Provider type: System
       Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5}
       Version: 1.0.0.7
    
    0 comments No comments

  2. Webcloudit 21 Reputation points
    2020-12-24T12:26:10.477+00:00

    Anne have you seen my answer?

    Thank you,
    Andrea

    0 comments No comments