How to reinstall or fix Volume Shadow Copy Service (VSS) and Microsoft Software Shadow Copy Provider Service‏

How to Reinstall or Fix Volume Shadow Copy Service (VSS) and Microsoft Software Shadow Copy Provider Service‏

Create a batch file with the following content:

cd /d %windir%\system32

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



Upon running the batch file if you get one or both of the following errors:

dllregisterserver in swprv.dll failed:
regsvr32 /i swprv.dll returns the error "DLLInstall in swprv.dll
failed. Return Code was: 0x8000ffff"

dllregisterserver in es.dll failed

Followed by the recorded events in the event log with the event ID 12289:

Then there are three events in the event log all event ID 12289 source: VSS


Volume Shadow Copy Service error: Unexpected error RegOpenKeyExW(-2147483646,SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost,...). hr = 0x80070005.

And

Volume Shadow Copy Service error: Unexpected error CComModule::RegisterServer(TRUE). hr = 0x80020009.

And

Volume Shadow Copy Service error: Unexpected error RegOpenKeyExW(-2147483646,SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost,...). hr = 0x80070005.

Or when opening the Properties of the hard disk drive and opening the Shadow Copies tab you see the error:
Initialization failed

Error 0x8004230f: the shadow copy provider had an unexpected error while tring to process the specified operation

Or the Microsoft Software Shadow Copy Provider Service is not installed or had been uninstalled or is missing in the services list

Solution:

Run the following three Microsoft Hotfixes in this specific order, and reboot after EACH one has been installed for a total of three reboots:

1.KB 943669

2.KB 975928

3.KB 979457

Give Full Permission to Administrator and System account for the registry 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost'

And again run the batch file to register the DLLs

Reference for error and command prompt commands:
http://support.microsoft.com/kb/940032
Post a Comment

Labels

Tips and Tricks Windows 2008 Stuff Windows 7 Useful STUFF Techie Stuff Drivers Download Laptop Guide SAN Stuff Active Directory Stuff VMWare Stuff EMC Storage Windows 8 Data Recovery Tips RAID Levels ACER Drivers Cloud Computing FaceBook World Google News Exchange Stuff Storage World Windows Azure Windows Interview Qs As Tech News HP Servers Microsoft News Storage Tools Wireless Network Adding comments to answer files Google Chrome OS HP Compaq Drivers IBM X Series Support Intel Products Network Printers Setup Packet8 VoIP Tips Powershell scripting in windows 2008 server SEO Tips VSF Stuff Wide area file sharing across the WAN AD Health Check Tools Active Directory Forest Recovery Adminpak for Windows Server 2003 R2 Archiving and backup (DiskXtender) Best password recovery tool for Windows - Cain and Abel Brutus - a Brute force online password cracker Cisco WAAS Cygwin Help Event ID 29 Event ID 47 Force FRS replication Free Utilities Download HP iLO Pwd Reset Install XP Powertoys on Windows Server 2003 Installing Longhorn x64 on VMWare ESX Server 3.0.x Log File Fix in Windows MB Review Monitoring Tools Moving user profile location in Windows Vista NLB Configuration Step By Step NTP Client Issue New Technology Protects Internet Advertisers From Click Fraud Processors SSH Server in Windows Server 2008 installation Service Management Facility on Solaris 10v T400 Wire Less issue resolution WAFS - Wide Area File System WAFS Benefits WIDE AREA FILE SERVICES (WAFS) Windows 9 Windows7_70-680 Exam e Book Free Downloads ntp client