none
Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW (on all 2012 R2 servers with AD DS and DHCP)

    Question

  • I'm seeing numerous events logged on our Windows Server 2012 R2 servers, relating to the Volume Shadow Copy Service.  They only seem to occur on 2012 R2 servers with both Active Directory and DHCP roles installed.  Seems to be a registry permissions problem, but the only solutions I can find via Google are for 2008 R2 servers and the solution doesn't work on 2012 R2 servers.

    "Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...). hr = 0x80070005, Access is denied.

    Operation:
    Initializing Writer

    Context:
    Writer Class Id: {5382579c-98df-47a7-ac6c-98a6d7106e09}
    Writer Name: TermServLicensing
    Writer Instance ID: {d32431a0-4d67-4deb-9c7f-c90cacce7728}"

    "Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...). hr = 0x80070005, Access is denied.

    Operation:
    Initializing Writer

    Context:
    Writer Class Id: {35e81631-13e1-48db-97fc-d5bc721bb18a}
    Writer Name: NPS VSS Writer
    Writer Instance ID: {94f97fa2-145c-477e-8f7d-60691e0990a6}"

    "Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...). hr = 0x80070005, Access is denied.

    Operation:
    Initializing Writer

    Context:
    Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
    Writer Name: System Writer
    Writer Instance ID: {8fd570e7-0000-4375-b3ca-568961018633}"

    Is there a 2012 R2 solution to this problem?


    Matty Brown - Computer Programmer (VBA 7.0/MS Access 2010, VB.Net 2008/2010, SQL 2008)


    Monday, May 18, 2015 8:48 AM

Answers

  • Try this one:

    http://vstepic.blogspot.ie/2015/01/dhcp-server-on-windows-server-2012-r2.html


    This post is provided AS IS with no warranties or guarantees, and confers no rights.
    ~~~
    Questo post non fornisce garanzie e non conferisce diritti

    Monday, May 18, 2015 9:46 AM

All replies

  • Hi,

    is the solution you tried this one https://support.microsoft.com/en-us/kb/2298620?wa=wsignin1.0 ?


    This post is provided AS IS with no warranties or guarantees, and confers no rights.
    ~~~
    Questo post non fornisce garanzie e non conferisce diritti

    Monday, May 18, 2015 8:56 AM
  • Yup, that's the one.  It doesn't seem to work for Windows Server 2012 R2.

    Matty Brown - Computer Programmer (VBA 7.0/MS Access 2010, VB.Net 2008/2010, SQL 2008)

    Monday, May 18, 2015 9:34 AM
  • Try this one:

    http://vstepic.blogspot.ie/2015/01/dhcp-server-on-windows-server-2012-r2.html


    This post is provided AS IS with no warranties or guarantees, and confers no rights.
    ~~~
    Questo post non fornisce garanzie e non conferisce diritti

    Monday, May 18, 2015 9:46 AM
  • I've added the additional permissions to one server and will monitor to see if the event continues to be logged.

    Matty Brown - Computer Programmer (VBA 7.0/MS Access 2010, VB.Net 2008/2010, SQL 2008)

    Monday, May 18, 2015 10:23 AM
  • Hi,

    From the error message, it cannot access the key in error with an Access Denied error.

    So please simply find this key:

    HKLM\SYSTEM\CurrentControlSet\Services\VSS\Diag

    Compare with another working computer to correct all permission settings. 


    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


    Tuesday, May 19, 2015 9:13 AM
    Moderator
  • Try this one:

    http://vstepic.blogspot.ie/2015/01/dhcp-server-on-windows-server-2012-r2.html


    This post is provided AS IS with no warranties or guarantees, and confers no rights.
    ~~~
    Questo post non fornisce garanzie e non conferisce diritti

    This solution has worked perfectly on one of our 2012 R2 AS DS / DHCP servers.  I've rolled out these changes to our other two.

    Thanks @aperelli !


    Matty Brown - Computer Programmer (VBA 7.0/MS Access 2010, VB.Net 2008/2010, SQL 2008)

    Tuesday, May 26, 2015 10:04 AM
  • You're welcome 

    This post is provided AS IS with no warranties or guarantees, and confers no rights.
    ~~~
    Questo post non fornisce garanzie e non conferisce diritti

    Tuesday, May 26, 2015 10:05 AM