https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a800c764fa11e100196f1ea14b620b8835c36937

commit a800c764fa11e100196f1ea14b620b8835c36937
Author:     Eric Kohl <[email protected]>
AuthorDate: Mon Sep 23 21:04:29 2019 +0200
Commit:     Eric Kohl <[email protected]>
CommitDate: Mon Sep 23 21:04:29 2019 +0200

    [INF] Create missing registry keys on TCPIP install
    
    Create missing subkeys in order to prevent errors on adapter enumeration.
    
    CORE-15231
---
 media/inf/nettcpip.inf | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/media/inf/nettcpip.inf b/media/inf/nettcpip.inf
index 92a51132197..eb21c968b17 100644
--- a/media/inf/nettcpip.inf
+++ b/media/inf/nettcpip.inf
@@ -242,7 +242,13 @@ StartType     = 1
 ErrorControl  = 1
 ServiceBinary = %12%\tcpip.sys
 LoadOrderGroup = PNP_TDI
-AddReg = tcpip_AddReg
+AddReg = tcpip_AddReg_Parameters, tcpip_AddReg
+
+[tcpip_AddReg_Parameters]
+HKR,"Parameters",,0x00000010
+HKR,"Parameters\Adapters",,0x00000010
+HKR,"Parameters\Interfaces",,0x00000010
+HKR,"Parameters\PersistentRoutes",,0x00000010
 
 [tcpip_AddReg]
 HKR,"Parameters","DataBasePath",0x00020000,"%SystemRoot%\System32\drivers\etc"
@@ -253,7 +259,6 @@ HKR,"Parameters","ForwardBroadcasts",0x00010001,0x00000000
 HKR,"Parameters","IPEnableRouter",0x00010001,0x00000000
 HKR,"Parameters","SearchList",0x00000000,""
 HKR,"Parameters","EnableSecurityFilters",0x00010001,0x00000000
-;HKR,"Parameters","PersistentRoutes",,0x00000010
 
 [dhcp_Service_Inst]
 DisplayName   = "DHCP Client"

Reply via email to