none
Microsoft Server 2008 R2 Microsoft Hyper-V VSS Writer Missing

    问题

  • I am trying to get a third-party backup solution that takes snapshots of running Hyper-V Virtual Machines working.  It is on a Microsoft Windows Server 2008 R2 machine, we have found hotfixes for the non-R2 version of Server 20008, but nothing that works in this version.  When I list out vssadmin list writers I get the following:

    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2005 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: 'ASR Writer'
       Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Instance Id: {62294d56-44cc-4c94-a6c1-cf2072921dc3}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'Registry Writer'
       Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
       Writer Instance Id: {69e894ed-97c9-4343-b9a8-33bf3391c43a}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'Shadow Copy Optimizacation Writer'
       Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
       Writer Instance Id: {1fbb3d83-b6ed-4271-a112-93699a8d9a92}
       State: [1] Stable
       Last error: No error
    
    Writer name: 'COM+ REGDB Writer'
       Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
       Writer Instance Id: {49af3aef-a84d-4872-98ec-c4ad123f8bbd}
       State: [1] Stable
       Last error: No error
    

    I have sent this to the support provider for that company's software and they tell me that I am missing the "Microsoft Hyper-V VSS Writer."  We have successfully got the software to work on a number of other servers and those do have this writer.  My question is how does one get it enabled/running. I had found a set of commands to run to fix various VSS issues with a different company's software and it also did not work:

    net stop "System Event Notification Service"
    net stop "Background Intelligent Transfer Service"
    net stop "COM+ Event System"
    net stop "Microsoft Software Shadow Copy Provider"
    net stop "Volume Shadow Copy"
    cd /d %windir%\system32
    net stop vss
    net stop swprv
    regsvr32 /s ATL.DLL
    regsvr32 /s comsvcs.DLL
    regsvr32 /s credui.DLL
    regsvr32 /s CRYPTNET.DLL
    regsvr32 /s CRYPTUI.DLL
    regsvr32 /s dhcpqec.DLL
    regsvr32 /s dssenh.DLL
    regsvr32 /s eapqec.DLL
    regsvr32 /s esscli.DLL
    regsvr32 /s FastProx.DLL
    regsvr32 /s FirewallAPI.DLL
    regsvr32 /s kmsvc.DLL
    regsvr32 /s lsmproxy.DLL
    regsvr32 /s MSCTF.DLL
    regsvr32 /s msi.DLL
    regsvr32 /s msxml3.DLL
    regsvr32 /s ncprov.DLL
    regsvr32 /s ole32.DLL
    regsvr32 /s OLEACC.DLL
    regsvr32 /s OLEAUT32.DLL
    regsvr32 /s PROPSYS.DLL
    regsvr32 /s QAgent.DLL
    regsvr32 /s qagentrt.DLL
    regsvr32 /s QUtil.DLL
    regsvr32 /s raschap.DLL
    regsvr32 /s RASQEC.DLL
    regsvr32 /s rastls.DLL
    regsvr32 /s repdrvfs.DLL
    regsvr32 /s RPCRT4.DLL
    regsvr32 /s rsaenh.DLL
    regsvr32 /s SHELL32.DLL
    regsvr32 /s shsvcs.DLL
    regsvr32 /s /i swprv.DLL
    regsvr32 /s tschannel.DLL
    regsvr32 /s USERENV.DLL
    regsvr32 /s vss_ps.DLL
    regsvr32 /s wbemcons.DLL
    regsvr32 /s wbemcore.DLL
    regsvr32 /s wbemess.DLL
    regsvr32 /s wbemsvc.DLL
    regsvr32 /s WINHTTP.DLL
    regsvr32 /s WINTRUST.DLL
    regsvr32 /s wmiprvsd.DLL
    regsvr32 /s wmisvc.DLL
    regsvr32 /s wmiutils.DLL
    regsvr32 /s wuaueng.DLL
    sfc /SCANFILE=%windir%\system32\catsrv.DLL
    sfc /SCANFILE=%windir%\system32\catsrvut.DLL
    sfc /SCANFILE=%windir%\system32\CLBCatQ.DLL
    net start "COM+ Event System"
    

    Any help would be much appreciated.

    -Matt

    2012年6月5日 21:23

答案

全部回复

  • Hi,

    I have to add value in below to registry via .reg file. Then, it will be able to backup vm.

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}]
    "Application Identifier"="Hyper-V"

    More detail:

    http://support.microsoft.com/kb/958184

    http://blogs.technet.com/b/askcore/archive/2008/08/20/how-to-enable-windows-server-backup-support-for-the-hyper-v-vss-writer.aspx


    ___________________________________________________ Naruphon blog: http://www.vm360degree.com

    2012年6月6日 6:41
  • After doing this registry entry, does it require a server restart (I tried it and it did not work, but have not restarted as there needs to be a scheduled downtime before I can do it)?  I did also check the settings and made sure the Backup (volume snapshot) was checked on each of the VMs, and the drives are also basic and not dynamic.

    -Matt


    • 已编辑 Matt Rhone 2012年6月6日 15:33 added more info
    2012年6月6日 15:06
  • I did it long time ago. It did not force to restart. You can inquiry VSS writer to see result.

    ___________________________________________________ Naruphon blog: http://www.vm360degree.com


    • 已编辑 Chaba_OK 2012年6月6日 23:14
    2012年6月6日 16:06
  • any updates?

    Jeff Ren TechNet Community Support beneficial to other community members reading the thread.

    2012年6月8日 6:13