;	Copyright (c) 1993-1994 Microsoft Corporation  All rights reserved.
;
;	This file is used to INSTALL a  Microsoft Exchange Server.
;



;	Talking to the Service Manager
;

;		ServiceManager(MAD)
CreateService:MSExchangeSA;Microsoft Exchange System Attendant;bin\mad.exe;EventLog$OLE$NtLmSsp$RPCLOCATOR$RPCSS$LanmanWorkstation$LanmanServer$

;		ServiceManager(DSA)
CreateService:MSExchangeDS;Microsoft Exchange Directory;bin\dsamain.exe;MSExchangeSA$

;		ServiceManager(MTA)
; BUG
CreateService:MSExchangeMTA;Microsoft Exchange Message Transfer Agent;bin\emsmta.exe;MSExchangeDS$

;		ServiceManager(MDB)
CreateService:MSExchangeIS;Microsoft Exchange Information Store;bin\store.exe;MSExchangeDS$


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;	Integrating with the EventLog.
;
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application
;delete due to changes, so they will be added later
DeleteKey:MSExchangeDS
DeleteKey:MSExchangeMTA
DeleteKey:MSExchangeIS Private
DeleteKey:MSExchangeIS Public
DeleteKey:MSExchangeIS
DeleteKey:EDB
DeleteKey:ESE97

CreateKey:MSExchangeSA
CreateKey:MSExchangeDS

CreateKey:MSExchangeIS Private
CreateKey:MSExchangeIS Public
CreateKey:MSExchangeIS
CreateKey:MSExchange POP3 Interface
CreateKey:MSExchange IMAP4 Interface
CreateKey:MSExchange NNTP Interface

CreateKey:MSExchangeMTA
CreateKey:EDB
CreateKey:ESE97

CloseKey:

;		EventLog(MAD)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchangeSA
ReplaceDword:CategoryCount;0x09
ReplaceExpandString:CategoryMessageFile;%s\bin\madmsg.dll
ReplaceExpandString:EventMessageFile;%s\bin\madmsg.dll
ReplaceDword:TypesSupported;7
CloseKey:

;		EventLog(DSA)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchangeDS
ReplaceExpandString:EventMessageFile;%s\res\dsmsg.dll
ReplaceExpandString:CategoryMessageFile;%s\res\dsmsg.dll
ReplaceDword:CategoryCount;0x10
CloseKey:

;		EventLog(MTA)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchangeMTA
ReplaceDword:CategoryCount;0xa
ReplaceExpandString:CategoryMessageFile;%s\res\mtamsg.dll
ReplaceExpandString:EventMessageFile;%s\res\mtamsg.dll
ReplaceDword:TypesSupported;7
CloseKey:

;		EventLog(MDB)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchangeIS Private
ReplaceExpandString:EventMessageFile;%s\res\mdbmsg.dll
ReplaceExpandString:CategoryMessageFile;%s\res\mdbmsg.dll
ReplaceDword:CategoryCount;0x24
CloseKey:
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchangeIS Public
ReplaceExpandString:EventMessageFile;%s\res\mdbmsg.dll
ReplaceExpandString:CategoryMessageFile;%s\res\mdbmsg.dll
ReplaceDword:CategoryCount;0x24
CloseKey:
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchangeIS
ReplaceExpandString:EventMessageFile;%s\res\mdbmsg.dll
ReplaceExpandString:CategoryMessageFile;%s\res\mdbmsg.dll
ReplaceDword:CategoryCount;0x24
CloseKey:
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchange POP3 Interface
ReplaceExpandString:EventMessageFile;%s\res\pop3evt.dll
ReplaceExpandString:CategoryMessageFile;%s\res\pop3evt.dll
ReplaceDword:CategoryCount;0x05
CloseKey:
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchange IMAP4 Interface
ReplaceExpandString:EventMessageFile;%s\res\imap4evt.dll
ReplaceExpandString:CategoryMessageFile;%s\res\imap4evt.dll
ReplaceDword:CategoryCount;0x05
CloseKey:
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchange NNTP Interface
ReplaceExpandString:EventMessageFile;%s\res\nntpevt.dll
ReplaceExpandString:CategoryMessageFile;%s\res\nntpevt.dll
ReplaceDword:CategoryCount;0x08
CloseKey:


;		EventLog(EDB)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\EDB
ReplaceExpandString:EventMessageFile;%s\bin\edb.dll
ReplaceExpandString:CategoryMessageFile;%s\bin\edb.dll
ReplaceDword:CategoryCount;0x06
ReplaceDword:TypesSupported;0x07
CloseKey:

