Sub StopService(ServiceName)
strComputer = "."
Dim objWMIService, oService, oServiceItm
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colListOfServices = objWMIService.ExecQuery("Select * From Win32_Service WHERE Name = '" & ServiceName & "'")
For Each objService in colListOfServices
If objService.State <> "Stopped" Then
objService.StopService()
End If
Next
End Sub</Script></ScriptBody>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Recovery>