Windows 7 / Getting Started

Defining a Security Audit Policy

Defining a local audit policy in Windows Server is quite simple. Open Local Security Policy in Administrative Tools, expand the Local Policies node, and click Audit Policies.

To change an audit policy, simply double-click on the policy and check the box for when you want the audit to occur (Success, Failure, or both). Events generated by an audit policy appear in the Security event log.

Exchange Event Logging

Exchange Server 2010 generates two separate types of log entries to the event log: diagnostic logging and access auditing. In diagnostic logging, the events appear in the Application event log. In access auditing, the events appear in a new custom event log, which is named Application and Services Logs in the Exchange Auditing folder.

Both types of event logging may be viewed and set either from the Exchange Management Shell (EMS) or from the Exchange Management Console (EMC). In the case of the EMS, you will use the following two cmdlets:

Get-EventLogLevel This cmdlet allows you to access one or many of the levels set on the various logging items from any Exchange server in the organization (Exchange Server 2010).

Set-EventLogLevel This cmdlet allows you to set the value of a logging item on any Exchange server in the organization (Exchange Server 2010).

To view or set the values from the EMC, select a particular server from Microsoft Exchange On-Premises → Server Configuration and then click on Manage Diagnostic Logging Properties in the Actions pane (you can also right-click on the server and make this selection from the context menu).

Both types of event logging support a range of values. However, the meaning of that range differs between the two types of logging and will be discussed next.

Exchange Diagnostics Logging

Exchange Server 2010 enables you to view and modify the values of logging items from the EMC, but it's actually much easier to deal with from the EMS. In Table-7, you can see each item available for modification of its diagnostic logging level as well as its default level for logging.

The level of Lowest provides, as you might assume, the least level of logging available for a particular item. Most items have a default level of Lowest, but a few have a default level of Low. In Table-8, immediately following Table 29.7, we list five items where we recommend you might want to increase the default event level and what those items concern.

Each diagnostic logging item can have one of five documented values. Those values and their meanings are as follows:

Lowest (0) With a value of Lowest, the diagnostic logging item will produce the minimum amount of output possible for that item. Usually, this means that no output will be produced by that item in terms of Informational events, but that allWarning and Error events will still be generated.