;		EventLog(ESE97)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\ESE97
ReplaceExpandString:EventMessageFile;%s\bin\ESE.dll
ReplaceExpandString:CategoryMessageFile;%s\bin\ESE.dll
ReplaceDword:CategoryCount;0x0a
ReplaceDword:TypesSupported;0x07
CloseKey:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;	Integrating with the PerfMon.
;
OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateKey:MSExchangeDS\Performance
CreateKey:MSExchangeMTA\Performance
CreateKey:MSExchangeIS\Performance
CreateKey:EDB\Performance
CreateKey:ESE97\Performance
CloseKey:


;		PerfMon(MAD)

;		PerfMon(DSA)

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeDS\Performance
ReplaceString:Close;CloseDsaPerformanceData
ReplaceString:Collect;CollectDsaPerformanceData
ReplaceString:Library;%s\bin\perfdsa.dll
ReplaceString:Open;OpenDsaPerformanceData

CloseKey:

CreateProcessSafe:.;unlodctr MSExchangeDS;180000
CreateProcess:%srcdir%\bin;lodctr dsactrs.ini;360000

;		PerfMon(MTA)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeMTA\Performance
ReplaceString:Close;MTAClosePerf
ReplaceString:Collect;MTACollectPerf
ReplaceString:Library;%s\bin\mtaperf.dll
ReplaceString:Open;MTAOpenPerf

CloseKey:

CreateProcessSafe:.;unlodctr MSExchangeMTA;180000
CreateProcess:%srcdir%\bin;lodctr mtaperf.ini;360000

;		PerfMon(MDB)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\Performance
ReplaceString:Close;CloseMdbPerformanceData
ReplaceString:Collect;CollectMdbPerformanceData
ReplaceString:Library;%s\bin\mdbperf.dll
ReplaceString:Open;OpenMdbPerformanceData

CloseKey:
CreateProcessSafe:.;unlodctr MSExchangeIS;180000
CreateProcess:%srcdir%\bin;lodctr mdbperf.ini;1200000


;		PerfMon(EDB)
;OpenMachineKey:SYSTEM\CurrentControlSet\Services\EDB\Performance
;ReplaceString:Close;ClosePerformanceData
;ReplaceString:Collect;CollectPerformanceData
;ReplaceString:Library;%s\bin\edbperf.dll
;ReplaceString:Open;OpenPerformanceData

;CloseKey:
;CreateProcessSafe:.;unlodctr EDB;180000
;CreateProcess:%srcdir%\bin;lodctr edbperf.ini;360000

OpenMachineKey:SYSTEM\CurrentControlSet\Services
DeleteKey:EDB
CloseKey:

;		PerfMon(ESE97)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\ESE97\Performance
ReplaceString:Close;ClosePerformanceData
ReplaceString:Collect;CollectPerformanceData
ReplaceString:Library;%windir%\system32\eseperf.dll
ReplaceString:Open;OpenPerformanceData

CloseKey:


CreateProcessSafe:.;unlodctr ESE97;180000
CreateProcess:%windir%\system32;lodctr eseperf.ini;180000






; The Services key for MSExchangeIMC so that lodctr would succeed. Later Admin will just enable the service.


;		Miscellaneous
OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateKey:MSExchangeIMC\Performance
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIMC\Performance
ReplaceString:Close;ClosePerformanceData
ReplaceString:Collect;CollectPerformanceData
ReplaceString:Library;%s\bin\imsperf.dll
ReplaceString:Open;OpenPerformanceData
CloseKey:



CreateProcessSafe:.;unlodctr MSExchangeIMC;180000
CreateProcess:%srcdir%\bin;lodctr imcperf.ini;360000



OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application
CreateKey:MSExchangeIMC
CreateKey:InternetProxy
CloseKey:

;		EventLog(MSExchangeIMC)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchangeIMC
ReplaceExpandString:EventMessageFile;%s\res\imcmsg.dll
ReplaceExpandString:CategoryMessageFile;%s\res\imcmsg.dll
ReplaceDword:CategoryCount;0x08
ReplaceDword:TypesSupported;0x1f
CloseKey:







; The Services key for MSExchangeINS so that the permissions will be inherited properly

OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateKey:MSExchangeINS
CloseKey:







;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;	Misc. Additional work used internally by EMS
;

;		Server RPC binding transports
OpenMachineKey:SOFTWARE\Microsoft\Exchange\Exchange Provider
ReplaceString:Rpc_Svr_Binding_Order;ncacn_ip_tcp,ncacn_spx,ncacn_vns_spp
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateSecureKey:MSExchangeDS\Parameters
CreateKey:MSExchangeDS\Diagnostics
CreateKey:MSExchangeMTA\Parameters
CreateKey:MSExchangeMTA\Diagnostics
CreateSecureKey:MSExchangeIS\ParametersPrivate
CreateSecureKey:MSExchangeIS\ParametersPublic
CreateKey:MSExchangeIS\ParametersSystem
CreateKey:MSExchangeIS\ParametersSystem\InternetContent
CreateKey:MSExchangeIS\ParametersNetIf
CreateKey:MSExchangeIS\Diagnostics
;------------------------------------------
CloseKey:

