Hi all i am trying to write a batch file (or similar) that will allow me to stop a troublesome service only whilst a particular program is run. here is what i have;
net stop imperoclientsvc
"C:\Documents and Settings\All Users\Desktop\SuccessMaker Enterprise.lnk"
net start imperoclientsvc
Now i know that all this does is stop the service, launch the program but then restart the program straight away. What i require is for the program to work with the service stopped but be restarted when i finish using the program. The other thing i should add is that it will be a student logging on and running the program so they will have restricted access, so if can't be done via a bacth file but could be done with some magic within the program shortcut icon that would be great too.
Please help if you can. As always thanks in advance.