Stop MS Exchange Monitoring Service

Microsoft.Exchange2007.Common.Task.MSExchangeMonitoring.Stop (Task)

This task stops the service that allows applications to call the Exchange diagnostic cmdlets. If this service is disabled, any services that explicitly depend on it will fail to start.

Element properties:

TargetMicrosoft.Exchange2007.Component.Common
AccessibilityInternal
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction System.CommandExecuter Microsoft.Exchange2007.Account.LocalSystem

Source Code:

<Task ID="Microsoft.Exchange2007.Common.Task.MSExchangeMonitoring.Stop" Accessibility="Internal" Enabled="true" Target="ExLibrary!Microsoft.Exchange2007.Component.Common" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" RunAs="ExLibrary!Microsoft.Exchange2007.Account.LocalSystem" TypeID="System!System.CommandExecuter">
<ApplicationName>%SystemRoot%\System32\net.exe</ApplicationName>
<WorkingDirectory>%SYSTEMROOT%\temp</WorkingDirectory>
<CommandLine>stop MSExchangeMonitoring /y</CommandLine>
<TimeoutSeconds>60</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>