; POP3 support
OpenMachineKey:SOFTWARE\Microsoft
CreateKey:KeyRing
CloseKey:

OpenMachineKey:SOFTWARE\Microsoft\KeyRing
CreateKey:Parameters
CloseKey:

OpenMachineKey:SOFTWARE\Microsoft\KeyRing\Parameters
CreateKey:AddOnServices
CloseKey:

OpenMachineKey:SOFTWARE\Microsoft\KeyRing\Parameters\AddOnServices
ReplaceString:Pop3;popkey.dll
CloseKey:

;work around a bug in the NT redirector for the MTA
OpenMachineKey:SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
SetDword:MaxThreads;0xff
CloseKey:

; Remove Server Language value from pre RC2 installations
OpenMachineKey:SOFTWARE\Microsoft\Exchange\Language
DeleteValue:Server Language
CloseKey:



; Random JET keys
OpenMachineKey:SOFTWARE\Microsoft
CreateSecureKey:EDB
CloseKey:


;		Miscellanous(MAD)
InitMAD:
OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateKey:MSExchangeSA\Parameters
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeSA\Parameters
SetString:LogDirectory;%s\tracking.log
SetDword:LogFlushFreq;10
SetDword:OldLogsCleaningInterval(Days);7
CloseKey:

;		Miscellanous(DSA)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeDS
ReplaceString:DiagnosticsMessageFile;dsmsg.dll
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeDS\Parameters
SetString:Database log files path;%s\DSADATA
SetString:Database logging/recovery;ON
SetString:DSA Database file;%s\DSADATA\dir.edb
SetString:DSA Temporary file;%s\DSADATA\temp.edb
SetDword:EDB max log buffers;0x40
SetDword:EDB log buffer flush threshold;0x20
SetDword:EDB log flush period;0x1F4
SetString:DSA Hierarchy table file;%s\DSADATA\hierarch.dat
SetDword:Hierarchy Table Recalculation interval (minutes);0x720
; DEBUG only
SetString:DSA Working Directory;%s\DSADATA
SetDword:Max Threads (EXDS+NSP+DRA);30
SetDword:Replicator deleted object conflict lifetime (days);0x1
SetDword:Replicator notify pause after modify (secs);0x12c
SetDword:Replicator notify pause between DSAs (secs);0x1e
SetDword:Replicator inter site packet size;0x200
SetDword:Replicator intra site packet size;0x64
SetDword:Circular Logging;0x01
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeDS\Diagnostics
SetDword:1 Knowledge Consistency Checker;0
SetDword:2 Security Events;0
SetDword:3 EXDS Interface Events;0
SetDword:4 MAPI Interface Events;0
SetDword:5 Replication Events;0
SetDword:6 Garbage Collection;0
SetDword:7 Internal Configuration;0
SetDword:8 Directory Access;0
SetDword:9 Internal Processing;0
SetDword:10 LDAP Interface;0
SetDword:11 Initialization/Termination;0
SetDword:12 Service Control;0
SetDword:13 Name Resolution;0
SetDword:14 Backup;0
SetDword:15 Field Engineering;0
SetDword:16 Address Book Views;0
DeleteValue:10 Unused
CloseKey:

