home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 1 / Windows / inf / nettcpip.inf < prev    next >
Windows Setup INFormation  |  2008-01-18  |  45KB  |  521 lines

  1.  ■; NETTCPIP.INF -- TCP/IP Protocol
  2. ;
  3. ; Copyright (c) Microsoft Corporation.  All rights reserved.
  4. ;;++-- AddSDisk.cmd said no CopyFiles
  5. [Version]
  6.     Signature   = "$Windows NT$"
  7.     Class       = NetTrans
  8.     ClassGUID   = {4d36e975-e325-11ce-bfc1-08002be10318}
  9.     Provider    = %Msft%
  10. DriverVer=06/21/2006,6.0.6001.18000
  11. ;; Commented by AddSDisk.cmd
  12. ;;     LayoutFile  = layout.inf
  13. [Manufacturer]
  14.     %Msft% = Msft,NTx86,NTia64,NTamd64
  15. [Msft.NTx86]
  16.     %MS_TCPIP.DisplayName%      = MS_TCPIP.PrimaryInstall, MS_TCPIP           ;TCP/IP
  17.     %MS_TCPIP.Tunnel.DisplayName%   = MS_TCPIP.Tunnel.PrimaryInstall, MS_TCPIP_TUNNEL   ;TCP/IP-Tunnels
  18.     %MS_WINS.DisplayName%       = MS_WINS.PrimaryInstall,  MS_NetBT           ;WINS
  19.     %MS_NETBT_SMB.DisplayName%  = MS_NETBT_SMB.PrimaryInstall, MS_NETBT_SMB   ;NETBT_SMB
  20.     %MS_SMB.DisplayName%        = MS_SMB.Install, MS_SMB
  21. [Msft.NTia64]
  22.     %MS_TCPIP.DisplayName%      = MS_TCPIP.PrimaryInstall, MS_TCPIP           ;TCP/IP
  23.     %MS_TCPIP.Tunnel.DisplayName%   = MS_TCPIP.Tunnel.PrimaryInstall, MS_TCPIP_TUNNEL   ;TCP/IP-Tunnels
  24.     %MS_WINS.DisplayName%       = MS_WINS.PrimaryInstall,  MS_NetBT           ;WINS
  25.     %MS_NETBT_SMB.DisplayName%  = MS_NETBT_SMB.PrimaryInstall, MS_NETBT_SMB   ;NETBT_SMB
  26.     %MS_SMB.DisplayName%        = MS_SMB.Install, MS_SMB
  27. [Msft.NTamd64]
  28.     %MS_TCPIP.DisplayName%      = MS_TCPIP.PrimaryInstall, MS_TCPIP           ;TCP/IP
  29.     %MS_TCPIP.Tunnel.DisplayName%   = MS_TCPIP.Tunnel.PrimaryInstall, MS_TCPIP_TUNNEL   ;TCP/IP-Tunnels
  30.     %MS_WINS.DisplayName%       = MS_WINS.PrimaryInstall,  MS_NetBT           ;WINS
  31.     %MS_NETBT_SMB.DisplayName%  = MS_NETBT_SMB.PrimaryInstall, MS_NETBT_SMB   ;NETBT_SMB
  32.     %MS_SMB.DisplayName%        = MS_SMB.Install, MS_SMB
  33. [ControlFlags]
  34. ExcludeFromSelect = MS_NetBT,MS_NETBT_SMB,MS_SMB ; NetBt and NetBt_Smb are sub-components of Tcpip
  35. ;****************************************************************************
  36. ; TCP/IP
  37. ;****************************************************************************
  38. ;=======================
  39. ; TCP/IP Primary Install
  40. ;=======================
  41. [MS_TCPIP.PrimaryInstall]
  42. ; TCPIP has properties to display
  43. Characteristics = 0xA0 ; NCF_HAS_UI | NCF_NOT_USER_REMOVABLE
  44. AddReg = Registry.MS_TCPIP.PrimaryInstall, Registry.MS_TCPIP, Registry.MS_TCPIP.Legacy
  45. [MS_TCPIP.Tunnel.PrimaryInstall]
  46. Characteristics = 0x28 ; NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  47. AddReg = Registry.MS_TCPIP.Tunnel.Install
  48. [Registry.MS_TCPIP.PrimaryInstall]
  49. HKR, Ndi, BindForm, 0, "Tcpip"
  50. HKR, Ndi, ClsId, , "{A907657F-6FDF-11D0-8EFB-00C04FD912B2}"
  51. HKR, Ndi, ComponentDll, , tcpipcfg.dll
  52. HKR, Ndi, HelpText, , "@%SystemRoot%\system32\tcpipcfg.dll,-50001"
  53. HKR, Ndi, Service, , "Tcpip"
  54. HKR, Ndi, CoServices, %FLG_ADDREG_TYPE_MULTI_SZ%, "Tcpip", "Netbt", "Smb", "Lmhosts","Dhcp", "Tdx"
  55. HKR, Ndi\Interfaces, UpperRange, , "tdi"
  56. HKR, Ndi\Interfaces, LowerRange, , "ndis5,ndis5_ip"
  57. [Registry.MS_TCPIP.Tunnel.Install]
  58. HKR, Ndi, BindForm, 0, "TCPIPTUNNEL"
  59. HKR, Ndi\Interfaces, UpperRange, 0, noupper
  60. HKR, Ndi\Interfaces, LowerRange, 0, "ndis5_tunnel"
  61. ;=====================================
  62. ; TCP/IP Interface and Service Install
  63. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  64. ;=====================================
  65. [MS_TCPIP.PrimaryInstall.Services]
  66. DelService = Ipsec
  67. AddService = Tcpip, 0, Install.AddService.TCPIP, NetEventLog
  68. AddService = Tdx, 0, Install.AddService.TDX
  69. AddService = Dhcp, 0, Install.AddService.DHCP, DhcpEventLog
  70. ; Remove old IPSec Snapin references (Tool no longer present)
  71. ; Install Tcpip service
  72. [Install.AddService.TCPIP]
  73. DisplayName = "@%SystemRoot%\system32\tcpipcfg.dll,-50003"
  74. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  75. StartType = 0 ;SERVICE_SYSTEM_BOOT
  76. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  77. ServiceBinary = %12%\tcpip.sys
  78. LoadOrderGroup = PNP_TDI
  79. AddReg = Registry.Service.TCPIP.Root,Registry.Service.TCPIP.ServiceProvider,Registry.Service.TCPIP.Secure,Registry.Service.TCPIP,Registry.Service.TCPIP.AdminOnly
  80. Description     = "@%SystemRoot%\system32\tcpipcfg.dll,-50003"
  81. ; Install Winsock dependency
  82. [MS_TCPIP.PrimaryInstall.Winsock]
  83. AddSock = Install.TcpipWinsock
  84. AddSock = Install.LDAPWinsock
  85. [Install.TcpipWinsock]
  86. TransportService = Tcpip
  87. DisplayString="@%SystemRoot%\system32\wshtcpip.dll,-60103"
  88. HelperDllName = "%SystemRoot%\System32\wshtcpip.dll"
  89. LibraryPath="%SystemRoot%\System32\mswsock.dll"
  90. MaxSockAddrLength = 0x10
  91. MinSockAddrLength = 0x10
  92. SupportedNameSpace=12
  93. Version=0
  94. ProviderId="{22059d40-7e9e-11cf-ae5a-00aa00a7112b}"
  95. [Install.LDAPWinsock]
  96. TransportService = Tcpip
  97. HelperDllName = "%SystemRoot%\System32\wshtcpip.dll"
  98. MaxSockAddrLength = 0x10
  99. MinSockAddrLength = 0x10
  100. LibraryPath="%SystemRoot%\System32\winrnr.dll"
  101. DisplayString=%MS_NTDS.Provider_Desc%
  102. SupportedNameSpace=32
  103. SchemaSupport=0
  104. ProviderId="{3b2637ee-e580-11cf-a555-00c04fd8d4ac}"
  105. ; Install DHCP service
  106. [Install.AddService.DHCP]
  107. DisplayName = "@%SystemRoot%\system32\dhcpcsvc.dll,-100"
  108. ServiceType = 0x20  ;SERVICE_WIN32_SHARE_PROCESS
  109. StartType = 2     ;SERVICE_AUTO_START
  110. ErrorControl = 1     ;SERVICE_ERROR_NORMAL
  111. ServiceBinary = %11%\svchost.exe -k LocalServiceNetworkRestricted
  112. LoadOrderGroup = TDI
  113. Dependencies = NSI, Tdx, Afd
  114. StartName = "NT AUTHORITY\LocalService"
  115. AddReg = Registry.Service.DHCP.Parameters.Secure,Registry.Service.DHCP.Options.Secure,Registry.Service.DHCP
  116. Description = "@%SystemRoot%\system32\dhcpcsvc.dll,-101"
  117. Security = "D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;0x40;;;LS)(A;;0x40;;;NS)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;NO)"
  118. [Install.AddService.TDX]
  119. DisplayName = "@%SystemRoot%\system32\tcpipcfg.dll,-50004"
  120. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  121. StartType = 1 ;SERVICE_SYSTEM_START
  122. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  123. ServiceBinary = %12%\tdx.sys
  124. LoadOrderGroup = PNP_TDI
  125. Dependencies = Tcpip
  126. Description = "@%SystemRoot%\system32\tcpipcfg.dll,-50004"
  127. [Registry.MS_TCPIP]
  128. ;RPC protocols for tcpip
  129. HKLM,SOFTWARE\Microsoft\Rpc\ClientProtocols,ncacn_ip_tcp,,"rpcrt4.dll"
  130. HKLM,SOFTWARE\Microsoft\Rpc\ClientProtocols,ncadg_ip_udp,,"rpcrt4.dll"
  131. HKLM,SOFTWARE\Microsoft\Rpc\ClientProtocols,ncacn_http,,"rpcrt4.dll"
  132. [Registry.MS_TCPIP.Legacy]
  133. ;Some legacy apps use the following key to check whether tcp is installed
  134. HKLM,SOFTWARE\Microsoft\Tcpip\CurrentVersion,,%FLG_ADDREG_KEYONLY%
  135. [Registry.MS_TCPIP.Legacy.Remove]
  136. HKLM,SOFTWARE\Microsoft\Tcpip
  137. HKLM,SOFTWARE\Microsoft\Rpc\ClientProtocols,ncacn_nb_tcp,,"rpcrt4.dll"
  138. [Registry.Service.DHCP.Parameters.Secure]
  139. HKR,Parameters,,%FLG_ADDREG_KEYONLY%
  140. HKR,Parametersv6,,%FLG_ADDREG_KEYONLY%
  141. [Registry.Service.DHCP.Parameters.Secure.Security]
  142. "D:P(A;CI;GR;;;BU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GR;;;NS)(A;CI;GRLCSWCCRPRC;;;S-1-5-80-2940520708-3855866260-481812779-327648279-1710889582)(A;CI;GR;;;LS)(A;CI;GR;;;NO)"
  143. [Registry.Service.DHCP.Options.Secure]
  144. HKR,Configurations,,%FLG_ADDREG_KEYONLY%
  145. HKR,Parameters\Options,,%FLG_ADDREG_KEYONLY%
  146. HKR,Parametersv6\Options,,%FLG_ADDREG_KEYONLY%
  147. [Registry.Service.DHCP.Options.Secure.Security]
  148. "D:P(A;CI;GR;;;BU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GR;;;NS)(A;CI;GA;;;S-1-5-80-2940520708-3855866260-481812779-327648279-1710889582)(A;CI;GR;;;LS)(A;CI;GR;;;NO)"
  149. [Registry.Service.DHCP]
  150. ;add keys which instruct DHCP where to find TCPIP options
  151. HKR,Linkage\Disabled,,%FLG_ADDREG_KEYONLY%
  152. HKR,,RequiredPrivileges,%FLG_ADDREG_TYPE_MULTI_SZ%,"SeChangeNotifyPrivilege","SeCreateGlobalPrivilege"
  153. HKR,,ServiceSidType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  154. HKR,Parameters\Options\1,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000007
  155. HKR,Parameters\Options\1,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpSubnetMaskOpt","SYSTEM\CurrentControlSet\Services\?\Parameters\Tcpip\DhcpSubnetMaskOpt"
  156. HKR,Parameters\Options\15,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  157. HKR,Parameters\Options\15,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpDomain","SYSTEM\CurrentControlSet\Services\TcpIp\Parameters\DhcpDomain"
  158. HKR,Parameters\Options\3,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000007
  159. HKR,Parameters\Options\3,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpDefaultGateway","SYSTEM\CurrentControlSet\Services\?\Parameters\Tcpip\DhcpDefaultGateway"
  160. HKR,Parameters\Options\6,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  161. HKR,Parameters\Options\6,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpNameServer","SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DhcpNameServer"
  162. HKR,Parameters\Options\44,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  163. HKR,Parameters\Options\44,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_?\DhcpNameServerList","SYSTEM\CurrentControlSet\Services\NetBT\Adapters\?\DhcpNameServer"
  164. HKR,Parameters\Options\46,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000004
  165. HKR,Parameters\Options\46,RegLocation,,"SYSTEM\CurrentControlSet\Services\NetBT\Parameters\DhcpNodeType"
  166. HKR,Parameters\Options\47,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  167. HKR,Parameters\Options\47,RegLocation,,"SYSTEM\CurrentControlSet\Services\NetBT\Parameters\DhcpScopeID"
  168. HKR,Parameters\Options\DhcpNetbiosOptions,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000004
  169. HKR,Parameters\Options\DhcpNetbiosOptions,OptionId,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  170. HKR,Parameters\Options\DhcpNetbiosOptions,VendorType,%FLG_ADDREG_TYPE_DWORD%,0x00000001
  171. HKR,Parameters\Options\DhcpNetbiosOptions,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_?\DhcpNetbiosOptions"
  172. HKR,Parametersv6\Options\23,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000003
  173. HKR,Parametersv6\Options\23,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\Dhcpv6DNSServers","SYSTEM\CurrentControlSet\Services\TcpIp\Parameters\Dhcpv6DNSServers"
  174. HKR,Parametersv6\Options\24,KeyType,%FLG_ADDREG_TYPE_DWORD%,0x00000003
  175. HKR,Parametersv6\Options\24,RegLocation,%FLG_ADDREG_TYPE_MULTI_SZ%,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\Dhcpv6DomainSearchList","SYSTEM\CurrentControlSet\Services\TcpIp\Parameters\Dhcpv6DomainSearchList"
  176. HKR,Parameters,ServiceDll,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\dhcpcsvc.dll"
  177. ;
  178. ; DHCP which runs as NS needs full permissions to Parameters and
  179. ; Interfaces subkeys. So grant GA to NS.
  180. ;
  181. ;
  182. ; No Delete, WDAC and WOWN permissions for NS on keys which contain
  183. ; paths of executables. Granting "Create Subkey" as it should be
  184. ; safe without delete.
  185. ;
  186. [Registry.Service.TCPIP.Root]
  187. HKLM,System\CurrentControlSet\Services\Tcpip,,%FLG_ADDREG_KEYONLY%
  188. HKLM,System\CurrentControlSet\Services\Tcpip,BootFlags,%FLG_ADDREG_DWORD_NO_CLOBBER%,1
  189. [Registry.Service.TCPIP.Root.Security]
  190. "D:P(A;CI;KR;;;BU)(A;CI;KA;;;BA)(A;CI;KA;;;SY)(A;CI;CCLCSWRPRC;;;NS)(A;CI;KR;;;LS)(A;CI;CCLCSWRPRC;;;NO)(A;CI;CCLCSWRPRC;;;S-1-5-80-2940520708-3855866260-481812779-327648279-1710889582)(A;CIIO;RC;;;OW)"
  191. ;
  192. ; Restricted permissions on the ServiceProvider key to avoid elevation of
  193. ; privileges by redirection of the ProviderPath
  194. ;
  195. [Registry.Service.TCPIP.ServiceProvider]
  196. HKLM,System\CurrentControlSet\Services\Tcpip\ServiceProvider,,%FLG_ADDREG_KEYONLY%
  197. HKR,ServiceProvider,Class,%FLG_ADDREG_TYPE_DWORD%,8
  198. HKR,ServiceProvider,DnsPriority,%FLG_ADDREG_TYPE_DWORD%,2000
  199. HKR,ServiceProvider,HostsPriority,%FLG_ADDREG_TYPE_DWORD%,500
  200. HKR,ServiceProvider,LocalPriority,%FLG_ADDREG_TYPE_DWORD%,499
  201. HKR,ServiceProvider,Name,,"TCP/IP"
  202. HKR,ServiceProvider,NetbtPriority,%FLG_ADDREG_TYPE_DWORD%,2001
  203. HKR,ServiceProvider,ProviderPath,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\wsock32.dll"
  204. [Registry.Service.TCPIP.ServiceProvider.Security]
  205. "D:P(A;CI;GR;;;BU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GRLCSWCCRPRC;;;NS)(A;CI;GR;;;LS)(A;CI;CCLCSWRPRC;;;NO)"
  206. [Registry.Service.TCPIP.Secure]
  207. HKLM,System\CurrentControlSet\Control\Network,,%FLG_ADDREG_KEYONLY%
  208. HKLM,System\CurrentControlSet\Services\Tcpip\Parameters,,%FLG_ADDREG_KEYONLY%
  209. HKLM,System\CurrentControlSet\Services\Tcpip\Performance,,%FLG_ADDREG_KEYONLY%
  210. HKR,Linkage,,%FLG_ADDREG_KEYONLY%
  211. HKR,Performance,Close,,"CloseTcpIpPerformanceData"
  212. HKR,Performance,Collect,,"CollectTcpIpPerformanceData"
  213. HKR,Performance,Library,,"Perfctrs.dll"
  214. HKR,Performance,Object List,,"502 510 546 548 582 638 658 1530 1532 1534"
  215. HKR,Performance,Open,,"OpenTcpIpPerformanceData"
  216. [Registry.Service.TCPIP.Secure.Security]
  217. "D:P(A;CI;KR;;;BU)(A;CI;KA;;;BA)(A;CI;KA;;;SY)(A;CI;CCDCLCSWRPWPSDRC;;;NS)(A;CI;KR;;;LS)(A;CI;CCDCLCSWRPSDRC;;;NO)(A;CI;CCDCLCSWRPWPSDRC;;;S-1-5-80-2940520708-3855866260-481812779-327648279-1710889582)(A;CIIO;RC;;;OW)"
  218. [Registry.Service.TCPIP.AdminOnly]
  219. HKR,Parameters\Adapters,,%FLG_ADDREG_KEYONLY%
  220. HKR,Parameters\Winsock,"UseDelayedAcceptance",%FLG_ADDREG_TYPE_DWORD%,0x0000
  221. [Registry.Service.TCPIP.AdminOnly.Security]
  222. "D:P(A;CI;GR;;;BU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)"
  223. [Registry.Service.TCPIP]
  224. HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order","ExcludedProviders",%FLG_ADDREG_SZ_NO_CLOBBER%,""
  225. HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order","ProviderOrder",%FLG_ADDREG_MULTI_SZ_APPEND%,"Tcpip"
  226. HKR,Parameters\PersistentRoutes,,%FLG_ADDREG_KEYONLY%
  227. HKR,Parameters,DataBasePath,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\drivers\etc"
  228. HKR,Parameters,NameServer,%FLG_ADDREG_SZ_NO_CLOBBER%,""
  229. HKR,Parameters,ForwardBroadcasts,%FLG_ADDREG_DWORD_NO_CLOBBER%,0
  230. HKR,Parameters,IPEnableRouter,%FLG_ADDREG_TYPE_DWORD%,0
  231. ;====================================
  232. ; TCP/IP Interface and Service Remove
  233. ;====================================
  234. [MS_TCPIP.PrimaryInstall.Remove]
  235. DelReg          = Registry.MS_TCPIP, Registry.MS_TCPIP.Legacy.Remove
  236. [MS_TCPIP.PrimaryInstall.Remove.Services]
  237. DelService = Tcpip
  238. DelService = Dhcp
  239. DelService = Tdx
  240. [MS_TCPIP.PrimaryInstall.Remove.Winsock]
  241. DelSock = Remove.TcpipWinsock
  242. DelSock = Remove.LDAPWinsock
  243. [Remove.TcpipWinsock]
  244. TransportService=Tcpip
  245. ProviderId="{22059d40-7e9e-11cf-ae5a-00aa00a7112b}"
  246. [Remove.LDAPWinsock]
  247. TransportService=Tcpip
  248. ProviderId="{3b2637ee-e580-11cf-a555-00c04fd8d4ac}"
  249. ;****************************************************************************
  250. ; WINS
  251. ;****************************************************************************
  252. ;=====================
  253. ; WINS Primary Install
  254. ;=====================
  255. [MS_WINS.PrimaryInstall]
  256.     Characteristics = 0x28 ; NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  257.     AddReg  = Registry.MS_WINS.PrimaryInstall
  258.     AddReg  = Registry.Service.NetBT.Secure
  259.     AddReg  = Registry.Service.NetBT
  260. [Registry.MS_WINS.PrimaryInstall]
  261. ; Class Information
  262.     HKR,Ndi,Service,,"NetBT"
  263. ; Interfaces
  264.     HKR,Ndi\Interfaces,UpperRange,,"netbios"
  265.     HKR,Ndi\Interfaces,LowerRange,,"tdi"
  266. ;====================================
  267. ; WINS Interface and Service Install
  268. ;====================================
  269. [MS_WINS.PrimaryInstall.Services]
  270.     AddService      = LmHosts, 0, Install.AddService.LMHosts, NetEventLog
  271. [Install.AddService.LMHosts]
  272.     DisplayName     = "@%SystemRoot%\system32\lmhsvc.dll,-101"
  273.     ServiceType     = 0x20  ;SERVICE_WIN32_SHARE_PROCESS
  274.     StartType       = 2     ;SERVICE_AUTO_START
  275.     ErrorControl    = 1     ;SERVICE_ERROR_NORMAL
  276.     ServiceBinary   = %11%\svchost.exe -k LocalServiceNetworkRestricted
  277.     LoadOrderGroup  = TDI
  278.     Dependencies    = NetBT, Afd
  279.     StartName       = "NT AUTHORITY\LocalService"
  280.     AddReg          = Registry.Service.LMHosts
  281.     Description     = "@%SystemRoot%\system32\lmhsvc.dll,-102"
  282. [Registry.Service.LMHosts]
  283.     HKR,Parameters,ServiceDll,%FLG_ADDREG_TYPE_EXPAND_SZ%,"%%SystemRoot%%\System32\lmhsvc.dll"
  284. [Registry.Service.NetBT.Secure]
  285.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,,%FLG_ADDREG_KEYONLY%
  286.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,NbProvider,,"_tcp"
  287.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,NameServerPort,%FLG_ADDREG_DWORD_NO_CLOBBER%,137
  288.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,CacheTimeout,%FLG_ADDREG_DWORD_NO_CLOBBER%,600000
  289.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,BcastNameQueryCount,%FLG_ADDREG_DWORD_NO_CLOBBER%,3
  290.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,BcastQueryTimeout,%FLG_ADDREG_DWORD_NO_CLOBBER%,750
  291.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,NameSrvQueryCount,%FLG_ADDREG_DWORD_NO_CLOBBER%,3
  292.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,NameSrvQueryTimeout,%FLG_ADDREG_DWORD_NO_CLOBBER%,1500
  293.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,Size/Small/Medium/Large,%FLG_ADDREG_DWORD_NO_CLOBBER%,1
  294.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,SessionKeepAlive,%FLG_ADDREG_DWORD_NO_CLOBBER%,3600000
  295.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters,TransportBindName,,"\Device\"
  296.     HKLM,System\CurrentControlSet\Services\NetBT\Parameters\Interfaces,,%FLG_ADDREG_KEYONLY%
  297. [Registry.Service.NetBT.Secure.Security]
  298. "D:P(A;CI;GR;;;BU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GR;;;NS)(A;CI;GR;;;LS)(A;CI;CCLCSWRPRC;;;NO)(A;CI;GA;;;S-1-5-80-2940520708-3855866260-481812779-327648279-1710889582)(A;CIIO;RC;;;OW)"
  299. [Registry.Service.NetBT]
  300.     ;NetBT service is installed from the manifest as disabled. The installation is complete here
  301.     ;enable it now.
  302.     HKLM,System\CurrentControlSet\Services\NetBT\,Start,%FLG_ADDREG_TYPE_DWORD%,1
  303.     HKLM,System\CurrentControlSet\Services\NetBT\Linkage,OtherDependencies,%FLG_ADDREG_TYPE_MULTI_SZ%,"Tcpip"
  304. [Registry.Service.NetBT.Security]
  305. "D:P(A;CI;GR;;;BU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GR;;;NS)(A;CI;GR;;;LS)(A;CI;CCLCSWRPRC;;;NO)(A;CIIO;RC;;;OW)"
  306. ;==================================
  307. ; WINS Interface and Service Remove
  308. ;==================================
  309. [MS_WINS.PrimaryInstall.Remove.Services]
  310.     DelService      = LmHosts
  311.     DelService      = NetBT
  312. ;**********************************************************
  313. ; NETBT_SMB section
  314. ;**********************************************************
  315. [MS_NETBT_SMB.PrimaryInstall]
  316. Characteristics = 0x38    ; NCF_HIDDEN|NCF_NO_SERVICE|NCF_NOT_USER_REMOVABLE
  317. AddReg = Registry.MS_NETBT_SMB.PrimaryInstall
  318. [Registry.MS_NETBT_SMB.PrimaryInstall]
  319. HKR, Ndi,            BindForm,      0,          "NetbiosSmb"
  320. HKR, Ndi\Interfaces, UpperRange,    0,          "netbios_smb"
  321. HKR, Ndi\Interfaces, LowerRange,    0,          "nolower"
  322. ;=====================================
  323. ; Microsoft SMB Interface and Service Install
  324. ;=====================================
  325. [MS_SMB.Install]
  326.     Characteristics = 0x28  ; NCF_NOT_USER_REMOVABLE | NCF_HIDDEN
  327.     AddReg          = Registry.MS_SMB.Install
  328. [Registry.MS_SMB.Install]
  329. ; Class Information
  330.     HKR, Ndi, Service,    0, "Smb"
  331. ; Interfaces
  332.     HKR,Ndi\Interfaces,UpperRange,0,"netbios_smb"
  333.     HKR,Ndi\Interfaces,LowerRange,,"tdi"
  334. ; Service install
  335. [MS_SMB.Install.Services]
  336.     AddService      = Smb,    0, Install.AddService.Smb,    NetEventLog
  337. ; Install Smb service
  338. [Install.AddService.Smb]
  339.     DisplayName     = "@%SystemRoot%\system32\tcpipcfg.dll,-50005"
  340.     ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
  341.     StartType       = 1 ;SERVICE_SYSTEM_START
  342.     ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
  343.     ServiceBinary   = %12%\smb.sys
  344.     LoadOrderGroup  = PNP_TDI
  345.     Dependencies    = Tcpip
  346.     AddReg          = Registry.Service.Smb
  347.     Description     = "@%SystemRoot%\system32\tcpipcfg.dll,-50006"
  348. [Registry.Service.Smb]
  349. [Registry.Service.Smb.DelReg]
  350. ;====================================
  351. ; SMB Interface and Service Remove
  352. ;====================================
  353. [MS_SMB.Install.Remove]
  354.     DelReg = Registry.Service.Smb.DelReg
  355. [MS_SMB.Install.Remove.Services]
  356.     DelService = Smb
  357. ;****************************************************************************
  358. ; [Event Log] sections.
  359. ;****************************************************************************
  360. [NetEventLog]
  361. AddReg = NetEventLog.AddReg
  362. [NetEventLog.AddReg]
  363.     HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\netevent.dll"
  364.     HKR,,TypesSupported,0x00010001,7
  365. [DhcpEventLog]
  366. AddReg = DhcpEventLog.AddReg
  367. [DhcpEventLog.AddReg]
  368.     HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\dhcpcsvc.dll"
  369.     HKR,,ParameterMessageFile,0x00020000,"%%SystemRoot%%\System32\kernel32.dll"
  370. [Strings]
  371. ; localizable
  372. Msft = "Microsoft"
  373. ;TCPIP strings
  374. MS_TCPIP.DisplayName = "Internet Protocol Version 4 (TCP/IPv4)"
  375. MS_NTDS.Provider_Desc = "NTDS"
  376. ;TCPIP_TUNNEL strings
  377. MS_TCPIP.Tunnel.DisplayName = "Internet Protocol (TCP/IP) - Tunnels"
  378. ;WINS strings
  379. MS_WINS.DisplayName = "WINS Client(TCP/IP) Protocol"
  380. ; IPSEC
  381. IPSEC_Group_Name = "Administrative Tools"
  382. IPSEC_Admin_Desc = "IP Security Management"
  383. ; NETBT_SMB
  384. MS_NETBT_SMB.DisplayName = "Message-oriented TCP/IP Protocol (SMB session)"
  385. MS_SMB.DisplayName = "Microsoft NetbiosSmb"
  386. ; non-localizable
  387. ; AddReg flags
  388. FLG_ADDREG_TYPE_EXPAND_SZ   = 0x00020000
  389. FLG_ADDREG_TYPE_MULTI_SZ    = 0x00010000
  390. FLG_ADDREG_TYPE_DWORD       = 0x00010001
  391. FLG_ADDREG_KEYONLY          = 0x00000010
  392. FLG_ADDREG_SZ_NO_CLOBBER    = 0x00000002
  393. FLG_ADDREG_MULTI_SZ_APPEND  = 0x0001000A
  394. FLG_ADDREG_TYPE_BINARY      = 0x00000001
  395. FLG_ADDREG_DWORD_NO_CLOBBER = 0x00010003
  396. ; SECURITY: Parameters for CoInitializeSecurity
  397. ; SECURITY: The following are process-wide settings for COM security.
  398. ; SECURITY: They are set to be as strict as possible. You can override
  399. ; SECURITY: these settings on a per-interface basis using CoSetProxyBlanket.
  400. AUTHENTICATION_CAPABILITIES = 0x3022 ; EOAC_NO_CUSTOM_MARSHAL |
  401.                                      ; EOAC_DISABLE_AAA |
  402.                                      ; EOAC_STATIC_CLOAKING |
  403.                                      ; EOAC_SECURE_REFS
  404. AUTHENTICATION_LEVEL        = 0x6    ; RPC_C_AUTHN_LEVEL_PKT_PRIVACY
  405. IMPERSONATION_LEVEL         = 0x2    ; RPC_C_IMP_LEVEL_IDENTIFY