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.

131 lines
4.8 KiB

  1. ;---[ NetNWCli.INX ]------------------------------------
  2. ;
  3. ; Client for Netware Networks
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. ;
  7. [Version]
  8. Signature = "$Windows NT$"
  9. Class = NetClient
  10. ClassGUID = {4D36E973-E325-11CE-BFC1-08002BE10318}
  11. Provider = %Msft%
  12. LayoutFile = layout.inf
  13. [Manufacturer]
  14. %Msft% = MSFT
  15. [MSFT]
  16. %NWC_Install_Display_Name% = NWClient.Ndi, MS_NWCLIENT
  17. [NWClient.Ndi]
  18. AddReg = NWClient.Ndi.AddReg
  19. Characteristics = 0
  20. DelReg=NWClient.cpl.DontLoad,NWClient.UpgradeCleanup
  21. [NWClient.Ndi.Remove]
  22. DelReg = NWClient.DelReg
  23. AddReg = NWClient.cpl.DontLoad
  24. [NWClient.UpgradeCleanup]
  25. HKLM,"System\CurrentControlSet\Services\NwcWorkstation\Parameters", "GatewayEnabled", 0x10001, 0
  26. HKLM,"System\CurrentControlSet\Services\NwcWorkstation\Parameters", "GatewayAccount",, ""
  27. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\nwprovau"
  28. [NWClient.cpl.DontLoad]
  29. HKLM,"Software\Microsoft\Windows\CurrentVersion\Control Panel\don't load", "nwc.cpl",, ""
  30. [NWClient.Ndi.Services]
  31. AddService = NWCWorkstation,, NWCWorkstation_Service_Inst, NWCWorkstation_Evt
  32. AddService = NWRDR,, NWRDR_Service_Inst, NWRDR_Evt
  33. [NWClient.Ndi.Remove.Services]
  34. DelService = NWCWorkstation
  35. DelService = NWRDR
  36. [NWCWorkstation_Service_Inst]
  37. DisplayName = %NWC_Service_Display_Name%
  38. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  39. StartType = 2
  40. ErrorControl = 1
  41. ServiceBinary = %11%\svchost.exe -k LocalService
  42. LoadOrderGroup = NetworkProvider
  43. StartName = NT AUTHORITY\LocalService
  44. AddReg = NWCWorkstation.AddReg,NWCWorkstation.AddReg.Secure
  45. Description = %NWC_Service_Description%
  46. Dependencies = NwRdr
  47. [NWRDR_Service_Inst]
  48. DisplayName = %NWRDR_Service_Display_Name%
  49. ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
  50. StartType = 3
  51. ErrorControl = 1
  52. ServiceBinary = %12%\nwrdr.sys
  53. AddReg = NWRDR.AddReg
  54. Description = %NWRDR_Service_Display_Name%
  55. [NWClient.Ndi.AddReg]
  56. ; NDI install registry keys
  57. HKR, Ndi, ClsID,, "{5bedf7de-98cf-11d0-b255-00c04fc9e292}"
  58. HKR, Ndi, Service,, "NWCWorkstation"
  59. HKR, Ndi, CoServices, 0x10000, "NWCWorkstation"
  60. HKR, Ndi, HelpText,, "@netcfgx.dll,-50012"
  61. HKR, Ndi\Interfaces, UpperRange,, "winnet5"
  62. HKR, Ndi\Interfaces, LowerRange,, "ipx"
  63. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon", "LogonType", 0x10001, 0
  64. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost", "LocalService", 0x0001000A, "NWCWorkstation"
  65. @*: -----------------------------------------------------------------------------
  66. @*: Warning! If you make changes to the following section, make sure to make the
  67. @*: same changes under: ..\netcfg\nwclicfg\nwcliobj.cpp!CNWClient::HrRestoreRegistry
  68. @*: This section is not used during upgrade.
  69. @*:
  70. @*: See Bug #182442 - asinha
  71. @*: -----------------------------------------------------------------------------
  72. [NWCWorkstation.AddReg]
  73. HKR,"NetworkProvider", "Class", 0x10001, 11
  74. HKR,"NetworkProvider", "NWCompatibleAuthentication", 0x10001, 1
  75. HKR,"NetworkProvider", "Name",, %NWC_Network_Display_Name%
  76. HKR,"NetworkProvider", "ProviderPath", 0x20000, "%SystemRoot%\System32\nwprovau.dll"
  77. HKR,"Parameters", "ServiceDll", 0x20000, "%SystemRoot%\System32\nwwks.dll"
  78. [NWCWorkstation.AddReg.Secure]
  79. HKR,Parameters\Option,,0x10
  80. HKR,Parameters\InteractiveLogon,,0x10
  81. HKR,Parameters\Logon,,0x10
  82. [NWCWorkstation.AddReg.Secure.Security]
  83. "D:AI(A;CI;CCDCLCSWRPWPSDRC;;;LS)"
  84. [NWClient.Ndi.NetworkProvider]
  85. DeviceName = "nwrdr"
  86. ShortName = "NW"
  87. [NWClient.Ndi.PrintProvider]
  88. PrintProviderName = "NetWare or Compatible Network"
  89. PrintProviderDll = "nwprovau.dll"
  90. DisplayName = "%NWC_Network_Display_Name%"
  91. [NWRDR.AddReg]
  92. HKR, "Performance", "Library",, "perfnw.dll"
  93. HKR, "Performance", "Open",, "OpenNetWarePerformanceData"
  94. HKR, "Performance", "Collect",, "CollectNetWarePerformanceData"
  95. HKR, "Performance", "Close",, "CloseNetWarePerformanceData"
  96. HKLM,"Software\Microsoft\Rpc\ClientProtocols", "ncacn_spx",, "rpcrt4.dll"
  97. @@:@6: HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols", "ncacn_spx",, "rpcrt4.dll"
  98. [NWCWorkstation_Evt]
  99. AddReg = NWCWorkstation_Evt_AddReg
  100. [NWCWorkstation_Evt_Addreg]
  101. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\nwevent.dll"
  102. HKR,, TypesSupported, 0x00010001, 0x00000007
  103. [NWRDR_Evt]
  104. AddReg = NWRDR_Evt_AddReg
  105. [NWRDR_Evt_Addreg]
  106. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\nwevent.dll"
  107. HKR,, TypesSupported, 0x00010001, 0x00000007