Ask a questionAsk a question
 

AnswerVSS Broken on SBS 2003 box

  • Friday, October 23, 2009 4:42 PMDavid Moen Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello,

    I am working on a SBS2003 server on which VSS is broken and backups don't run.

    I've run into this before and the solution was to delete the registry key for the VSS provider (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{b5946137-7b9f-4925-af80-51abd60b20d5})

    then re-register VSS with the following commands:

    Net stop vss

    Net stop swprv

    regsvr32 ole32.dll

    regsvr32 oleaut32.dll

    regsvr32 vss_ps.dll

    vssvc /register

    regsvr32 /i swprv.dll

    regsvr32 /i eventcls.dll

    regsvr32 es.dll

    regsvr32 stdprov.dll

    regsvr32 vssui.dll

    regsvr32 msxml.dll

    regsvr32 msxml3.dll

    regsvr32 msxml4.dll

    Net start vss

    Net start swprv

    When I try to look at the VSS status on the drive in My Computer, I get an error indicating that Windows failed to enumerate any drived eligible for shadow copies.

    An error is logged in the application log:

    Event Type: Error
    Event Source: VSS
    Event Category: None
    Event ID: 12293
    Date:  10/22/2009
    Time:  10:19:19 AM
    User:  N/A
    Computer: ZEUS
    Description:
    Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details IVssSnapshotProvider::QueryVolumesSupportedForSnapshots(ProviderId,29,...) [hr = 0x8000ffff].

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 2d 20 43 6f 64 65 3a 20   - Code:
    0008: 43 4f 52 4d 47 4d 54 43   CORMGMTC
    0010: 30 30 30 30 30 33 32 35   00000325
    0018: 2d 20 43 61 6c 6c 3a 20   - Call:
    0020: 43 4f 52 4d 47 4d 54 43   CORMGMTC
    0028: 30 30 30 30 30 32 38 31   00000281
    0030: 2d 20 50 49 44 3a 20 20   - PID: 
    0038: 30 30 30 30 36 36 36 30   00006660
    0040: 2d 20 54 49 44 3a 20 20   - TID: 
    0048: 30 30 30 30 36 36 37 36   00006676
    0050: 2d 20 43 4d 44 3a 20 20   - CMD: 
    0058: 43 3a 5c 57 49 4e 44 4f   C:\WINDO
    0060: 57 53 5c 53 79 73 74 65   WS\Syste
    0068: 6d 33 32 5c 76 73 73 76   m32\vssv
    0070: 63 2e 65 78 65 20 20 20   c.exe  
    0078: 2d 20 55 73 65 72 3a 20   - User:
    0080: 4e 54 20 41 55 54 48 4f   NT AUTHO
    0088: 52 49 54 59 5c 53 59 53   RITY\SYS
    0090: 54 45 4d 20 20 20 20 20   TEM    
    0098: 2d 20 53 69 64 3a 20 20   - Sid: 
    00a0: 53 2d 31 2d 35 2d 31 38   S-1-5-18

    If I atempt to make a backup using the NTBackup utility, the following error is displayed:


    Volume shadow copy creation: Attempt 1.

    Error returned while creating the volume shadow copy:0x8004230f.

    Error returned while creating the volume shadow copy:8004230f
    Aborting Backup.

    I'd appreciate any help you can provide!

Answers

All Replies

  • Saturday, October 24, 2009 3:36 PMDilip NaikMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Can you verify that the volume housing the shadow copy store (what I think of as the diff area) has sufficent space? Your problems probably have nothing to do with this, but worthwhile checking


    www.msftmvp.com and VHD tools at www.VMUtil.com
  • Sunday, October 25, 2009 7:42 AMDavid Shen - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi David,

    Dilip's suggestion makes sense. Moreover, I suggst you apply and install the hotfix that is mentioned in the following KB onto the problematic server.

    Availability of a Volume Shadow Copy Service (VSS) update rollup package for Windows Server 2003 to resolve some VSS snapshot issues
    http://support.microsoft.com/kb/940349

    You will also need to check the VSS writer and VSS provider to see if there is any error status.

    Vssadmin list writers

    Vssadmin list providers

    Best Regards,
    David Shen


    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Tuesday, October 27, 2009 7:58 PMDavid Moen Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks for the resonses guys.

    The hard drive in question is less than 30% full, there is at least 200GB of free space.

    I downloaded and installed the hot-fix suggested and re-booted the server.  When I look at the Shadow Copies tab on the hard drive properties window, I still get the error " Failed to retreive volumes that are eligible for Shadow Copies"  The detailed error message is as follows:

    Error 0x8004230f: The shadow copy provider had an unexpected error while trying to perform the specified operation.

    vssadmin commands indicate no errors when listing writers and providers.

    I'm stumped!
  • Monday, November 02, 2009 6:17 PMDavid Moen Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I solved the issue, thanks for your help.
    • Marked As Answer byDavid Moen Monday, November 02, 2009 6:18 PM
    •