;		Miscellanous(MTA)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeMTA
ReplaceString:DiagnosticsMessageFile;mtamsg.dll
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeMTA\Parameters
SetDword:Concurrent connections to LAN-MTAs;0x28
SetDword:Concurrent connections to X.400 gateways;0x6
ReplaceDword:Concurrent MDB/delivery queue clients;0x3
ReplaceDword:Concurrent XAPI sessions;0x50
SetDword:DB data buffers per object;0x3
SetDword:DB file handles;0xc0
SetDword:Dispatcher threads;0x1
SetDword:ds_read cache latency (secs);0x3c
SetDword:ds_search latency (mins);0x3c
SetDword:ds_search latency (mins) for transport stacks;0x3c
SetStringServer:DSA Address
SetDword:Kernel threads;0x1
SetDword:LAN-MTA DMOD threads;0x5
SetDword:LAN-MTAs;0x14
SetDword:MDB users;0x1f4
SetDword:MMI connections;0x8
ReplaceDword:MT gateway clients;0x8
SetString:MTA Run Directory;%s\mtadata
SetString:MTA database path;%s\mtadata
ReplaceDword:Retrieval queue clients;0x2
SetDword:RTS threads;0x1
SetDword:Submit/deliver threads;0x2
SetDword:Supports 2K TPDU;0x0
SetDword:TCP/IP async notify timeout (ms);0x32
SetDword:TCP/IP control blocks;0x14
SetDword:TCP/IP threads;0x2
SetDword:TP4 async notify timeout (ms);0x32
SetDword:TP4 control blocks;0x14
SetDword:TP4 threads;0x2
SetDword:Transfer threads;0x1
SetDword:Transport threads;0x1
SetDword:X.400 gateways;0x14
SetStringDN:X500 DN; ;Microsoft MTA
SetDword:XAPI MA queue threads;0x2
SetDword:XAPI MA threads;0x2
SetDword:XAPI MT queue threads;0x1
SetDword:XAPI MT threads;0x1
SetDword:XAPI/MMI client DMOD threads;0xa
SetDword:Concurrent connections to RAS LAN-MTAs;0xa
SetDword:RAS LAN-MTA DMOD threads;0x2
SetDword:Eicon X.25 result threads;0x2
SetDword:Eicon X.25 connections;0x14
SetDword:DB file count delete threshold;0x0
SetDword:DB file size delete threshold;0x0
SetDword:Eicon wait timeout (MS);0x1f4
SetDword:NCC TP0 Conformance Tester;0x00
SetDword:APDU logging required;0x00
; $BUG set following to 00 for ship
SetDword:Call-stack diagnostics required;0x1
SetDword:Flush Results to Disk;0x00
SetDword:Number of RAS LAN-MTAs;0x0a
SetDword:Number of Remote Sites Connected over LAN;0x19
SetDword:Number of DLs Allowed;0x64
SetDword:Max Concurrent XAPI Applications;0xa
SetDword:Max RPC Calls Outstanding;0x32
SetDword:Min RPC Threads;0x4
SetDword:RPC Authentication Level;0x2
SetDword:Text Event Log;0x0
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeMTA\Diagnostics
SetDword:1 X.400 Service;0x00
SetDword:2 Resource;0x00
SetDword:3 Security;0x00
SetDword:4 Interface;0x00
SetDword:5 Field Engineering;0x00
SetDword:6 MTA Administration;0x00
SetDword:7 Configuration;0x00
SetDword:8 Directory Access;0x00
SetDword:9 Operating System;0x00
SetDword:10 Internal Processing;0x00
SetDword:11 Interoperability;0x00
SetDword:12 APDU;0x00
CloseKey:

;		Miscellanous(MDB)

;copy the values that were for IMC, now part of IS
;copyvalue only works in HKLM
CopyValueDword:SYSTEM\CurrentControlSet\Services\MSExchangeIMC\Parameters;SYSTEM\CurrentControlSet\Services\MSexchangeIS\ParametersSystem\InternetContent;ISO-8859-1;ISO-8859-1;0x0
CopyValueDword:SYSTEM\CurrentControlSet\Services\MSExchangeIMC\Parameters;SYSTEM\CurrentControlSet\Services\MSexchangeIS\ParametersSystem\InternetContent;DefaultUseSJIS;DefaultUseSJIS;0x0
CopyValueMulti_SZ:SYSTEM\CurrentControlSet\Services\MSExchangeIMC\Parameters;SYSTEM\CurrentControlSet\Services\MSexchangeIS\ParametersSystem\InternetContent;NonMacCreatorTypes;NonMacCreatorTypes;MDOS:TEXT$

