Leaked source code of windows server 2003
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.

546 lines
23 KiB

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