Table-7: Exchange Server 2010 Diagnostics Logging Items and Their Default Event Level
IdentityDefault Event Level
MSExchange ActiveSync\RequestsLowest
MSExchange ActiveSync\ConfigurationLowest
MSExchange Antispam\GeneralLowest
MSExchange Assistants\AssistantsLowest
MSExchange Autodiscover\CoreLowest
MSExchange Autodiscover\WebLowest
MSExchange Autodiscover\ProviderLowest
MSExchange Availability\Availability ServiceLowest
MSExchange Availability\Availability Service GeneralLowest
MSExchange Availability\Availability Service AuthenticationLowest
MSExchange Availability\Availability Service AuthorizationLowest
MSExchange Cluster\MoveLowest
MSExchange Cluster\UpgradeLowest
MSExchange Cluster\ActionLowest
MSExchange Common\GeneralLowest
MSExchange Common\ConfigurationLowest
MSExchange Common\LoggingLowest
MSExchange Configuration Cmdlet - Management Shell\GeneralLowest
MSExchange Configuration Cmdlet - Management Shell\RBACLow
MSExchange Configuration Cmdlet - Remote Management\GeneralLowest
MSExchange Configuration Cmdlet - Remote Management\RBACLowest
MSExchange Configuration Cmdlet - Control Panel\GeneralLowest
MSExchange Configuration Cmdlet - Control Panel\RBACLowest
MSExchange Configuration Cmdlet - Management Web Service\GeneralLowest
MSExchange Configuration Cmdlet - Management Web Service\RBACLowest
MSExchange Configuration Cmdlet - Management Console\GeneralLowest
MSExchange Configuration Cmdlet - Management Console\RBACLowest
MSExchange Extensibility\Transport Address BookLowest
MSExchange Extensibility\MExRuntimeLowest
MSExchange EdgeSync\SynchronizationLowest
MSExchange EdgeSync\TopologyLowest
MSExchange EdgeSync\SyncNowLowest
MSExchange TransportService\TransportServiceLowest
MSExchange Web Services\CoreLowest
MSExchange IMAP4\GeneralLowest
MSExchange Messaging Policies\JournalingLowest
MSExchange Messaging Policies\AttachFilterLowest
MSExchange Messaging Policies\AddressRewriteLowest
MSExchange Messaging Policies\RulesLowest
MSExchange Messaging Policies\PrelicensingLowest
MSExchange Messaging Policies\PolicyApplicationLowest
MSExchange Messaging Policies\JournalReportDecryptionLowest
MSExchange Messaging Policies\RightsManagementLowest
MSExchange Anti-spam Update\HygieneUpdateLowest
MSExchange Mailbox Replication\ServiceLowest
MSExchange Mailbox Replication\Mailbox MoveLowest
MSExchange Management Application\ShellLowest
MSExchange Management Application\ConsoleLowest
MSExchange Management Application\ProvisioningAgentLowest
MSExchange Management Application\ComponentInfoBasedTaskLowest
MSExchange Management Application\AdminAuditLogLowest
MSExchange OWA\FormsRegistryLowest
MSExchange OWA\CoreLowest
MSExchange OWA\ConfigurationLowest
MSExchange OWA\ThemesLowest
MSExchange OWA\SmallIconsLowest
MSExchange OWA\ProxyLowest
MSExchange OWA\TranscodingLowest
MSExchange OWA\ADNotificationsLowest
MSExchange OWA\InstantMessageLowest
MSExchange POP3\GeneralLowest
MSExchange Process Manager\ProcessManagerLowest
MSExchange Repl\ServiceLowest
MSExchange Repl\Exchange VSS WriterLowest
MSExchange Search Indexer\GeneralLowest
MSExchange Search Indexer\ConfigurationLowest
MSExchange Store Driver\GeneralLowest
MSExchange Store Driver\MeetingMessageProcessingLowest
MSExchange Store Driver\OofHistoryLowest
MSExchange Store Driver\ApprovalLowest
MSExchange Store Driver\ContentAggregationLowest
MSExchange Topology\Topology DiscoveryLowest
MSExchange Unified Messaging\UMWorkerProcessLowest
MSExchange Unified Messaging\UMCoreLowest
MSExchange Unified Messaging\UMManagementLowest
MSExchange Unified Messaging\UMServiceLowest
MSExchange Unified Messaging\UMClientAccessLowest
MSExchange Unified Messaging\UMCallDataLowest
MSExchange Unified Messaging\MWI GeneralLowest
MSExchange ADAccess\GeneralLowest
MSExchange ADAccess\CacheLowest
MSExchange ADAccess\TopologyLow
MSExchange ADAccess\ConfigurationLowest
MSExchange ADAccess\LDAPLowest
MSExchange ADAccess\ValidationLow
MSExchange ADAccess\Recipient Update ServiceLowest
MSExchange ADAccess\Site UpdateLowest
MSExchange ADAccess\Exchange TopologyLowest
MSExchange ADAccess\StatisticsLowest
MSExchangeApplicationLogic\TextMessagingLowest
MSExchangeApplicationLogic\ServerPickerLowest
MSExchangeAL\Ldap OperationsLowest
MSExchangeAL\Service ControlLowest
MSExchangeAL\Attribute MappingLowest
MSExchangeAL\Account ManagementLowest
MSExchangeAL\Address List SynchronizationLowest
MSExchangeIS\9000 Private\Transport GeneralLowest
MSExchangeIS\9000 Private\GeneralLowest
MSExchangeIS\9000 Private\Transport SendingLowest
MSExchangeIS\9000 Private\Transport DeliveringLowest
MSExchangeIS\9000 Private\Transfer Into GatewayLowest
MSExchangeIS\9000 Private\Transfer Out Of GatewayLowest
MSExchangeIS\9000 Private\MTA ConnectionsLowest
MSExchangeIS\9000 Private\LogonsLowest
MSExchangeIS\9000 Private\Access ControlLowest
MSExchangeIS\9000 Private\Send On Behalf OfLowest
MSExchangeIS\9000 Private\Send AsLowest
MSExchangeIS\9000 Private\RulesLowest
MSExchangeIS\9000 Private\Storage LimitsLowest
MSExchangeIS\9000 Private\Background CleanupLowest
MSExchangeIS\9000 Private\DS SynchronizationLowest
MSExchangeIS\9000 Private\ViewsLowest
MSExchangeIS\9000 Private\DownloadLowest
MSExchangeIS\9000 Private\Local ReplicationLowest
MSExchangeIS\9001 Public\Transport GeneralLowest
MSExchangeIS\9001 Public\GeneralLowest
MSExchangeIS\9001 Public\Replication DS UpdatesLowest
MSExchangeIS\9001 Public\Replication Incoming MessagesLowest
MSExchangeIS\9001 Public\Replication Outgoing MessagesLowest
MSExchangeIS\9001 Public\Replication NDRsLowest
MSExchangeIS\9001 Public\Transport SendingLowest
MSExchangeIS\9001 Public\Transport DeliveringLowest
MSExchangeIS\9001 Public\MTA ConnectionsLowest
MSExchangeIS\9001 Public\LogonsLowest
MSExchangeIS\9001 Public\Access ControlLowest
MSExchangeIS\9001 Public\Send On Behalf OfLowest
MSExchangeIS\9001 Public\Send AsLowest
MSExchangeIS\9001 Public\RulesLowest
MSExchangeIS\9001 Public\Storage LimitsLowest
MSExchangeIS\9001 Public\Replication Site FoldersLowest
MSExchangeIS\9001 Public\Replication ExpiryLowest
MSExchangeIS\9001 Public\Replication ConflictsLowest
MSExchangeIS\9001 Public\Replication BackfillLowest
MSExchangeIS\9001 Public\Background CleanupLowest
MSExchangeIS\9001 Public\Replication ErrorsLowest
MSExchangeIS\9001 Public\DS SynchronizationLowest
MSExchangeIS\9001 Public\ViewsLowest
MSExchangeIS\9001 Public\Replication GeneralLowest
MSExchangeIS\9001 Public\DownloadLowest
MSExchangeIS\9001 Public\Local ReplicationLowest
MSExchangeIS\9002 System\RecoveryLowest
MSExchangeIS\9002 System\GeneralLowest
MSExchangeIS\9002 System\ConnectionsLowest
MSExchangeIS\9002 System\Table CacheLowest
MSExchangeIS\9002 System\Content EngineLowest
MSExchangeIS\9002 System\Performance MonitorLowest
MSExchangeIS\9002 System\Move MailboxLowest
MSExchangeIS\9002 System\DownloadLowest
MSExchangeIS\9002 System\Virus ScanningLowest
MSExchangeIS\9002 System\Exchange WriterLowest
MSExchangeIS\9002 System\Backup RestoreLowest
MSExchangeIS\9002 System\Client MonitoringLowest
MSExchangeIS\9002 System\Event HistoryLowest
MSExchangeIS\9002 System\Database Storage EngineLowest
MSExchangeMailboxAssistants\ServiceLowest
MSExchangeMailboxAssistants\OOF AssistantLowest
MSExchangeMailboxAssistants\OOF LibraryLowest
MSExchangeMailboxAssistants\Resource Booking AttendantLowest
MSExchangeMailboxAssistants\Email_Lifecycle_AssistantLowest
MSExchangeMailboxAssistants\Junk Email Options AssistantLowest
MSExchangeMailboxAssistants\Conversations AssistantLowest
MSExchangeMailboxAssistants\Approval AssistantLowest
MSExchangeMailboxAssistants\FreeBusy AssistantLowest
MSExchangeMailboxAssistants\ELC LibraryLowest
MSExchangeMailSubmission\GeneralLowest
MSExchangeMU\GeneralLowest
MSExchangeSA\Clean MailboxLowest
MSExchangeSA\OAL GeneratorLowest
MSExchangeSA\Proxy GenerationLowest
MSExchangeSA\RPC CallsLowest
MSExchangeSA\RPC-HTTP ManagementLowest
MSExchangeTransport\SmtpReceiveLowest
MSExchangeTransport\SmtpSendLowest
MSExchangeTransport\DSNLowest
MSExchangeTransport\RoutingLowest
MSExchangeTransport\LoggingLowest
MSExchangeTransport\ComponentsLowest
MSExchangeTransport\RemoteDeliveryLowest
MSExchangeTransport\PickupLowest
MSExchangeTransport\CategorizerLowest
MSExchangeTransport\PoisonMessageLowest
MSExchangeTransport\MessageSecurityLowest
MSExchangeTransport\TransportServiceLowest
MSExchangeTransport\Exch50Lowest
MSExchangeTransport\ProcessLowest
MSExchangeTransport\ResourceManagerLowest
MSExchangeTransport\ConfigurationLowest
MSExchangeTransport\StorageLowest
MSExchangeTransport\AgentsLowest
MSExchangeTransport\Transport Address BookLowest
MSExchangeTransport\OrarLowest
MSExchangeTransport\ShadowRedundancyLowest
MSExchangeTransport\ApprovalLowest
MSExchangeTransport\TransportDumpsterLowest
MSExchangeFDS\GeneralLowest
MSExchangeFDS\FileReplicationLowest
MSExchangeTransportSyncCommon\GeneralLowest
MSExchangeTransportSyncManager\GeneralLowest
MSExchangeTransportSyncWorker\GeneralLowest
MSExchange OutlookProtectionRules\Outlook Protection RulesLowest
MSExchange Provisioning MailboxAssistant\Provisioning Assistant GeneralLowest
MSExchangeThrottling\GeneralLowest
MSExchangeThrottlingClient\GeneralLowest