;remove old keys after copying
OpenMachineKey:SYSTEM\CurrentControlSet\Services
DeleteValue:MSExchangeIMC\Parameters\ISO-8859-1
DeleteValue:MSExchangeIMC\Parameters\DefaultUseSJIS
DeleteValue:MSExchangeIMC\Parameters\NonMacCreatorTypes
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem\InternetContent
SetDword:LoggingLevel;0x00
; Note that, in the following strings, '^'s will be replaced with ';'s, and '$'s with NULLS
DeleteValue:MacCreatorTypes
AppendMultiString:MacCreatorTypes;.*^MDOS:TEXT$.1st^R*ch:TEXT$.8svc^SCPL:8SVC$.A^ MPS:TEXT$.AIF^SNDM:AIFF$
AppendMultiString:MacCreatorTypes;.AL^SNDM:ALAW$.ANI^GKON:ANIi$.APD^ALD3:TEXT$.APP^FOXX:FAPP$.ARC^SIT!:mArc$
AppendMultiString:MacCreatorTypes;.ARJ^DArj:????$.ASC^ttxt:TEXT$.ASM^R*ch:TEXT$.AU^SNDM:ULAW$.AVI^AVIC:BINA$
AppendMultiString:MacCreatorTypes;.BAR^S691:BARF$.BAS^R*ch:TEXT$.BAT^ttxt:TEXT$.BGA^JVWR:BMPp$.BIN^SIT!:BINA$
AppendMultiString:MacCreatorTypes;.BMP^GKON:BMPp$.BST^*TEX:TEXT$.BW^GKON:SGI\\40$.C^MMCC:TEXT$.CGM^GKON:CGMm$
AppendMultiString:MacCreatorTypes;.CMD^ttxt:TEXT$.COM^mdos:BINA$.CP^MMCC:TEXT$.CPP^MMCC:TEXT$.CPT^SIT!:PACT$
AppendMultiString:MacCreatorTypes;.CSV^XCEL:TEXT$.CT^8BIM:..CT$.CUT^GKON:HALO$.CVS^DAD2:drw2$.CXX^MMCC:TEXT$
AppendMultiString:MacCreatorTypes;.DBF^FOX+:F+DB$.DCX^GKON:DCXx$.DIF^XCEL:TEXT$.DIZ^R*ch:TEXT$.DL^GKON:DLdl$
AppendMultiString:MacCreatorTypes;.DLL^PCXT:PCFL$.DOC^MSWD:WDBN$.DOT^MSWD:WTBN$.DVI^OTEX:ODVI$.DXF^SWVL:TEXT$
AppendMultiString:MacCreatorTypes;.EPS^vgrd:EPSF$.ETX^R*ch:TEXT$.EVY^ENVY:ENVD$.EXE^mdos:BINA$.FAQ^R*ch:TEXT$
AppendMultiString:MacCreatorTypes;.FIT^GKON:FITS$.FLC^GKON:FLI$.FLI^GKON:FLI$.FM^FMPR:FMPR$.FOR^CFRT:TEXT$
AppendMultiString:MacCreatorTypes;.FRX^FOXX:FAPP$.FTS^GKON:FITS$.FXP^FOXX:FFXP$.GEM^GKON:GEM-$.GIF^MSIE:GIFf$
AppendMultiString:MacCreatorTypes;.GL^AnVw:GL$.GRP^GKON:GRPp$.GZ^SIT!:Gzip$.H^MMCC:TEXT$.HTM^MSIE:TEXT$
AppendMultiString:MacCreatorTypes;.HTML^MSIE:TEXT$.HP^MMCC:TEXT$.HPP^MMCC:TEXT$.HPG^GKON:HPGL$.HPGL^GKON:HPGL$
AppendMultiString:MacCreatorTypes;.HQX^SIT!:TEXT$.HXX^MMCC:TEXT$.I3^R*ch:TEXT$.IC1^GKON:IMAG$.IC2^GKON:IMAG$
AppendMultiString:MacCreatorTypes;.IC3^GKON:IMAG$.ICN^GKON:ICO$.ICO^GKON:ICO$.IFF^GKON:ILBM$.ILBM^GKON:ILBM$
AppendMultiString:MacCreatorTypes;.IMG^GKON:IMGg$.INI^ttxt:TEXT$.JFIF^JVWR:JFIF$.JPE^MSIE:JPEG$.JPG^MSIE:JPEG$
AppendMultiString:MacCreatorTypes;.JPEG^MSIE:JPEG$.LBM^GKON:ILBM$.LBX^FOXX:F+LB$.LHA^LARC:LHA$.LZH^LARC:LHA$
AppendMultiString:MacCreatorTypes;.M^OMEG:TEXT$.M2V^MPG2:MPG2$.M3^R*ch:TEXT$.MAC^dPro:PICT$.MAK^R*ch:TEXT$
AppendMultiString:MacCreatorTypes;.MCW^MSWD:WDBN$.ME^ttxt:TEXT$.MED^SCPL:STrk$.MID^ttxt:Midi$.MIDI^ttxt:Midi$
AppendMultiString:MacCreatorTypes;.MIF^Fram:TEXT$.MF^*MF*:TEXT$.ML^R*ch:TEXT$.MNX^FOXX:FMNX$.MOD^SCPL:STrk$
AppendMultiString:MacCreatorTypes;.MOV^TVOD:MooV$.MOOV^TVOD:MooV$.MPC^MSPJ:MPC\\40$.MPE^mMPG:MPEG$
AppendMultiString:MacCreatorTypes;.MPG^mMPG:MPEG$.MPEG^mMPG:MPEG$.MPP^MSPJ:MPP\\40$.MPT^MSPJ:MPT\\40$
AppendMultiString:MacCreatorTypes;.MPV^MSPJ:MPV\\40$.MPW^MSPJ:MPW\\40$.MPX^MSPJ:MPX\\40$.MSP^GKON:MSPp$
AppendMultiString:MacCreatorTypes;.MW^MWII:WORD$.NEO^GKON:NeoC$.OBJ^mdos:BINA$.ODA^ODA\\40:ODIF$.OUT^R*ch:TEXT$
AppendMultiString:MacCreatorTypes;.OVL^mdos:BINA$.QPR^FOXX:FQPR$.P^MWPS:TEXT$.PAC^GKON:STAD$.PAS^MWPS:TEXT$
AppendMultiString:MacCreatorTypes;.PBM^GKON:PPGM$.PC1^GKON:Dega$.PC2^GKON:Dega$.PC3^GKON:Dega$.PCS^GKON:PICS$
AppendMultiString:MacCreatorTypes;.PCT^ttxt:PICT$.PCX^GKON:PCXx$.PDF^CARO:PDF$.PDX^ALD4:TEXT$.PGM^GKON:PPGM$
AppendMultiString:MacCreatorTypes;.PI1^GKON:Dega$.PI2^GKON:Dega$.PI3^GKON:Dega$.PIC^ttxt:PICT$.PICT^ttxt:PICT$
AppendMultiString:MacCreatorTypes;.PIT^SIT!:PIT$.PJX^FOXX:FPJX$.PKG^SIT!:GEOL$.PL^McPL:TEXT$.PLT^GKON:HPGL$
AppendMultiString:MacCreatorTypes;.PM^GKON:PMpm$.PM3^ALD3:ALB3$.PM4^ALD4:ALB4$.PM5^ALD5:ALB5$.PNTG^SPNT:PNTG$
AppendMultiString:MacCreatorTypes;.PPD^ALD4:TEXT$.PPM^GKON:PPGM$.PPT^PPT3:SLD3$.PRG^FOXX:F+PR$.PRN^R*ch:TEXT$
AppendMultiString:MacCreatorTypes;.PS^vgrd:TEXT$.PSD^GKON:8BPS$.PT3^ALD3:ALT3$.PT4^ALD4:ALT4$.PT5^ALD5:ALT5$
AppendMultiString:MacCreatorTypes;.PUB^ALD2:PUBF$.PXR^8BIM:PXR$.QT^TVOD:MooV$.QXD^XPR3:XDOC$.QXT^XPR3:XTMP$
AppendMultiString:MacCreatorTypes;.RAW^8BIM:????$.RDY^MORE:TEXT$.README^ttxt:TEXT$.RGB^GKON:SGI$
AppendMultiString:MacCreatorTypes;.RGBA^GKON:SGI$.RIB^RINI:TEXT$.RIF^GKON:RIFF$.RLE^GKON:RLE$.RME^ttxt:TEXT$
AppendMultiString:MacCreatorTypes;.RPL^REP!:FRL!$.RSC^RSED:rsrc$.RSRC^RSED:rsrc$.RTF^MSWD:RTF\\40$
AppendMultiString:MacCreatorTypes;.RTX^R*ch:TEXT$.SCX^FOXX:F+FR$.SCG^GKON:RIX3$.SCI^GKON:RIX3$.SCP^GKON:RIX3$
AppendMultiString:MacCreatorTypes;.SCR^GKON:PCXx$.SCU^GKON:RIX3$.SEA^????:APPL$.SF^SDHK:IRCM$.SGI^GKON:SGI$
AppendMultiString:MacCreatorTypes;.SHA^UnSh:TEXT$.SHAR^UnSh:TEXT$.SHP^GKON:SHPp$.SIT^SIT!:SIT!$.SITHQX^SIT!:TEXT$
AppendMultiString:MacCreatorTypes;.SLK^XCEL:TEXT$.SPC^GKON:Spec$.SR^GKON:SUNn$.SUP^GKON:SCRN$.SVX^SCPL:8SVX$
AppendMultiString:MacCreatorTypes;.SYLK^XCEL:TEXT$.TAR^TAR:TARF$.TARGA^GKON:TARG$.TAZ^SIT!:ZIVU$.TEX^R*ch:TEXT$
AppendMultiString:MacCreatorTypes;.TGA^GKON:TARG$.TGZ^SIT!:Gzip$.TIF^GKON:TIFF$.TIFF^GKON:TIFF$.TNY^GKON:TINY$
AppendMultiString:MacCreatorTypes;.TSV^XCEL:TEXT$.TX8^R*ch:TEXT$.TXT^MSWD:TEXT$.URL^MSIE:LINK$.UU^uuUN:TEXT$
AppendMultiString:MacCreatorTypes;.UUE^uuUN:TEXT$.VFF^GKON:VFFf$.VGA^GKON:BMPp$.VOC^SCPL:VOC$.W51^WPC3:WPPC$
AppendMultiString:MacCreatorTypes;.WAV^SCPL:WAVE$.WDB^MSWK:AWDB$.WP5^WPC3:WPPC$.WK1^L123:LWKS$.WK3^L123:LWK3$
AppendMultiString:MacCreatorTypes;.WKS^L123:WKS$.WMF^GKON:WMF$.WP^WPC3:WPPC$.WPD^WPC3:WPPC$.WPG^WPC3:WPGf$
AppendMultiString:MacCreatorTypes;.WPM^WPC3:WPD1$.WPS^MSWK:AWPS$.WRI^MSWD:WDBN$.X10^GKON:XWDd$.X11^GKON:XWDd$
AppendMultiString:MacCreatorTypes;.XBM^GKON:XBM$.XLA^XCEL:XLA$.XLB^XCEL:XLB5$.XLC^XCEL:XLC$.XLM^XCEL:XLM$
AppendMultiString:MacCreatorTypes;.XLS^XCEL:XLS5$.XLT^XCEL:sLC$.XLW^XCEL:XLW$.XNK^EXCH:XNK\\40$.XPM^GKON:XPM$
AppendMultiString:MacCreatorTypes;.XWD^GKON:XWDd$.Z^SIT!:ZIVU$.ZIP^SIT!:pZIP$.ZOO^Booz:Zoo$
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS
ReplaceString:DiagnosticsMessageFile;mdbmsg.dll
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
SetString:DB Log Path;%s\MDBDATA
SetDword:DB Recovery;0x00
SetStringServer:DSA Computer
SetStringServer:MTA Computer
SetDword:Online Compaction;0x1
SetStringServer:This Server
SetString:Working Directory;%s\MDBDATA
SetDword:Circular Logging;0x01
SetString:POP3 Protocol Log Path;%s\MDBDATA
SetDword:POP3 Protocol Logging Level;0x00
SetString:IMAP4 Protocol Log Path;%s\MDBDATA
SetDword:IMAP4 Protocol Logging Level;0x00
SetString:NNTP Protocol Log Path;%s\MDBDATA
SetDword:NNTP Protocol Logging Level;0x00
CloseKey:

