Monday, May 15, 2017

Disk2VHD error snapshotting volumes - Fixed

When I created a VHD for a Windows 2008 R2 server using Disk2VHD, an error poped up as "Error snapshotting volumes".

I opened the Windows event log viewer and found several errors of VSS.
One of them was Event ID 22 -
Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow Copy provider. The error returned from CoCreateInstance on class with CLSID {79079d5c-ef20-4952-b9fc-cfd443b38641} and Name SW_PROV is [0x80040154, Class not registered].

Run RegEdit and open the registry path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VSS\Providers
There was a registry key of {f782463b-33bb-4043-ad8d-60b728d26a6c} that represented as "Acronis VSS SW Provider" and there was a CLSID item of  {79079d5c-ef20-4952-b9fc-cfd443b38641} under it.

The backup software Acronis is no longer installed on the server. After I deleted the registry key of {f782463b-33bb-4043-ad8d-60b728d26a6c}, Disk2VHD worked perfectly.

Hopefully this information can save your time.

12 comments:

  1. Exact same issue and this resolved my error. Make sure to restart the VSS service after you delete the registry entry.

    ReplyDelete
  2. I still have the same mistake yet I have no other provider in my registry

    ReplyDelete
    Replies
    1. This didnt work for for me either but I unselected "use volume shadow copy and it worked for me :)

      Delete
  3. Nossa cara, MUITO OBRIGADO!!!!!!!!!! Depois de muito procurar achei aqui a solução!

    ReplyDelete
  4. Thank you very much for the solution, I had an entry of some Symantic program I had once installed (CLSID {262b716e-bb23-41b5-aaef-e2c15e767167}).
    After removing that one Disk2VHD worked without having to restart the VSS service.

    ReplyDelete
  5. Congratulations on the solution and contribution and sharing of knowledge, it helped me a lot, saved hours of research and troubleshootings, thank you.

    --

    Parabéns pela solução e contribuição e compartilhamento de conhecimento, me ajudou muito, economizou horas de pesquisas e troubleshootings, muito obrigado"

    ReplyDelete
  6. This solution worked. Thank you very much!

    ReplyDelete
  7. did not work in me. my computer is neither acronis nor sysmantec. but there is visual studio. I guess it doesn't work because of that.

    ReplyDelete
  8. This works for me. Thank you! However, my Acronis CLSID is different from yours.

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{f5dbcc43-b847-494e-8083-f030501da611}]
    @="Acronis VSS HW Provider"
    "Type"=dword:00000003
    "Version"="1.0"
    "VersionId"="{89cdaf20-82b6-42cd-a4b4-573c81999c35}"

    ReplyDelete
  9. exact same issue her. Thanks for your info which solved me pots of time :-)

    ReplyDelete