Stop Windows Internet Information Services Web Server (W3SVC) Service
Microsoft.Windows.InternetInformationServices.2000.WebServer.StopWebServerService.Task (Task)
This task will stop the Windows Internet Information Services Web Server (W3SVC) Service when it is currently started.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.2000.WebServer.StopWebServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.2000.WebServer" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA1" TypeID="System!System.CommandExecuter">
<ApplicationName>%WINDIR%\SYSTEM32\NET.EXE</ApplicationName>
<WorkingDirectory>%WINDIR%\SYSTEM32</WorkingDirectory>
<CommandLine>stop W3SVC</CommandLine>
<TimeoutSeconds>15</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>