[BOOTDATA][INF] Run the Dnscache service on the NetworkService account

CORE-12159
This commit is contained in:
Eric Kohl 2019-10-28 22:27:38 +01:00
parent 218118e994
commit 90c5cac72c
2 changed files with 3 additions and 2 deletions

View file

@ -1782,6 +1782,7 @@ HKLM,"SOFTWARE\Microsoft\Ole","EnableRemoteConnect",0x00000000,"N"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost",,0x00000012
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","DcomLaunch",0x00010000,"DcomLaunch","PlugPlay"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","netsvcs",0x00010000,"DHCP","BITS","lanmanserver","lanmanworkstation","Schedule","Themes","W32Time","winmgmt","wuauserv"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost","NetworkService",0x00010000,"DnsCache"
; Win32 config
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows",,0x00000012

View file

@ -282,12 +282,12 @@ Description = "Service that caches local DNS queries"
ServiceType = 0x20
StartType = 2
ErrorControl = 1
ServiceBinary = "%11%\svchost.exe -k netsvcs"
ServiceBinary = "%11%\svchost.exe -k NetworkService"
LoadOrderGroup = TDI
AddReg=dns_AddReg
[dns_AddReg]
HKR,,"ObjectName",0x00000000,"LocalSystem"
HKR,,"ObjectName",0x00000000,"NT AUTHORITY\NetworkService"
HKR,"Parameters","ServiceDll",0x00020000,"%SystemRoot%\system32\dnsrslvr.dll"
;-------------------------------- STRINGS -------------------------------