[Version]
Signature   = "$Windows NT$"
Class       = NetService
ClassGUID   = {4d36e974-e325-11ce-bfc1-08002be10318}
Provider    = %Msft%
DriverVer   = 06/21/2006,6.0.6001.18000

[Manufacturer]
%Msft%=MSFT,NTx86

[MSFT.NTx86]
%MSServer_Desc% = Install.ndi, MS_SERVER

[Install.ndi]
AddReg = MSServer.ndi.AddReg
Characteristics = 0x0000    ; no characteristics

[MSServer.ndi.AddReg]
HKR, Ndi, ClsID, 0, {7F368827-9516-11d0-83D9-00A0C911E5DF}
HKR, Ndi, Service, 0, LanmanServer
HKR, Ndi, CoServices, 0x00010000, "LanmanServer"
;HKR, Ndi, ExcludeSetupStartServices, 0x00010000, "LanmanServer"
HKR, Ndi, HelpText, 0, "@netcfgx.dll,-50003"
HKR, Ndi\Interfaces, UpperRange, 0, "winnet5"
HKR, Ndi\Interfaces, LowerRange, 0, "tdi,netbios,ipx,netbios_smb"

[Install.ndi.Services]
AddService = SamSs,, SamSs_Service_Inst
AddService = srvnet,, srvnet_Service_Inst
AddService = srv2,, srv2_Service_Inst
AddService = srv,, srv_Service_Inst, srv_Evt
AddService = LanmanServer, 0x00000002, LanmanServer_Service_Inst, Server_Evt,, Server

[Install.ndi.Remove.Services]
DelService = LanmanServer
DelService = srv
DelService = srv2
DelService = srvnet

[LanmanServer_Service_Inst]
DisplayName = "@%SystemRoot%\system32\srvsvc.dll,-100"
ServiceType = 0x20
StartType = 2
ErrorControl = 1
ServiceBinary = %11%\svchost.exe -k netsvcs
Dependencies = SamSS, srv
StartName = LocalSystem
AddReg =  MSServer.Server.AddReg
Description = "@%SystemRoot%\system32\srvsvc.dll,-101"

[srv_Service_Inst]
ServiceType = 2
StartType =   3
ErrorControl = 1
ServiceBinary = %12%\srv.sys
Dependencies = srv2
LoadOrderGroup = Network

[srv2_Service_Inst]
DisplayName = srv2
ServiceType = 2
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\srv2.sys
Dependencies = srvnet
LoadOrderGroup = Network
Description = %srv2_Desc%

[srvnet_Service_Inst]
ServiceType = 2
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\srvnet.sys
LoadOrderGroup = Network

[SamSs_Service_Inst]
DisplayName = "@%SystemRoot%\system32\samsrv.dll,-1"
ServiceType = 0x20
StartType = 2
ErrorControl = 1
ServiceBinary = %11%\lsass.exe
Dependencies = RPCSS
LoadOrderGroup = MS_WindowsLocalValidation
Description =  "@%SystemRoot%\system32\samsrv.dll,-2"
;Security = "D:(A;;CCLCSWLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLO;;;IU)(A;;CCLCSWLO;;;BU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)"

[MSServer.Server.AddReg]
HKR, , ServiceSidType, 0x10001, 0x1
HKR, , FailureActions, 0x00000001, 0x80,0x51,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0xEA,0x00,0x00,0x01,0x00,0x00,0x00,0xC0,0xD4,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
HKR, Aliases, , 0x00010
HKR, AutotunedParameters, , 0x00010
HKR, Shares, , 0x00010
HKR, Parameters, NullSessionPipes, 0x10000, "netlogon","lsarpc","samr","browser"
HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\srvsvc.dll"
HKR, Parameters, ServiceDllUnloadOnStop, 0x10001, 0x1
HKR, Parameters, AdjustedNullSessionPipes, 0x10001, 0x2
HKR, Parameters, autodisconnect, 0x10001, 0xf
HKR, Parameters, enableforcedlogoff, 0x10001, 0x1
HKR, Parameters, enablesecuritysignature, 0x10001, 0x0
HKR, Parameters, requiresecuritysignature, 0x10001, 0x0
HKR, Parameters, restrictnullsessaccess, 0x10001, 0x1

[srv_Evt]
AddReg = srv_Evt_AddReg

[srv_Evt_AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR,, TypesSupported,   0x00010001, 0x00000007

[Server_Evt]
AddReg = Server_Evt_AddReg

[Server_Evt_AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR,, TypesSupported,   0x00010001, 0x00000007

[SamSs_Event]
AddReg = SamSs_Event_AddReg

[SamSs_Event_AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\samsrv.dll"
HKR,, TypesSupported,   0x00010001, 0x00000007

[Strings]
Msft = "Microsoft"
MSServer_Desc = "File and Printer Sharing for Microsoft Networks"
srv2_Desc = "Default SDDL for Windows Resource Protected file"