Forum Discussion

EfrainVargas's avatar
15 years ago

"Microsoft Software Shadow Copy Provider" goes into a hung state i.e. "Stopping".

We have been having issues with certain Windows 2003 Systems (Both 32bit/64bit) failing backups when the "Microsoft Software Shadow Copy Provider" goes into a hung state i.e. "Stopping".
We have have a workaround short of a reboot.

c:\tasklist /svc | findstr swprv

Then we Kill the hung process id.
Restart the NetBackup client service
This resolves the issue one time but next day the issue reoccurs.

Netbackup 6.5.3 (clients)
Netbackup 6.5.5 (master and media servers)

Symantec recommended http://support.microsoft.com/kb/940349 for 2003 SP2 systems.  We have installed this patch but the issue still exists.
Has anyone come across this issue?.

Any help appreciated thanks.


E.V.
  • I've solved this issue by deleting, then recreating the service.

    These are the specific steps:

    If the service is in the "stopping" state, kill the PID
       tasklist /svc | findstr swprv
       (it will respond with svchost.exe  #### swprv)
       issue the command    KILL  ####
       where #### is the number of the PID found above.
    Check that the "Microsoft Software Shadow Copy Provider" service has stopped.

    Now we will remove the service with the following command:

       sc delete swprv

    Refresh the Services view and the "Microsoft Software Shadwo Copy Provider" should be gone.
     

    Now we recreate the service as follows:

       regsvr32 /i swprv.dll

    Check that the service has been recreated.

    Test a systemstate backup.
    The service should start & stop as designed.

2 Replies

  • I've solved this issue by deleting, then recreating the service.

    These are the specific steps:

    If the service is in the "stopping" state, kill the PID
       tasklist /svc | findstr swprv
       (it will respond with svchost.exe  #### swprv)
       issue the command    KILL  ####
       where #### is the number of the PID found above.
    Check that the "Microsoft Software Shadow Copy Provider" service has stopped.

    Now we will remove the service with the following command:

       sc delete swprv

    Refresh the Services view and the "Microsoft Software Shadwo Copy Provider" should be gone.
     

    Now we recreate the service as follows:

       regsvr32 /i swprv.dll

    Check that the service has been recreated.

    Test a systemstate backup.
    The service should start & stop as designed.

  • Have you tried to re-register the VSS provider?

    http://www.symantec.com/docs/TECH70486

     

    Check if you have any 3rd party providers installed:

    vssadmin list providers

    Is this a DFSR backups?  Microsoft should be able to pull a dump of the hanging process and isolate what is the problem.