Stop W3SVC Service

Microsoft.Windows.InternetInformationServices.2008.WebServer.StopWebServerService.Task (Task)

This task will stop the Windows Internet Information Services Web Server (W3SVC) Service when it is currently started.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.WebServer
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.InternetInformationServices.2008.ControlService Default

Source Code:

<Task ID="Microsoft.Windows.InternetInformationServices.2008.WebServer.StopWebServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.2008.WebServer" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.2008.ControlService">
<Operation>stop W3SVC</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>