How to resolve error message “The Active Directory Web Services service terminated unexpectedly”, Event ID 4079 and/or 7034

June 8, 2012

After installation of a new domain controller, The following error may appear in the System Event Log:

The Active Directory Web Services service terminated unexpectedly.  It has done this x time(s).

The most common reason for this issue is a corrupted registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ADWS

To resolve this issue, please copy a working registry key from a exiting domain controller, with the same Operating System version and the same service pack level.

For a example, I attached a working registry key that was exported from Windows 2008 R2 SP1 server.

Note1: Its recommended to backup the original registry key before changing it.

Note2: The sample key can by copy to “ADWS.reg” file and then importing to the server registry. After it, please reboot the domain controller

and use Active Directory best practice to verify that no issue is still exits.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ADWS]
“Type”=dword:00000010
“Start”=dword:00000002
“ErrorControl”=dword:00000001
“ImagePath”=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
  74,00,25,00,5c,00,41,00,44,00,57,00,53,00,5c,00,4d,00,69,00,63,00,72,00,6f,\
  00,73,00,6f,00,66,00,74,00,2e,00,41,00,63,00,74,00,69,00,76,00,65,00,44,00,\
  69,00,72,00,65,00,63,00,74,00,6f,00,72,00,79,00,2e,00,57,00,65,00,62,00,53,\
  00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,65,00,78,00,65,00,00,00
“DisplayName”=”@%SystemRoot%\\ADWS\\adwsres.dll,-1”
“ObjectName”=”LocalSystem”
“Description”=”@%SystemRoot%\\ADWS\\adwsres.dll,-2”
“ServiceSidType”=dword:00000001
“RequiredPrivileges”=hex(7):53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,\
  00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,\
  67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,47,00,6c,\
  00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,\
  65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,72,00,73,00,6f,00,6e,00,61,\
  00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,\
  00,00
“FailureActions”=hex:84,03,00,00,00,00,00,00,01,00,00,00,03,00,00,00,14,00,00,\
  00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00
“DelayedAutostart”=dword:00000000
“PerformanceCounterVersion”=dword:00000006

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ADWS\Linkage]
“Export”=hex(7):41,00,44,00,57,00,53,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ADWS\Performance]
“Open”=”OpenPerformanceData”
“Collect”=”CollectPerformanceData”
“Close”=”ClosePerformanceData”
“Library”=”netfxperf.dll”
“IsMultiInstance”=dword:00000000
“CategoryOptions”=dword:00000003
“Counter Types”=hex(7):32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,\
  00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,00,00,32,00,37,\
  00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,00,00,32,00,37,00,32,00,36,00,\
  39,00,36,00,33,00,32,00,30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,\
  00,32,00,30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,\
  00,00,36,00,35,00,35,00,33,00,36,00,00,00,32,00,37,00,32,00,36,00,39,00,36,\
  00,33,00,32,00,30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,\
  30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,00,00,32,\
  00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,00,00,32,00,37,00,32,00,\
  36,00,39,00,36,00,33,00,32,00,30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,\
  00,33,00,32,00,30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,\
  30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,00,00,32,\
  00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,00,00,32,00,37,00,32,00,\
  36,00,39,00,36,00,33,00,32,00,30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,\
  00,33,00,32,00,30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,\
  30,00,00,00,36,00,35,00,35,00,33,00,36,00,00,00,36,00,35,00,35,00,33,00,36,\
  00,00,00,36,00,35,00,35,00,33,00,36,00,00,00,36,00,35,00,35,00,33,00,36,00,\
  00,00,36,00,35,00,35,00,33,00,36,00,00,00,36,00,35,00,35,00,33,00,36,00,00,\
  00,36,00,35,00,35,00,33,00,36,00,00,00,36,00,35,00,35,00,33,00,36,00,00,00,\
  32,00,37,00,32,00,36,00,39,00,36,00,35,00,37,00,36,00,00,00,36,00,35,00,35,\
  00,33,00,36,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,\
  00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,00,00,36,00,35,\
  00,35,00,33,00,36,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,\
  30,00,00,00,32,00,37,00,32,00,36,00,39,00,36,00,33,00,32,00,30,00,00,00,36,\
  00,35,00,35,00,33,00,36,00,00,00,00,00
