Script for stop service application using command prompt

Post specialized setup scripts you have created here.
ekoindri
Posts: 14
Joined: Mon Jan 25, 2010 9:31 pm
Contact:

Script for stop service application using command prompt

Postby ekoindri » Fri Jan 29, 2010 12:17 am

There is different script in start and stop service application.

If we want to start service application using command prompt via run program. We have to add /c before type sc. But, when we want to stop it, we do not need to add /c in the first parameter.

I hope this script can help another to control service application without control service.

Code: Select all

~InstallAware Clipboard Data~
~Run Program~
~{3CDFDE23-0EEE-49E4-B0C5-569A1F1D8DE4}~
~net.exe~
~TRUE~
~stop msdtc~
~TRUE~
~SUCCESS~


regards,


//ekoindri

DanStutzman
Posts: 85
Joined: Wed Jun 10, 2009 10:36 am
Location: Philadelphia, PA
Contact:

Postby DanStutzman » Thu Feb 04, 2010 3:11 pm

Umm... you need to select "Copy as Text".


Of course I just use:

if Variable WinWordProc Equals TRUE
Run Program taskkill.exe /IM winword.exe /F /T (WAIT)
end


Return to “Sample Scripts”

Who is online

Users browsing this forum: No registered users and 11 guests