mecctech
asked on
Create Batch File for Server2003 to kill app and then to start app
I need assistance with writing a bat file to stop an application running on Win Server 2003 sp2
and then starting the app again. I have tried using the Taskkill command but it keeps telling me this is not a valid win32 Application......Access Denied. Any assitance would be appreciated
C:\>taskkill.exe /f /im MUMServer.exe
and then starting the app again. I have tried using the Taskkill command but it keeps telling me this is not a valid win32 Application......Access Denied. Any assitance would be appreciated
C:\>taskkill.exe /f /im MUMServer.exe
C:\>taskkill.exe /f /im MUMServer.exe
ASKER
I have tried Firedeamon and not had any success getting app to run as a service!
Where exactly is it not working, in setting up the service, or trying to start it ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@echo off
net stop MumServer
net start MumServer
Since it gets installed as a service , you can set it to start on system startup, or set it to manual, and start/stop it via batch files, scheduled tasks, vbscipt etc etc.