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.

348 lines
11 KiB

  1. ; -- NETMSCLI.INX --
  2. ;
  3. ; Client For Microsoft Networks.
  4. ;
  5. ; NOTE : Adapted for WinPE evironment
  6. ; - Removed print provider information
  7. ;
  8. ; Copyright (c) 1993-1999, Microsoft Corporation
  9. [Version]
  10. Signature = "$Windows NT$"
  11. Class = NetClient
  12. ClassGUID = {4d36e973-e325-11ce-bfc1-08002be10318}
  13. Provider = %Msft%
  14. LayoutFile = layout.inf
  15. DriverVer=11/11/2000,5.1.2402.1
  16. [Manufacturer]
  17. %Msft%=MSFT
  18. [MSFT]
  19. %MSClient_Desc% = MSClient.ndi, MS_MSCLIENT
  20. ;
  21. ; Install Sections
  22. ;
  23. [MSClient.ndi]
  24. AddReg = MSClient.ndi.AddReg, MSClient.AddReg, CSC.AddReg
  25. Characteristics = 0x80 ; NCF_HAS_UI
  26. [MSClient.ndi.Remove]
  27. DelReg = MSClient.DelReg
  28. ;
  29. ; Services Sections
  30. ;
  31. [MSClient.ndi.Services]
  32. AddService = Alerter,, Alerter_Service_Inst, Alerter_Evt
  33. AddService = Browser,0x10, Browser_Service_Inst, Browser_Evt
  34. AddService = LanmanWorkstation,,Workstation_Service_Inst, Workstation_Evt, , Workstation
  35. AddService = Netlogon, 0x90, Netlogon_Service_Inst, Netlogon_Evt
  36. AddService = Messenger,, Messenger_Service_Inst
  37. AddService = Rdbss,, Rdbss_Service_Inst, Rdbss_Evt
  38. AddService = MrxSmb,, Rdr_Service_Inst, Rdr_Evt
  39. DelService = Replicator
  40. ; RPC Configuration (from NT 4.0)
  41. AddService = NtLmSsp,, NtLmSsp_Service_Inst
  42. AddService = RpcLocator, 0x10, RpcLocator_Service_Inst
  43. ;
  44. ; Remove services
  45. ;
  46. [MSClient.ndi.Remove.Services]
  47. DelService = Alerter
  48. DelService = Browser
  49. DelService = LanmanWorkstation
  50. DelService = Netlogon
  51. DelService = Messenger
  52. DelService = Rdbss
  53. DelService = MrxSmb
  54. DelService = NtLmSsp
  55. DelService = RpcLocator
  56. ;
  57. ; Service Install Sections
  58. ;
  59. [Alerter_Service_Inst]
  60. DisplayName = %Alerter_Display%
  61. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  62. StartType = 3 ;SERVICE_DEMAND_START
  63. ErrorControl = 1
  64. ServiceBinary = %11%\svchost.exe -k LocalService
  65. Dependencies = LanmanWorkstation
  66. StartName = "NT AUTHORITY"\LocalService
  67. AddReg = MSClient.Alerter.AddReg
  68. Description = %Alerter_Desc%
  69. [Browser_Service_Inst]
  70. DisplayName = %Browser_Display%
  71. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  72. StartType = 2 ;SERVICE_AUTO_START
  73. ErrorControl = 1
  74. ServiceBinary = %11%\svchost.exe -k netsvcs
  75. Dependencies = LanmanWorkstation, LanmanServer
  76. StartName = LocalSystem
  77. AddReg = MSClient.Browser.AddReg
  78. Description = %Browser_Desc%
  79. [Workstation_Service_Inst]
  80. DisplayName = %LanmanWorkstation_Display%
  81. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  82. StartType = 2 ;SERVICE_AUTO_START
  83. ErrorControl = 1
  84. ServiceBinary = %11%\svchost.exe -k netsvcs
  85. LoadOrderGroup = NetworkProvider
  86. StartName = LocalSystem
  87. AddReg = MSClient.Workstation.AddReg
  88. Description = %LanmanWorkstation_Desc%
  89. [NetLogon_Service_Inst]
  90. DisplayName = %NetLogon_Display%
  91. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  92. StartType = 3 ;SERVICE_DEMAND_START
  93. ErrorControl = 1
  94. ServiceBinary = %11%\lsass.exe
  95. LoadOrderGroup = MS_WindowsRemoteValidation
  96. Dependencies = LanmanWorkstation
  97. StartName = LocalSystem
  98. AddReg = MSClient.NetLogon.AddReg
  99. Description = %NetLogon_Desc%
  100. [Messenger_Service_Inst]
  101. DisplayName = %Messenger_Display%
  102. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  103. StartType = 2 ;SERVICE_AUTO_START
  104. ErrorControl = 1
  105. ServiceBinary = %11%\svchost.exe -k LocalService
  106. Dependencies = LanmanWorkstation, NetBIOS, PlugPlay, RpcSS
  107. StartName = "NT AUTHORITY"\LocalService
  108. AddReg = MSClient.Messenger.AddReg
  109. Description = %Messenger_Desc%
  110. [Rdr_Service_Inst]
  111. DisplayName = %Rdr_Desc%
  112. ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
  113. StartType = 1 ;SERVICE_SYSTEM_START
  114. ErrorControl = 1
  115. ServiceBinary = %12%\mrxsmb.sys
  116. LoadOrderGroup = Network
  117. Description = %Rdr_Desc%
  118. [Rdbss_Service_Inst]
  119. DisplayName = %Rdbss_Desc%
  120. ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
  121. StartType = 1 ;SERVICE_SYSTEM_START
  122. ErrorControl = 1
  123. ServiceBinary = %12%\rdbss.sys
  124. LoadOrderGroup = Network
  125. Description = %Rdbss_Desc%
  126. [RpcLocator_Service_Inst]
  127. DisplayName = %RpcLocator_Display%
  128. ServiceType = 0x10 ;SERVICE_WIN32_OWN_PROCESS
  129. StartType = 3 ;SERVICE_DEMAND_START
  130. ErrorControl = 1
  131. ServiceBinary = %11%\locator.exe
  132. Dependencies = LanmanWorkstation
  133. StartName = LocalSystem
  134. AddReg = MSClient.RpcLocator.AddReg
  135. Description = %RpcLocator_Desc%
  136. [NtLmSsp_Service_Inst]
  137. DisplayName = %NtLmSsp_Display%
  138. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  139. StartType = 3 ;SERVICE_DEMAND_START
  140. ErrorControl = 1
  141. ServiceBinary = %11%\lsass.exe
  142. StartName = LocalSystem
  143. Description = %NtLmSsp_Desc%
  144. ;
  145. ; Del Registry section
  146. ;
  147. [MSClient.DelReg]
  148. HKLM, Software\Microsoft\Rpc\SecurityService, 1
  149. HKLM, Software\Microsoft\Rpc\SecurityService, 9
  150. HKLM, Software\Microsoft\Rpc\SecurityService, 10
  151. HKLM, Software\Microsoft\Rpc\SecurityService, 14
  152. HKLM, Software\Microsoft\Rpc\SecurityService, 16
  153. HKLM, Software\Microsoft\Rpc\SecurityService, 18
  154. HKLM, Software\Microsoft\Rpc\SecurityService, 68
  155. HKLM, Software\Microsoft\Rpc\SecurityService, DefaultProvider
  156. HKLM, Software\Microsoft\Rpc\SecurityService, DefaultAuthLevel
  157. ;
  158. ; Add Registry sections
  159. ;
  160. [MSClient.ndi.AddReg]
  161. HKR, Ndi, ClsID, 0, {57C06EAA-8784-11D0-83D4-00A0C911E5DF}
  162. HKR, Ndi, Service, 0, LanmanWorkstation
  163. HKR, Ndi, CoServices, 0x10000,"LanmanWorkstation", "Alerter", "Browser", "Netlogon", "Messenger", "NtLmSsp", "RpcLocator"
  164. HKR, Ndi, ExcludeSetupStartServices, 0x10000,"Alerter", "Browser", "Netlogon", "Messenger", "NtLmSsp", "RpcLocator"
  165. HKR, Ndi, HelpText, 0, "%MSClient_HELP%"
  166. HKR, Ndi\Interfaces, UpperRange, 0, "winnet5"
  167. HKR, Ndi\Interfaces, LowerRange, 0, "netbios,netbios_smb"
  168. ;
  169. ; Add CSC (Client-side-caching) items
  170. ;
  171. [CSC.AddReg]
  172. HKLM, System\CurrentControlSet\Services\MRxSmb\Parameters, CscEnabled, 0x10001, 1
  173. ;
  174. ; Values for RPC service
  175. ;
  176. [MSClient.AddReg]
  177. HKLM, Software\Microsoft\Rpc\SecurityService, 1, , secur32.dll
  178. HKLM, Software\Microsoft\Rpc\SecurityService, 9, , secur32.dll
  179. HKLM, Software\Microsoft\Rpc\SecurityService, 10, , secur32.dll
  180. HKLM, Software\Microsoft\Rpc\SecurityService, 14, , schannel.dll
  181. HKLM, Software\Microsoft\Rpc\SecurityService, 16, , secur32.dll
  182. HKLM, Software\Microsoft\Rpc\SecurityService, 18, , secur32.dll
  183. HKLM, Software\Microsoft\Rpc\SecurityService, 68, , netlogon.dll
  184. ;
  185. ; LanmanWorkstation network and print provider stuff
  186. ;
  187. [MSClient.Workstation.AddReg]
  188. HKR, Parameters, , 0x0010 ; no values. This is required for LanmanWorkstation to start
  189. HKR, NetworkProvider, Name, 0, %NetproviderName%
  190. HKR, NetworkProvider, ProviderPath, 0x20000, "%%SystemRoot%%\System32\ntlanman.dll"
  191. HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\wkssvc.dll"
  192. [MSClient.ndi.NetworkProvider]
  193. DeviceName = LanmanRedirector
  194. ;
  195. ; Params for NetLogon
  196. ;
  197. [MSClient.NetLogon.AddReg]
  198. HKR, Parameters, DBFlag, 0, 0
  199. HKR, Parameters, Update, 0, no
  200. ;
  201. ; Params for Alerter
  202. ;
  203. [MSClient.Alerter.AddReg]
  204. HKR, Parameters, AlertNames, 0x10000, ""
  205. HKR, Parameters, ServiceDll, 0x20000, "%SystemRoot%\system32\alrsvc.dll"
  206. ;
  207. ; Params for Browser
  208. ;
  209. [MSClient.Browser.AddReg]
  210. HKR, Parameters, IsDomainMaster, 0, FALSE
  211. HKR, Parameters, MaintainServerList, 0, Auto
  212. HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\browser.dll"
  213. ;
  214. ; Params for Messenger
  215. ;
  216. [MSClient.Messenger.AddReg]
  217. HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\msgsvc.dll"
  218. ;
  219. ; RPC Locator Keys
  220. ;
  221. [MSClient.RpcLocator.AddReg]
  222. HKR, Parameters, ExpirationAge, 0x10001, 3600
  223. ;
  224. ; Add Winsock Paramters Key
  225. ;
  226. [MSClient.ndi.Winsock]
  227. AddSock = MSClient.Install.AddWinsock
  228. [MSClient.Install.AddWinsock]
  229. TransportService=NetBIOS
  230. HelperDllName="%SystemRoot%\System32\wshnetbs.dll"
  231. MaxSockAddrLength=0x14
  232. MinSockAddrLength=0x14
  233. ;
  234. ; Event log registry stuff
  235. ;
  236. [Alerter_Evt]
  237. AddReg = Alerter_Evt_AddReg
  238. [Netlogon_Evt]
  239. AddReg = Netlogon_Evt_AddReg
  240. [Browser_Evt]
  241. AddReg = Browser_Evt_AddReg
  242. [Workstation_Evt]
  243. AddReg = Workstation_Evt_AddReg
  244. [Rdbss_Evt]
  245. AddReg = Rdbss_Evt_AddReg
  246. [Rdr_Evt]
  247. AddReg = Rdr_Evt_AddReg
  248. [Alerter_Evt_AddReg]
  249. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netmsg.dll"
  250. HKR,, TypesSupported, 0x00010001, 0x00000007
  251. [Netlogon_Evt_AddReg]
  252. HKR,, ParameterMessageFile, 0x00020000, "%%SystemRoot%%\System32\kernel32.dll"
  253. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netmsg.dll"
  254. HKR,, TypesSupported, 0x00010001, 0x00000007
  255. [Browser_Evt_AddReg]
  256. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  257. HKR,, TypesSupported, 0x00010001, 0x00000007
  258. [Workstation_Evt_AddReg]
  259. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netmsg.dll"
  260. HKR,, TypesSupported, 0x00010001, 0x00000007
  261. [Rdbss_Evt_AddReg]
  262. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  263. HKR,, TypesSupported, 0x00010001, 0x00000007
  264. [Rdr_Evt_AddReg]
  265. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll;%%SystemRoot%%\System32\iologmsg.dll"
  266. HKR,, TypesSupported, 0x00010001, 0x00000007
  267. [Strings]
  268. Msft = "Microsoft"
  269. MSClient_Desc = "Client for Microsoft Networks"
  270. MSClient_HELP = "Allows your computer to access resources on a Microsoft network."
  271. ; Service names
  272. Alerter_Display = "Alerter"
  273. Alerter_Desc = "Notifies selected users and computers of administrative alerts."
  274. Browser_Display = "Computer Browser"
  275. Browser_Desc = "Maintains an up-to-date list of computers on your network and supplies the list to programs that request it."
  276. LanmanWorkstation_Display = "Workstation"
  277. LanmanWorkstation_Desc = "Provides network connections and communications."
  278. NetLogon_Display = "Net Logon"
  279. NetLogon_Desc = "Supports pass-through authentication of account logon events for computers in a domain."
  280. Messenger_Display = "Messenger"
  281. Messenger_Desc = "Sends and receives messages transmitted by administrators or by the Alerter service."
  282. Rdr_Desc = "MRXSMB"
  283. Rdbss_Desc = "Rdbss"
  284. RpcLocator_Display = "Remote Procedure Call (RPC) Locator"
  285. RpcLocator_Desc = "Manages the RPC name service database."
  286. NtLmSsp_Display = "NT LM Security Support Provider"
  287. NtLmSsp_Desc = "Provides security to remote procedure call (RPC) programs that use transports other than named pipes."
  288. NetproviderName = "Microsoft Windows Network"
  289. LanmanPrintProvider = "LanMan Print Services"