[INF] Use the StartName entry for DHCP and DNS service install

This commit is contained in:
Eric Kohl 2019-11-02 00:29:53 +01:00
parent a95a0b61bd
commit 7d7ee10f92

View file

@ -270,10 +270,10 @@ StartType = 2
ErrorControl = 1
ServiceBinary = "%11%\svchost.exe -k netsvcs"
LoadOrderGroup = TDI
StartName = "LocalSystem"
AddReg=dhcp_AddReg
[dhcp_AddReg]
HKR,,"ObjectName",0x00000000,"LocalSystem"
HKR,"Parameters","ServiceDll",0x00020000,"%SystemRoot%\system32\dhcpcsvc.dll"
[dns_Service_Inst]
@ -284,10 +284,10 @@ StartType = 2
ErrorControl = 1
ServiceBinary = "%11%\svchost.exe -k NetworkService"
LoadOrderGroup = TDI
StartName = "NT AUTHORITY\NetworkService"
AddReg=dns_AddReg
[dns_AddReg]
HKR,,"ObjectName",0x00000000,"NT AUTHORITY\NetworkService"
HKR,"Parameters","ServiceDll",0x00020000,"%SystemRoot%\system32\dnsrslvr.dll"
;-------------------------------- STRINGS -------------------------------