Microsoft
Software
Hardware
Network
Question : Script needed to close program and stop/start service
I'm new to writing batch/script files
I need a script to close a program (if open), then stop the service, then start the service and last open the program.
I want to run this on the windows built in task scheduler which I know how to setup once I have the script/batch file.
Can someone help me out?
Answer : Script needed to close program and stop/start service
taskkill /f /fi "imagename eq <program_exe_process_name"
net stop "service name"
net start "service name"
call program_exe
Random Solutions
Is it possible to solve this problem.
SBS 2003 R2 remote web workplace
Bluescreen with Windows has recovered from an unexpected shutdown.
Monitor Changes Made To Switch Configs
VB Script: Output specific text from text file
Want to create 3 separte div ids
Asterisk Chanspy and G729 License Issue
Maintaining line breaks
Access VBA MS Graph Chart 8 object
Which facility to select within Windows environment