AppREPACK
All about Application Packaging, Virtualization and Deployment
Pages
Home
AppREPACK
Showing posts with label
delete service using script
.
Show all posts
Showing posts with label
delete service using script
.
Show all posts
Thursday, 21 June 2012
Stop & Delete Service - VBScript
Option Explicit
On Error Resume Next
Dim objWshShell
Set objWshShell = CreateObject("WScript.Shell")
objWshShell.Run "sc stop ServiceName",0,true
objWshShell.Run "sc delete
ServiceName
",0,true
Set objWshShell = Nothing
Older Posts
Home
Subscribe to:
Posts (Atom)