
;		Miscellanous(MAD)
OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateKey:MSExchangeSA\Parameters
CreateKey:MSExchangeSA\Diagnostics
CloseKey:

;
; $REVIEW(a-msharo): Temporary hack to let MAD run under localsystem
;
OpenMachineKey:SYSTEM\CurrentControlSet\Services\Lanmanserver\Parameters
SetDword:RestrictNullSessAccess;0
CloseKey:

;		Parameters(AL)
OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateKey:MSExchangeAL
CreateKey:MSExchangeAL\Parameters
CreateKey:MSExchangeAL\Diagnostics
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeAL
ReplaceString:DiagnosticsMessageFile;msallog.dll
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeAL\Diagnostics
SetDword:5 Ldap Operations;0
SetDword:4 Service Control;0
SetDword:3 Attribute Mapping;0
SetDword:2 Account Management;0
SetDword:1 Address List Synchronization;0
CloseKey:

;		Set up parameters and diagnostics for DS2MB
OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateKey:MSExchangeMU
CreateKey:MSExchangeMU\Parameters
CreateKey:MSExchangeMU\Diagnostics
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeMU
ReplaceString:DiagnosticsMessageFile;ds2mbmsg.dll
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeMU\Diagnostics
SetDword:1 General;0
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeMU\Parameters
SetDword:NotificationDelay;15
SetDword:PollingInterval;15
SetDword:ShortPollingInterval;3
SetDword:MetabaseWait;10
CloseKey:

;		Disable OAB Generation from System Attendant (MAD) for E15
OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeSA\Parameters
SetDword:Disable OABScanTask;1
CloseKey:

;		Set up diagnostics for MAD
OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeSA
ReplaceString:DiagnosticsMessageFile;madmsg.dll
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeSA\Diagnostics
SetDword:9 Clean Mailbox;0
SetDword:13 OAL Generator;0
SetDword:16 Proxy Generation;0
SetDword:17 RPC Calls;0
SetDword:19 RPC-HTTP Management;0
CloseKey:

;---------------------------------------------------------------------
; performance
;---------------------------------------------------------------------
OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateKey:MSExchangeAL\Performance
CloseKey:

; uninstall the counters; no need to reinstall
CreateProcessSafe:.;unlodctr MSExchangeSA;60000

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeAL\Performance
ReplaceExpandString:Library;%s\bin\perf\%%PROCESSOR_ARCHITECTURE%%\alsperf.dll
ReplaceString:Open;OpenALSPerformanceData
ReplaceString:Collect;CollectALSPerformanceData
ReplaceString:Close;CloseALSPerformanceData
CloseKey:

CreateProcessSafe:.;unlodctr MSExchangeAL;60000
CreateProcess:%s\bin\perf\%ProcessorArchitecture%;lodctr alsperf.ini;60000

;
; Share out the address directory to allow access to proxy dlls
;
AddShareAlways:.;Address;%s\Mailbox\address;READ;"Access to address objects"

// remove the Osmium message tracking share
DeleteShareAlways:.;tracking.log;%s\tracking.log;READ;"Exchange message tracking logs"

