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.

88 lines
3.2 KiB

  1. ; -- NETSERV.INX --
  2. ;
  3. ; File And Print Services.
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. [Version]
  7. Signature = "$Windows NT$"
  8. Class = NetService
  9. ClassGUID = {4d36e974-e325-11ce-bfc1-08002be10318}
  10. Provider = %Msft%
  11. LayoutFile = layout.inf
  12. [Manufacturer]
  13. %Msft%=MSFT
  14. [MSFT]
  15. %MSServer_Desc% = Install.ndi, MS_SERVER
  16. [Install.ndi]
  17. AddReg = MSServer.ndi.AddReg
  18. @w:Characteristics = 0x0000 ; no characteristics
  19. @s:Characteristics = 0x0080 ; NCF_HAS_UI
  20. [Install.ndi.Services]
  21. AddService = LanmanServer,, LanmanServer_Service_Inst, Server_Evt,, Server
  22. AddService = Srv,, Srv_Service_Inst, Srv_Evt
  23. [Install.ndi.Remove.Services]
  24. DelService = LanmanServer
  25. DelService = Srv
  26. [LanmanServer_Service_Inst]
  27. DisplayName = %LanmanServer_Display%
  28. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  29. StartType = 2 ;SERVICE_AUTO_START
  30. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  31. ServiceBinary = %11%\svchost.exe -k netsvcs
  32. StartName = LocalSystem
  33. AddReg = MSServer.Server.AddReg
  34. Description = %LanmanServer_Desc%
  35. [Srv_Service_Inst]
  36. DisplayName = %Srv_Desc%
  37. ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
  38. StartType = 3 ;SERVICE_DEMAND_START
  39. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  40. ServiceBinary = %12%\srv.sys
  41. LoadOrderGroup = Network
  42. Description = %Srv_Desc%
  43. [MSServer.ndi.AddReg]
  44. HKR, Ndi, ClsID, 0, {7F368827-9516-11d0-83D9-00A0C911E5DF}
  45. HKR, Ndi, Service, 0, LanmanServer
  46. HKR, Ndi, CoServices, 0x00010000, "LanmanServer", "Browser", "Srv"
  47. HKR, Ndi, ExcludeSetupStartServices, 0x00010000, "LanmanServer", "Browser", "Srv"
  48. HKR, Ndi, HelpText, 0, "@netcfgx.dll,-50003"
  49. HKR, Ndi\Interfaces, UpperRange, 0, "winnet5"
  50. HKR, Ndi\Interfaces, LowerRange, 0, "netbios,ipx,netbios_smb"
  51. @*: -----------------------------------------------------------------------------
  52. @*: Warning! If you make changes to the following section, make sure to make the
  53. @*: same changes under: ..\netcfg\srvrcfg\srvrobj.cpp!CSrvrcfg::HrRestoreRegistry
  54. @*: This section is not used during upgrade.
  55. @*:
  56. @*: See Bug #88386 - deonb
  57. @*: -----------------------------------------------------------------------------
  58. [MSServer.Server.AddReg]
  59. HKR, AutotunedParameters, , 0x00010 ;No values
  60. HKR, Shares, , 0x00010 ;No values
  61. HKR, Parameters, NullSessionPipes, 0x10000, "COMNAP","COMNODE","SQL\QUERY","SPOOLSS","EPMAPPER","LOCATOR","TrkWks","TrkSvr"
  62. HKR, Parameters, NullSessionShares, 0x10000, "COMCFG", "DFS$"
  63. HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\srvsvc.dll"
  64. [Server_Evt]
  65. AddReg = Server_Evt_AddReg
  66. [Server_Evt_AddReg]
  67. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  68. HKR,, TypesSupported, 0x00010001, 0x00000007
  69. [Srv_Evt]
  70. AddReg = Srv_Evt_AddReg
  71. [Srv_Evt_AddReg]
  72. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  73. HKR,, TypesSupported, 0x00010001, 0x00000007