Stop IIS Admin Service

Microsoft.Exchange2007.Cas.Task.IISADMIN.Stop (Task)

This task stops the service that enables this server to administer Web and FTP services. If this service is stopped, the server will be unable to run Web, FTP, NNTP, or SMTP sites or configure IIS. If this service is disabled, any services that explicitly depend on it will fail to start.

Element properties:

TargetMicrosoft.Exchange2007.ServerRole.Cas
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.Cas.Task.IISADMIN.Stop" Accessibility="Internal" Enabled="true" Target="ExLibrary!Microsoft.Exchange2007.ServerRole.Cas" Timeout="300" Remotable="false">
<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 IISADMIN /y</CommandLine>
<TimeoutSeconds>60</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>