“Counter Names”=hex(7):43,00,72,00,65,00,61,00,74,00,65,00,20,00,4f,00,70,00,\
  65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,00,20,00,50,00,65,00,72,00,20,\
  00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,44,00,65,00,6c,00,65,00,74,00,\
  65,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,00,20,\
  00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,47,00,\
  65,00,74,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,\
  00,20,00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,\
  50,00,75,00,74,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,\
  00,73,00,20,00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,\
  00,00,45,00,6e,00,75,00,6d,00,65,00,72,00,61,00,74,00,65,00,20,00,4f,00,70,\
  00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,00,20,00,50,00,65,00,72,00,\
  20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,50,00,75,00,6c,00,6c,00,20,\
  00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,00,20,00,50,00,\
  65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,4f,00,70,00,65,\
  00,6e,00,20,00,45,00,6e,00,75,00,6d,00,65,00,72,00,61,00,74,00,69,00,6f,00,\
  6e,00,20,00,43,00,6f,00,6e,00,74,00,65,00,78,00,74,00,73,00,00,00,47,00,65,\
  00,74,00,41,00,44,00,47,00,72,00,6f,00,75,00,70,00,4d,00,65,00,6d,00,62,00,\
  65,00,72,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,\
  00,20,00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,\
  47,00,65,00,74,00,41,00,44,00,50,00,72,00,69,00,6e,00,63,00,69,00,70,00,61,\
  00,6c,00,47,00,72,00,6f,00,75,00,70,00,4d,00,65,00,6d,00,62,00,65,00,72,00,\
  73,00,68,00,69,00,70,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,\
  00,6e,00,73,00,20,00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,\
  64,00,00,00,53,00,65,00,74,00,50,00,61,00,73,00,73,00,77,00,6f,00,72,00,64,\
  00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,00,20,00,\
  50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,43,00,68,\
  00,61,00,6e,00,67,00,65,00,50,00,61,00,73,00,73,00,77,00,6f,00,72,00,64,00,\
  20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,00,20,00,50,\
  00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,47,00,65,00,\
  74,00,41,00,44,00,50,00,72,00,69,00,6e,00,63,00,69,00,70,00,61,00,6c,00,41,\
  00,75,00,74,00,68,00,6f,00,72,00,69,00,7a,00,61,00,74,00,69,00,6f,00,6e,00,\
  47,00,72,00,6f,00,75,00,70,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,\
  00,6f,00,6e,00,73,00,20,00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,\
  6e,00,64,00,00,00,54,00,72,00,61,00,6e,00,73,00,6c,00,61,00,74,00,65,00,4e,\
  00,61,00,6d,00,65,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,\
  6e,00,73,00,20,00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,\
  00,00,00,47,00,65,00,74,00,41,00,44,00,44,00,6f,00,6d,00,61,00,69,00,6e,00,\
  43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,6c,00,65,00,72,00,20,00,4f,00,70,\
  00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,00,20,00,50,00,65,00,72,00,\
  20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,47,00,65,00,74,00,41,00,44,\
  00,44,00,6f,00,6d,00,61,00,69,00,6e,00,20,00,4f,00,70,00,65,00,72,00,61,00,\
  74,00,69,00,6f,00,6e,00,73,00,20,00,50,00,65,00,72,00,20,00,53,00,65,00,63,\
  00,6f,00,6e,00,64,00,00,00,4d,00,6f,00,76,00,65,00,41,00,44,00,4f,00,70,00,\
  65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,4d,00,61,00,73,00,74,00,65,00,72,\
  00,52,00,6f,00,6c,00,65,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,\
  6f,00,6e,00,73,00,20,00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,\
  00,64,00,00,00,47,00,65,00,74,00,41,00,44,00,46,00,6f,00,72,00,65,00,73,00,\
  74,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,00,73,00,20,\
  00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,43,00,\
  68,00,61,00,6e,00,67,00,65,00,4f,00,70,00,74,00,69,00,6f,00,6e,00,61,00,6c,\
  00,46,00,65,00,61,00,74,00,75,00,72,00,65,00,20,00,4f,00,70,00,65,00,72,00,\
  61,00,74,00,69,00,6f,00,6e,00,73,00,20,00,50,00,65,00,72,00,20,00,53,00,65,\
  00,63,00,6f,00,6e,00,64,00,00,00,47,00,65,00,74,00,56,00,65,00,72,00,73,00,\
  69,00,6f,00,6e,00,20,00,4f,00,70,00,65,00,72,00,61,00,74,00,69,00,6f,00,6e,\
  00,73,00,20,00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,\
  00,00,4e,00,75,00,6d,00,62,00,65,00,72,00,20,00,6f,00,66,00,20,00,44,00,69,\
  00,72,00,65,00,63,00,74,00,6f,00,72,00,79,00,20,00,49,00,6e,00,73,00,74,00,\
  61,00,6e,00,63,00,65,00,73,00,00,00,50,00,6f,00,73,00,73,00,69,00,62,00,6c,\
  00,65,00,20,00,43,00,6f,00,6e,00,6e,00,65,00,63,00,74,00,69,00,6f,00,6e,00,\
  73,00,00,00,41,00,6c,00,6c,00,6f,00,63,00,61,00,74,00,65,00,64,00,20,00,43,\
  00,6f,00,6e,00,6e,00,65,00,63,00,74,00,69,00,6f,00,6e,00,73,00,00,00,52,00,\
  65,00,73,00,65,00,72,00,76,00,65,00,64,00,20,00,43,00,6f,00,6e,00,6e,00,65,\
  00,63,00,74,00,69,00,6f,00,6e,00,73,00,00,00,4e,00,6f,00,6e,00,2d,00,72,00,\
  65,00,73,00,65,00,72,00,76,00,65,00,64,00,20,00,43,00,6f,00,6e,00,6e,00,65,\
  00,63,00,74,00,69,00,6f,00,6e,00,73,00,20,00,49,00,6e,00,20,00,55,00,73,00,\
  65,00,00,00,52,00,65,00,73,00,65,00,72,00,76,00,65,00,64,00,20,00,43,00,6f,\
  00,6e,00,6e,00,65,00,63,00,74,00,69,00,6f,00,6e,00,73,00,20,00,49,00,6e,00,\
  20,00,55,00,73,00,65,00,00,00,4f,00,70,00,65,00,6e,00,20,00,57,00,65,00,62,\
  00,20,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,20,00,53,00,65,00,73,00,\
  73,00,69,00,6f,00,6e,00,73,00,00,00,41,00,63,00,74,00,69,00,76,00,65,00,20,\
  00,57,00,65,00,62,00,20,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,20,00,\
  53,00,65,00,73,00,73,00,69,00,6f,00,6e,00,73,00,00,00,57,00,65,00,62,00,20,\
  00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,20,00,53,00,65,00,73,00,73,00,\
  69,00,6f,00,6e,00,73,00,20,00,43,00,72,00,65,00,61,00,74,00,65,00,64,00,20,\
  00,50,00,65,00,72,00,20,00,53,00,65,00,63,00,6f,00,6e,00,64,00,00,00,43,00,\
  75,00,73,00,74,00,6f,00,6d,00,20,00,41,00,63,00,74,00,69,00,6f,00,6e,00,20,\
  00,4c,00,44,00,41,00,50,00,20,00,43,00,61,00,63,00,68,00,65,00,20,00,4d,00,\
  61,00,78,00,69,00,6d,00,75,00,6d,00,20,00,50,00,6f,00,73,00,73,00,69,00,62,\
  00,6c,00,65,00,20,00,53,00,69,00,7a,00,65,00,00,00,43,00,75,00,73,00,74,00,\
  6f,00,6d,00,20,00,41,00,63,00,74,00,69,00,6f,00,6e,00,20,00,4c,00,44,00,41,\
  00,50,00,20,00,43,00,61,00,63,00,68,00,65,00,20,00,43,00,6f,00,6e,00,6e,00,\
  65,00,63,00,74,00,69,00,6f,00,6e,00,20,00,43,00,72,00,65,00,61,00,74,00,69,\
  00,6f,00,6e,00,20,00,52,00,61,00,74,00,65,00,00,00,43,00,75,00,73,00,74,00,\
  6f,00,6d,00,20,00,41,00,63,00,74,00,69,00,6f,00,6e,00,20,00,4c,00,44,00,41,\
  00,50,00,20,00,43,00,61,00,63,00,68,00,65,00,20,00,43,00,6f,00,6e,00,6e,00,\
  65,00,63,00,74,00,69,00,6f,00,6e,00,20,00,52,00,65,00,75,00,73,00,65,00,20,\
  00,52,00,61,00,74,00,65,00,00,00,43,00,75,00,73,00,74,00,6f,00,6d,00,20,00,\
  41,00,63,00,74,00,69,00,6f,00,6e,00,20,00,44,00,53,00,20,00,52,00,50,00,43,\
  00,20,00,43,00,61,00,63,00,68,00,65,00,20,00,4d,00,61,00,78,00,69,00,6d,00,\
  75,00,6d,00,20,00,50,00,6f,00,73,00,73,00,69,00,62,00,6c,00,65,00,20,00,53,\
  00,69,00,7a,00,65,00,00,00,43,00,75,00,73,00,74,00,6f,00,6d,00,20,00,41,00,\
  63,00,74,00,69,00,6f,00,6e,00,20,00,44,00,53,00,20,00,52,00,50,00,43,00,20,\
  00,43,00,61,00,63,00,68,00,65,00,20,00,43,00,6f,00,6e,00,6e,00,65,00,63,00,\
  74,00,69,00,6f,00,6e,00,20,00,43,00,72,00,65,00,61,00,74,00,69,00,6f,00,6e,\
  00,20,00,52,00,61,00,74,00,65,00,00,00,43,00,75,00,73,00,74,00,6f,00,6d,00,\
  20,00,41,00,63,00,74,00,69,00,6f,00,6e,00,20,00,44,00,53,00,20,00,52,00,50,\
  00,43,00,20,00,43,00,61,00,63,00,68,00,65,00,20,00,43,00,6f,00,6e,00,6e,00,\
  65,00,63,00,74,00,69,00,6f,00,6e,00,20,00,52,00,65,00,75,00,73,00,65,00,20,\
  00,52,00,61,00,74,00,65,00,00,00,43,00,75,00,73,00,74,00,6f,00,6d,00,20,00,\
  41,00,63,00,74,00,69,00,6f,00,6e,00,20,00,43,00,61,00,63,00,68,00,65,00,20,\
  00,53,00,69,00,7a,00,65,00,00,00,00,00
“PerfIniFile”=”tmp61E1.tmp”
“Last Counter”=dword:00001aee
“Last Help”=dword:00001aef
“First Counter”=dword:00001aa8
“First Help”=dword:00001aa9
“Object List”=”6824”

Add comment
facebook linkedin twitter email

Leave a Reply

one comment

  1. hereMarch 16, 2013 ב 09:43

    Thank you for this fantastic site. I am trying to read some more posts but I cant get your blog to display properly in my Firefox Browser. Thank you once more! here http://www.louisvuittonreplicated.com