;		Private Parameters
OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersPrivate
SetDword:Background Cleanup;0xEA60
SetDword:Background Search;0x1388
SetString:DB Path;%s\MDBDATA\PRIV.EDB
SetDword:General Event Log;0x0
SetDword:Track Duplicates;0x1
SetDword:Transport Event Log;0x0
CloseKey:

;		Public Parameters
OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersPublic
SetDword:Background Cleanup;0xEA60
SetDword:Background Search;0x1388
SetString:DB Path;%s\MDBDATA\PUB.EDB
SetDword:General Event Log;0x0
SetDword:Replication Event Log;0x0
SetDword:Track Duplicates;0x1
SetDword:Transport Event Log;0x0
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersNetIf
SetDword:MaxPoolThreads;0x0a
SetDword:MaxConcurrency;0x00
SetDword:ThreadTimeout;0x015180
SetDword:UseAcceptEx;0x01
SetDword:UseTransmitFile;0x01
SetDword:NonTFBufferSize;0x1000
SetDword:MinFileKbSec;0x03e8
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\Diagnostics
CreateKey:9000 Private
CreateKey:9001 Public
CreateKey:9002 System
CreateKey:9037 Internet Protocols
CreateKey:9037 Internet Protocols\9038 POP3
CreateKey:9037 Internet Protocols\9039 NNTP
CreateKey:9037 Internet Protocols\9051 IMAP4
;deletes due to name changes
DeleteKey:9000 Private\9003 General
DeleteKey:9000 Private\9004 Transport
DeleteKey:9001 Public\9003 General
DeleteKey:9001 Public\9004 Transport
DeleteKey:9001 Public\9005 Replication
DeleteKey:9002 System\9003 General
DeleteKey:9002 System\9032 POP3 Protocol
DeleteKey:9002 System\9033 NNTP Protocol
DeleteKey:9032 Internet Protocols\9033 POP3
DeleteKey:9032 Internet Protocols\9034 NNTP
DeleteKey:9032 Internet Protocols
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\Diagnostics\9000 Private
SetDword:9003 Transport General;0x00;
SetDword:9005 General;0x00;
SetDword:9010 Transport Sending;0x00;
SetDword:9011 Transport Delivering;0x00;
SetDword:9012 Transfer Into Gateway;0x00;
SetDword:9013 Transfer Out Of Gateway;0x00;
SetDword:9014 MTA Connections;0x00;
SetDword:9015 Logons;0x00;
SetDword:9016 Access Control;0x00;
SetDword:9017 Send On Behalf Of;0x00;
SetDword:9018 Send As;0x00;
SetDword:9019 Rules;0x00;
SetDword:9021 Storage Limits;0x00;
SetDword:9026 Background Cleanup;0x00;
SetDword:9028 DS Synchronization;0x00;
SetDword:9030 Views;0x00;
SetDword:9050 Download;0x00;
SetDword:9052 Local Replication;0x00;
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\Diagnostics\9001 Public
SetDword:9003 Transport General;0x00;
SetDword:9005 General;0x00;
SetDword:9006 Replication DS Updates;0x00;
SetDword:9007 Replication Incoming Messages;0x00;
SetDword:9008 Replication Outgoing Messages;0x00;
SetDword:9009 Replication NDRs;0x00;
SetDword:9010 Transport Sending;0x00;
SetDword:9011 Transport Delivering;0x00;
SetDword:9014 MTA Connections;0x00;
SetDword:9015 Logons;0x00;
SetDword:9016 Access Control;0x00;
SetDword:9017 Send On Behalf Of;0x00;
SetDword:9018 Send As;0x00;
SetDword:9019 Rules;0x00;
SetDword:9021 Storage Limits;0x00;
SetDword:9022 Replication Site Folders;0x00;
SetDword:9023 Replication Expiry;0x00;
SetDword:9024 Replication Conflicts;0x00;
SetDword:9025 Replication Backfill;0x00;
SetDword:9026 Background Cleanup;0x00;
SetDword:9027 Replication Errors;0x00;
SetDword:9028 DS Synchronization;0x00;
SetDword:9030 Views;0x00;
SetDword:9047 Replication General;0x00;
SetDword:9050 Download;0x00;
SetDword:9052 Local Replication;0x00;
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\Diagnostics\9002 System
SetDword:9004 Recovery;0x00;
SetDword:9005 General;0x00;
SetDword:9020 Connections;0x00;
SetDword:9029 Table Cache;0x00;
SetDword:9031 Content Engine;0x00;
SetDword:9048 Performance Monitor;0x00;
SetDword:9049 Move Mailbox;0x00;
SetDword:9050 Download;0x00;
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\Diagnostics\9037 Internet Protocols\9038 POP3
SetDword:9031 Content Engine;0x00;
SetDword:9041 Connections;0x00;
SetDword:9042 Authentication;0x00;
SetDword:9043 Client Action;0x00;
SetDword:9044 Configuration;0x00;
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\Diagnostics\9037 Internet Protocols\9051 IMAP4
SetDword:9031 Content Engine;0x00;
SetDword:9041 Connections;0x00;
SetDword:9042 Authentication;0x00;
SetDword:9043 Client Action;0x00;
SetDword:9044 Configuration;0x00;
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\Diagnostics\9037 Internet Protocols\9039 NNTP
SetDword:9031 Content Engine;0x00;
SetDword:9040 News Connector;0x00;
SetDword:9041 Connections;0x00;
SetDword:9042 Authentication;0x00;
SetDword:9043 Client Action;0x00;
SetDword:9044 Configuration;0x00;
SetDword:9045 Replication;0x00;
SetDword:9046 Pull Newsfeed;0x00;
CloseKey:

;		Miscellanous (Setting Windows NT control parameters)
OpenMachineKey:SYSTEM\CurrentControlSet\Control\PriorityControl
SetDword:Win32PrioritySeparation;0x00;
CloseKey:

InitMDB:

; TURN RECOVERY on for the MDB
OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
SetDword:DB Recovery;0x01
CloseKey:

;Give us more time for the services to shutdown on server shutdown.  5 min
OpenMachineKey:SYSTEM\CurrentControlSet\Control
SetString:WaitToKillServiceTimeout;600000
CloseKey:

;Optimize memory management for a server
OpenMachineKey:SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
SetDword:LargeSystemCache;0x00
CloseKey:



;		Miscellaneous(Perfwiz)
; Create Perfwiz key
OpenMachineKey:SOFTWARE\Microsoft
CreateKey:PerfWiz
CloseKey:

; Start the Server service before adding shares
StartService:LanmanServer

; Share out the connectors area
AddShare:.;connect$;%s\connect;READ;"Access to gateway connectors"
AddShare:.;Address;%s\address;READ;"Access to address objects"
AddShare:.;Add-ins;%s\add-ins;READ;"Access to EDK objects"
AddShare:.;tracking.log;%s\tracking.log;READ;"Exchange message tracking logs"
AddShare:.;Resources;%s\res;READ;"Event logging files"


;Create the WebTemp Dir
CreateDirectory:%s\WebTemp

;Create the KMSData Dir
CreateDirectory:%s\KMSDATA

; Hack for GAPI32.DLL registration
OpenMachineKey:SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLs
SetString:gapi32;gapi32.dll
CloseKey: