Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

487 lines
21 KiB

  1. ; NETTCPIP.INF -- TCP/IP Protocol
  2. ;
  3. ; Copyright 1993-1999, Microsoft Corporation
  4. [Version]
  5. Signature = "$Windows NT$"
  6. Class = NetTrans
  7. ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
  8. Provider = %Msft%
  9. LayoutFile = layout.inf
  10. [Manufacturer]
  11. %Msft% = Msft
  12. [Msft]
  13. %MS_TCPIP.DisplayName% = MS_TCPIP.PrimaryInstall, MS_TCPIP ;TCP/IP
  14. %MS_WINS.DisplayName% = MS_WINS.PrimaryInstall, MS_NetBT ;WINS
  15. %MS_NETBT_SMB.DisplayName% = MS_NETBT_SMB.PrimaryInstall, MS_NETBT_SMB ;NETBT_SMB
  16. [ControlFlags]
  17. ExcludeFromSelect = MS_NetBT,MS_NETBT_SMB ; NetBt and NetBt_Smb are sub-components of Tcpip
  18. ;****************************************************************************
  19. ; TCP/IP
  20. ;****************************************************************************
  21. ;=======================
  22. ; TCP/IP Primary Install
  23. ;=======================
  24. [MS_TCPIP.PrimaryInstall]
  25. ; TCPIP has properties to display
  26. Characteristics = 0xA0 ; NCF_HAS_UI | NCF_NOT_USER_REMOVABLE
  27. AddReg = Registry.MS_TCPIP.PrimaryInstall, Registry.MS_TCPIP, Registry.MS_TCPIP.Legacy
  28. RegisterDlls = MS_TCPIP.Register
  29. @s: ProfileItems = MS_TCPIP.Shortcut.Remove
  30. [Registry.MS_TCPIP.PrimaryInstall]
  31. HKR,Ndi,ClsId,,"{A907657F-6FDF-11D0-8EFB-00C04FD912B2}"
  32. HKR,Ndi,HelpText,,"@netcfgx.dll,-50001"
  33. HKR,Ndi,Service,,"Tcpip"
  34. HKR,Ndi,CoServices,%FLG_ADDREG_TYPE_MULTI_SZ%,"Tcpip", "Netbt", "Lmhosts", "Dhcp", "Dnscache", "PolicyAgent", "Nla"
  35. HKR,Ndi,ExcludeSetupStartServices, 0x00010000, "PolicyAgent"
  36. HKR,Ndi\Interfaces,UpperRange,,"tdi"
  37. HKR,Ndi\Interfaces,LowerRange,,"ndis4,ndis5,ndisatm,ndiswanip,ndis5_ip,ndis1394"
  38. ;=====================================
  39. ; TCP/IP Interface and Service Install
  40. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  41. ;=====================================
  42. [MS_TCPIP.PrimaryInstall.Services]
  43. AddService = Tcpip, 0, Install.AddService.TCPIP, NetEventLog
  44. AddService = Dhcp, 0, Install.AddService.DHCP, DhcpEventLog
  45. AddService = Dnscache, 0, Install.AddService.DNSCACHE, NetEventLog
  46. AddService = IPSec, 1, Install.AddService.IPSEC, NetEventLog
  47. AddService = PolicyAgent, 0x10, Install.AddService.PolicyAgent, PolicyAgentEventLog
  48. AddService = Atmarpc, 0, ATMARPC.AddService, NetEventLog
  49. AddService = Nla, 0, Install.AddService.NLA, NetEventLog
  50. [MS_TCPIP.Register]
  51. 11,, polstore.dll, 1
  52. 11,, ipsecsnp.dll, 1
  53. [MS_TCPIP.Unregister]
  54. 11,, polstore.dll, 1
  55. 11,, ipsecsnp.dll, 1
  56. ; Remove old IPSec Snapin references (Tool no longer present)
  57. @s:[MS_TCPIP.Shortcut.Remove]
  58. @s:Name = %IPSEC_Admin_Desc%, 0x2
  59. @s:SubDir = %IPSEC_Group_Name%
  60. ; Install Tcpip service
  61. [Install.AddService.TCPIP]
  62. DisplayName = %MS_TCPIP.TCPIP.ServiceDescription%
  63. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  64. StartType = 1 ;SERVICE_SYSTEM_START
  65. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  66. ServiceBinary = %12%\tcpip.sys
  67. Dependencies = IPSec
  68. LoadOrderGroup = PNP_TDI
  69. AddReg = Registry.Service.TCPIP.Secure,Registry.Service.TCPIP
  70. Description = %MS_TCPIP.TCPIP.ServiceDescription%
  71. ; Install Winsock dependency
  72. [MS_TCPIP.PrimaryInstall.Winsock]
  73. AddSock = Install.TcpipWinsock
  74. AddSock = Install.LDAPWinsock
  75. AddSock = Install.NlaWinsock
  76. [Install.TcpipWinsock]
  77. TransportService = Tcpip
  78. HelperDllName = "%SystemRoot%\System32\wshtcpip.dll"
  79. MaxSockAddrLength = 0x10
  80. MinSockAddrLength = 0x10
  81. LibraryPath="%SystemRoot%\System32\mswsock.dll"
  82. DisplayString=%MS_TCPIP.Provider_Desc%
  83. SupportedNameSpace=12
  84. Version=0
  85. ProviderId="{22059d40-7e9e-11cf-ae5a-00aa00a7112b}"
  86. [Install.LDAPWinsock]
  87. TransportService = Tcpip
  88. HelperDllName = "%SystemRoot%\System32\wshtcpip.dll"
  89. MaxSockAddrLength = 0x10
  90. MinSockAddrLength = 0x10
  91. LibraryPath="%SystemRoot%\System32\winrnr.dll"
  92. DisplayString=%MS_NTDS.Provider_Desc%
  93. SupportedNameSpace=32
  94. SchemaSupport=0
  95. ProviderId="{3b2637ee-e580-11cf-a555-00c04fd8d4ac}"
  96. [Install.NlaWinsock]
  97. TransportService = Tcpip
  98. HelperDllName = "%SystemRoot%\System32\wshtcpip.dll"
  99. MaxSockAddrLength = 0x10
  100. MinSockAddrLength = 0x10
  101. LibraryPath="%SystemRoot%\System32\mswsock.dll"
  102. DisplayString=%MS_TCPIP.Nla.Provider_Desc%
  103. SupportedNameSpace=15
  104. Version=0
  105. ProviderId="{6642243A-3BA8-4aa6-BAA5-2E0BD71FDD83}"
  106. ; Install DHCP service
  107. [Install.AddService.DHCP]
  108. DisplayName = %MS_TCPIP.DHCP.DisplayName%
  109. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  110. StartType = 2 ;SERVICE_AUTO_START
  111. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  112. ServiceBinary = %11%\svchost.exe -k netsvcs
  113. LoadOrderGroup = TDI
  114. Dependencies = Tcpip, Afd, NetBT
  115. StartName = LocalSystem
  116. AddReg = Registry.Service.DHCP.Secure,Registry.Service.DHCP
  117. Description = %MS_TCPIP.DHCP.ServiceDescription%
  118. Security = "D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;0x40;;;LS)(A;;0x40;;;NS)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;S-1-5-32-556)"
  119. ; Install DNS Caching Resolver Service
  120. [Install.AddService.DNSCACHE]
  121. DisplayName = %MS_TCPIP.DNSCACHE.DisplayName%
  122. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  123. StartType = 2 ;SERVICE_AUTO_START
  124. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  125. ServiceBinary = %11%\svchost.exe -k NetworkService
  126. Dependencies = Tcpip
  127. LoadOrderGroup = TDI
  128. StartName = "NT AUTHORITY"\NetworkService
  129. AddReg = Registry.Service.DNSCACHE.Secure,Registry.Service.DNSCACHE
  130. Description = %MS_TCPIP.DNSCACHE.ServiceDescription%
  131. Security = "D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;0x40;;;LS)(A;;0x40;;;NS)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;S-1-5-32-556)"
  132. ; Install IPSEC Service
  133. [Install.AddService.IPSEC]
  134. DisplayName = %MS_TCPIP.IPSEC.ServiceDescription%
  135. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  136. StartType = 1 ;SERVICE_SYSTEM_START
  137. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  138. ServiceBinary = %12%\ipsec.sys
  139. LoadOrderGroup = PNP_TDI
  140. Description = %MS_TCPIP.IPSEC.ServiceDescription%
  141. ; Install PolicyAgent Service
  142. [Install.AddService.PolicyAgent]
  143. DisplayName = %MS_TCPIP.PolicyAgent.DisplayName%
  144. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  145. StartType = 0x2 ;SERVICE_AUTO_START
  146. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  147. ServiceBinary = %11%\lsass.exe
  148. LoadOrderGroup =
  149. Dependencies = RPCSS, Tcpip, IPSec
  150. StartName = LocalSystem
  151. Description = %MS_TCPIP.PolicyAgent.ServiceDescription%
  152. ; Install Winsock Mobility service
  153. [Install.AddService.NLA]
  154. DisplayName = %MS_TCPIP.Nla.DisplayName%
  155. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  156. StartType = 3 ;SERVICE_DEMAND_START
  157. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  158. ServiceBinary = %11%\svchost.exe -k netsvcs
  159. LoadOrderGroup =
  160. Dependencies = Tcpip, Afd
  161. AddReg = Registry.Service.Nla
  162. Description = %MS_TCPIP.Nla.ServiceDescription%
  163. ; Allow : Authenticated Users to query/start service
  164. ; Power Users to query/start/stop/pause service
  165. ; Administrators full control
  166. Security = "D:(A;;0x2019D;;;AU)(A;;0x201FD;;;PU)(A;;0xF01FF;;;BA)"
  167. [Registry.MS_TCPIP]
  168. ;RPC protocols for tcpip
  169. HKLM,SOFTWARE\Microsoft\Rpc\ClientProtocols,ncacn_ip_tcp,,"rpcrt4.dll"
  170. HKLM,SOFTWARE\Microsoft\Rpc\ClientProtocols,ncadg_ip_udp,,"rpcrt4.dll"
  171. HKLM,SOFTWARE\Microsoft\Rpc\ClientProtocols,ncacn_http,,"rpcrt4.dll"
  172. @@:@6: HKLM,SOFTWARE\Wow6432Node\Microsoft\Rpc\ClientProtocols,ncacn_ip_tcp,,"rpcrt4.dll"
  173. @@:@6: HKLM,SOFTWARE\Wow6432Node\Microsoft\Rpc\ClientProtocols,ncadg_ip_udp,,"rpcrt4.dll"
  174. @@:@6: HKLM,SOFTWARE\Wow6432Node\Microsoft\Rpc\ClientProtocols,ncacn_http,,"rpcrt4.dll"
  175. [Registry.MS_TCPIP.Legacy]
  176. ;Some legacy apps use the following key to check whether tcp is installed
  177. HKLM,SOFTWARE\Microsoft\Tcpip\CurrentVersion,,%FLG_ADDREG_KEYONLY%
  178. [Registry.MS_TCPIP.Legacy.Remove]
  179. HKLM,SOFTWARE\Microsoft\Tcpip
  180. HKLM,SOFTWARE\Microsoft\Rpc\ClientProtocols,ncacn_nb_tcp,,"rpcrt4.dll"
  181. @@:@6: HKLM,SOFTWARE\Wow6432Node\Microsoft\Rpc\ClientProtocols,ncacn_nb_tcp,,"rpcrt4.dll"
  182. [Registry.Service.DHCP.Secure]
  183. HKR,Configurations,,%FLG_ADDREG_KEYONLY%
  184. HKR,Parameters,,%FLG_ADDREG_KEYONLY%
  185. HKR,Parameters\Options,,%FLG_ADDREG_KEYONLY%
  186. [Registry.Service.DHCP.Secure.Security]
  187. "D:P(A;CI;GR;;;BU)(A;CI;GR;;;PU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GA;;;NS)(A;CI;GA;;;LS)(A;CI;CCDCLCSWRPSDRC;;;S-1-5-32-556)"
  188. [Registry.Service.DHCP]
  189. ;add keys which instruct DHCP where to find TCPIP options
  190. HKR,Linkage\Disabled,,%FLG_ADDREG_KEYONLY%
  191. HKR,Parameters\Options\1,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000007
  192. HKR,Parameters\Options\1,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpSubnetMaskOpt","SYSTEM\CurrentControlSet\Services\?\Parameters\Tcpip\DhcpSubnetMaskOpt"
  193. HKR,Parameters\Options\15,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  194. HKR,Parameters\Options\15,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpDomain","SYSTEM\CurrentControlSet\Services\TcpIp\Parameters\DhcpDomain"
  195. HKR,Parameters\Options\3,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000007
  196. HKR,Parameters\Options\3,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpDefaultGateway","SYSTEM\CurrentControlSet\Services\?\Parameters\Tcpip\DhcpDefaultGateway"
  197. HKR,Parameters\Options\6,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  198. HKR,Parameters\Options\6,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpNameServer","SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DhcpNameServer"
  199. HKR,Parameters\Options\44,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  200. HKR,Parameters\Options\44,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_?\DhcpNameServerList","SYSTEM\CurrentControlSet\Services\NetBT\Adapters\?\DhcpNameServer"
  201. HKR,Parameters\Options\46,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000004
  202. HKR,Parameters\Options\46,RegLocation,,"SYSTEM\CurrentControlSet\Services\NetBT\Parameters\DhcpNodeType"
  203. HKR,Parameters\Options\47,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  204. HKR,Parameters\Options\47,RegLocation,,"SYSTEM\CurrentControlSet\Services\NetBT\Parameters\DhcpScopeID"
  205. HKR,Parameters\Options\DhcpNetbiosOptions,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000004
  206. HKR,Parameters\Options\DhcpNetbiosOptions,OptionId,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  207. HKR,Parameters\Options\DhcpNetbiosOptions,VendorType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  208. HKR,Parameters\Options\DhcpNetbiosOptions,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_?\DhcpNetbiosOptions"
  209. HKR,Parameters,ServiceDll,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\dhcpcsvc.dll"
  210. [Registry.Service.TCPIP.Secure]
  211. HKLM,System\CurrentControlSet\Services\Tcpip,,%FLG_ADDREG_KEYONLY%
  212. HKLM,System\CurrentControlSet\Services\RemoteAccess,,%FLG_ADDREG_KEYONLY% @*: Need this somewhere for now. Will be moved later
  213. HKLM,System\CurrentControlSet\Control\Network,,%FLG_ADDREG_KEYONLY% @*: Need this somewhere for now. Will be moved later
  214. HKR,Linkage,,%FLG_ADDREG_KEYONLY%
  215. HKR,Parameters,,%FLG_ADDREG_KEYONLY%
  216. HKR,Parameters\Adapters,,%FLG_ADDREG_KEYONLY%
  217. HKR,Parameters\Interfaces,,%FLG_ADDREG_KEYONLY%
  218. [Registry.Service.TCPIP.Secure.Security]
  219. "D:P(A;CI;GR;;;BU)(A;CI;GR;;;PU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GA;;;NS)(A;CI;GA;;;LS)(A;CI;CCDCLCSWRPSDRC;;;S-1-5-32-556)"
  220. [Registry.Service.TCPIP]
  221. HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order","ExcludedProviders",%FLG_ADDREG_SZ_NO_CLOBBER%,""
  222. HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order","ProviderOrder",%FLG_ADDREG_MULTI_SZ_APPEND%,"Tcpip"
  223. HKR,Parameters\PersistentRoutes,,%FLG_ADDREG_KEYONLY%
  224. HKR,Performance,Close,,"CloseTcpIpPerformanceData"
  225. HKR,Performance,Collect,,"CollectTcpIpPerformanceData"
  226. HKR,Performance,Library,,"Perfctrs.dll"
  227. HKR,Performance,Open,,"OpenTcpIpPerformanceData"
  228. HKR,Performance,Object List,,"502 510 546 582 638 658"
  229. HKR,ServiceProvider,Class,%FLG_ADDREG_TYPE_DWORD%,8
  230. HKR,ServiceProvider,DnsPriority,%FLG_ADDREG_TYPE_DWORD%,2000
  231. HKR,ServiceProvider,HostsPriority,%FLG_ADDREG_TYPE_DWORD%,500
  232. HKR,ServiceProvider,LocalPriority,%FLG_ADDREG_TYPE_DWORD%,499
  233. HKR,ServiceProvider,ProviderPath,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\wsock32.dll"
  234. HKR,ServiceProvider,NetbtPriority,%FLG_ADDREG_TYPE_DWORD%,2001
  235. HKR,ServiceProvider,Name,,"TCP/IP"
  236. HKR,Parameters,DataBasePath,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\drivers\etc"
  237. HKR,Parameters,NameServer,%FLG_ADDREG_SZ_NO_CLOBBER%,""
  238. HKR,Parameters,ForwardBroadcasts,%FLG_ADDREG_DWORD_NO_CLOBBER%,0
  239. HKR,Parameters,IPEnableRouter,%FLG_ADDREG_TYPE_DWORD%,0
  240. HKR,Parameters\Winsock,"UseDelayedAcceptance",%FLG_ADDREG_TYPE_DWORD%,0x0000
  241. [Registry.Service.DNSCACHE.Secure]
  242. HKLM,System\CurrentControlSet\Services\DnsCache,,%FLG_ADDREG_KEYONLY%
  243. HKR,Parameters,,%FLG_ADDREG_KEYONLY%
  244. [Registry.Service.DNSCACHE.Secure.Security]
  245. "D:P(A;CI;GR;;;BU)(A;CI;GR;;;PU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GA;;;NS)(A;CI;GA;;;LS)(A;CI;CCDCLCSWRPSDRC;;;S-1-5-32-556)"
  246. [Registry.Service.DNSCACHE]
  247. HKLM,"System\CurrentControlSet\Services\EventLog\System",Sources, %FLG_ADDREG_MULTI_SZ_APPEND%, "Dnsapi"
  248. HKLM,"System\CurrentControlSet\Services\EventLog\System\Dnsapi",ParameterMessageFile, %FLG_ADDREG_TYPE_EXPAND_SZ%, "%%SystemRoot%%\System32\kernel32.dll"
  249. HKLM,"System\CurrentControlSet\Services\EventLog\System\Dnsapi",EventMessageFile, %FLG_ADDREG_TYPE_EXPAND_SZ%, "%%SystemRoot%%\System32\netevent.dll"
  250. HKLM,"System\CurrentControlSet\Services\EventLog\System\Dnsapi",TypesSupported, %FLG_ADDREG_TYPE_DWORD%, 7
  251. HKR,Parameters,ServiceDll,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\dnsrslvr.dll"
  252. [Registry.Service.Nla]
  253. HKR,Parameters,ServiceDll,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\mswsock.dll"
  254. ;====================================
  255. ; TCP/IP Interface and Service Remove
  256. ;====================================
  257. [MS_TCPIP.PrimaryInstall.Remove]
  258. DelReg = Registry.MS_TCPIP, Registry.MS_TCPIP.Legacy.Remove
  259. UnregisterDlls = MS_TCPIP.Unregister
  260. [MS_TCPIP.PrimaryInstall.Remove.Services]
  261. DelService = Tcpip
  262. DelService = Dhcp
  263. DelService = Dnscache
  264. DelService = IPSec
  265. DelService = PolicyAgent
  266. DelService = Atmarpc
  267. DelService = Nla
  268. [MS_TCPIP.PrimaryInstall.Remove.Winsock]
  269. DelSock = Remove.TcpipWinsock
  270. DelSock = Remove.LDAPWinsock
  271. DelSock = Remove.NlaWinsock
  272. [Remove.TcpipWinsock]
  273. TransportService=Tcpip
  274. ProviderId="{22059d40-7e9e-11cf-ae5a-00aa00a7112b}"
  275. [Remove.LDAPWinsock]
  276. TransportService=Tcpip
  277. ProviderId="{3b2637ee-e580-11cf-a555-00c04fd8d4ac}"
  278. [Remove.NlaWinsock]
  279. TransportService=Tcpip
  280. ProviderId="{6642243A-3BA8-4aa6-BAA5-2E0BD71FDD83}"
  281. ;****************************************************************************
  282. ; WINS
  283. ;****************************************************************************
  284. ;=====================
  285. ; WINS Primary Install
  286. ;=====================
  287. [MS_WINS.PrimaryInstall]
  288. Characteristics = 0x28 ; NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  289. AddReg = Registry.MS_WINS.PrimaryInstall
  290. [Registry.MS_WINS.PrimaryInstall]
  291. ; Class Information
  292. HKR,Ndi,Service,,"NetBT"
  293. ; Interfaces
  294. HKR,Ndi\Interfaces,UpperRange,,"netbios"
  295. HKR,Ndi\Interfaces,LowerRange,,"tdi"
  296. ;====================================
  297. ; WINS Interface and Service Install
  298. ;====================================
  299. [MS_WINS.PrimaryInstall.Services]
  300. AddService = LmHosts, 0, Install.AddService.LMHosts, NetEventLog
  301. AddService = NetBT, 0, Install.AddService.NetBT, NetEventLog
  302. [Install.AddService.LMHosts]
  303. DisplayName = %MS_WINS.LMHosts.DisplayName%
  304. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  305. StartType = 2 ;SERVICE_AUTO_START
  306. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  307. ServiceBinary = %11%\svchost.exe -k LocalService
  308. LoadOrderGroup = TDI
  309. Dependencies = NetBT, Afd
  310. StartName = "NT AUTHORITY\LocalService"
  311. AddReg = Registry.Service.LMHosts
  312. Description = %MS_WINS.LMHosts.ServiceDescription%
  313. [Registry.Service.LMHosts]
  314. HKR,Parameters,ServiceDll,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\lmhsvc.dll"
  315. [Install.AddService.NetBT]
  316. DisplayName = %MS_WINS.WINS.ServiceDescription%
  317. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  318. StartType = 1 ;SERVICE_SYSTEM_START
  319. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  320. ServiceBinary = %12%\netbt.sys
  321. LoadOrderGroup = PNP_TDI
  322. Dependencies = Tcpip
  323. StartName =
  324. AddReg = Registry.Service.NetBT.Secure,Registry.Service.NetBT
  325. Description = %MS_WINS.WINS.ServiceDescription%
  326. Security = "D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;0x40;;;LS)(A;;0x40;;;NS)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;S-1-5-32-556)"
  327. [Registry.Service.NetBT.Secure]
  328. HKLM,System\CurrentControlSet\Services\NetBT,,%FLG_ADDREG_KEYONLY%
  329. HKR,Parameters,,%FLG_ADDREG_KEYONLY%
  330. HKR,Parameters\Interfaces,,%FLG_ADDREG_KEYONLY%
  331. [Registry.Service.NetBT.Secure.Security]
  332. "D:P(A;CI;GR;;;BU)(A;CI;GR;;;PU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GA;;;NS)(A;CI;GA;;;LS)(A;CI;CCDCLCSWRPSDRC;;;S-1-5-32-556)"
  333. [Registry.Service.NetBT]
  334. HKR,Linkage,OtherDependencies,%FLG_ADDREG_TYPE_MULTI_SZ%,"Tcpip"
  335. HKR,Parameters,NbProvider,,"_tcp"
  336. HKR,Parameters,NameServerPort,%FLG_ADDREG_DWORD_NO_CLOBBER%,137
  337. HKR,Parameters,CacheTimeout,%FLG_ADDREG_DWORD_NO_CLOBBER%,600000
  338. HKR,Parameters,BcastNameQueryCount,%FLG_ADDREG_DWORD_NO_CLOBBER%,3
  339. HKR,Parameters,BcastQueryTimeout,%FLG_ADDREG_DWORD_NO_CLOBBER%,750
  340. HKR,Parameters,NameSrvQueryCount,%FLG_ADDREG_DWORD_NO_CLOBBER%,3
  341. HKR,Parameters,NameSrvQueryTimeout,%FLG_ADDREG_DWORD_NO_CLOBBER%,1500
  342. HKR,Parameters,Size/Small/Medium/Large,%FLG_ADDREG_DWORD_NO_CLOBBER%,1
  343. HKR,Parameters,SessionKeepAlive,%FLG_ADDREG_DWORD_NO_CLOBBER%,3600000
  344. HKR,Parameters,TransportBindName,,"\Device\"
  345. ;==================================
  346. ; WINS Interface and Service Remove
  347. ;==================================
  348. [MS_WINS.PrimaryInstall.Remove.Services]
  349. DelService = LmHosts
  350. DelService = NetBT
  351. ;********************************
  352. ; ATM ARPC section
  353. ;********************************
  354. [ATMARPC.AddService]
  355. DisplayName = %MS_ATMARPC.DeviceDesc%
  356. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  357. StartType = 3 ;SERVICE_DEMAND_START
  358. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  359. ServiceBinary = %12%\atmarpc.sys
  360. LoadOrderGroup = NDIS
  361. Dependencies = Tcpip
  362. Description = %MS_ATMARPC.DeviceDesc%
  363. ;**********************************************************
  364. ; NETBT_SMB section
  365. ;**********************************************************
  366. [MS_NETBT_SMB.PrimaryInstall]
  367. Characteristics = 0x38 ; NCF_HIDDEN|NCF_NO_SERVICE|NCF_NOT_USER_REMOVABLE
  368. AddReg = Registry.MS_NETBT_SMB.PrimaryInstall
  369. [Registry.MS_NETBT_SMB.PrimaryInstall]
  370. HKR, Ndi, BindForm, 0, "NetbiosSmb"
  371. HKR, Ndi, HelpText, 0, %MS_NETBT_SMB.HelpText%
  372. HKR, Ndi\Interfaces, UpperRange, 0, "netbios_smb"
  373. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  374. ;****************************************************************************
  375. ; [Event Log] sections.
  376. ;****************************************************************************
  377. [NetEventLog]
  378. AddReg = NetEventLog.AddReg
  379. [NetEventLog.AddReg]
  380. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\netevent.dll"
  381. HKR,,TypesSupported,0x00010001,7
  382. [DhcpEventLog]
  383. AddReg = DhcpEventLog.AddReg
  384. [DhcpEventLog.AddReg]
  385. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\dhcpcsvc.dll"
  386. HKR,,ParameterMessageFile,0x00020000,"%%SystemRoot%%\System32\kernel32.dll"
  387. [PolicyAgentEventLog]
  388. AddReg = PolicyAgentEventLog.AddReg
  389. [PolicyAgentEventLog.AddReg]
  390. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\polagent.dll"
  391. HKR,,TypesSupported,0x00010001,7
  392. HKLM,SOFTWARE\Microsoft\IPSec,,%FLG_ADDREG_KEYONLY%