Table-8: Some Diagnostic Logging Items to Increase from Default

ItemDescription
MSExchangeIS\9000 Private\LogonsAudits events relating to mailbox access
MSExchangeIS\9000 Private\Send AsAudits events relating to using the Send-As functionality of the Outlook client
MSExchangeIS\9000 Private\Send On Behalf OfAudits events relating to using the Send-On-Behalf-Of functionality of the Outlook client
MSExchangeIS\9000 Private\Storage LimitsAudits events related to mailboxes exceeding their storage quotas
MSExchangeIS\9002 System\Move MailboxAudits events related to moving mailboxes between servers and mailbox databases

Low (1) A value of Low indicates that additional warnings and errors may be generated by the diagnostic logging item, plus some Informational details about the processing that occurs for that item.
You should always start your diagnostics with a level of Low and work up from there.

Medium (3) A value of Medium indicates that more detailed information should be reported than that with Low.

High (5) More detailed information is reported than with Medium. Also support information (often requested by Microsoft Customer Support Services) begins to be output at the level of High.

Expert (7) This level of information can be overwhelming with the modules that implement it. The information is rarely of use to anyone other than Microsoft Customer Support Services. Many modules may not implement the Expert level to produce more information over the High level.

Older versions of Microsoft Exchange Server also supported another value, Field Engineering (15), but that always had to be set using a Registry editing tool. It is likely that the level still exists. However, since it isn't documented, it isn't supported.

If you have increased the value of the logging level to assist in diagnosing a problem, you should always restore the value to the default when you are done in order to reduce the overall load on your Exchange server.

[Previous] [Contents] [Next]