I have a microsoft RMS (point of sale type) system in our store that likes to keep running in the background after it is shut down, even though it isn't suppose to do this. Trying ot reopen it will result in nothing happening at all since an instance of it is still running. I can stop it in task manager and start the program fine afterwards. Unfortunately my fellow employees can't seem to recall how to do it, so I'm trying to make a shortcut to perhaps a batch file or something similar that will automatically shut the process down when this happend with a simple double click. Anyone willing to write something for me?
Thanks in advance.
+ Reply to Thread
Results 1 to 15 of 15
-
-
I don't have time to write you something, but you may find all the parts you need in this set of utilities
http://www.snapfiles.com/reviews/PsTools/pstools.html
Even better, download this little guy
http://members.ozemail.com.au/~nulifetv/freezip/freeware/taskill.exe
Create a file called "Kill.bat" (or whatever you want) in the same folder that you store taskkill.exe. Use notepad to do this.
In the bat file type
@echo off
taskkill.exe executable_name_with_extension
Where executable_name_with_extension is the full name of the process you want to kill.
Drag a shortcut to the desktop. Double-click the shortcut to kill the process.
If this is run while the application is supposed to be running, it will kill it, so use with care.Read my blog here.
-
Great, I was about to ask the same thing. But in my case, I can't kill process from task manager, it just does nothing at all.
So, will this procedure work for me, guns1inger?
Thank you very much. -
sadly taskkill doesn't seem to work at all for this. It has no effect what-so-ever despite following your directions to the letter. I'll have to try the other one when I get some time to figure it out.
Thanks anyway. -
yes, there is only one main user account with admin rights. Usually when it hang I just open task manager, highlight the process and click end task and it works fine. Not sure why taskkill can't do the same.
-
Just check your bat file. There is a typo (it was late last night) in my first post.
It should be @echo off
taskill.exe executable name
I miss-spelled taskill.exe as taskkill.exe
The echo off hides the error message, so it appears to run but do nothing. I have tested it here and it does work for me.Read my blog here.
-
Here is a script that will terminate a process. The example below will close notepad.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'Notepad.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next -
Thanks again, I'll try them out later today.
-
have you tried to uninstall the program in question and then re-installing it?
"To steal ideas from one person is plagiarism; to steal from many is research." - Steven Wright
"Megalomaniacal, and harder than the rest!" -
if this is anything like the "kill" command I used to use, then it will stop the process even when going into task manager, selecting, and hitting the "end process" button fails.
-
Yep it works fine now.
Uninstalling and reinstalling the program won't help. It's one of those well know bugs that microsoft will never get around to fixing. Besides this software is so tempramental I never want to reinstall it. It took the technician that set it up 12 hours to get it all running correctly. -
I’m sorry for responding after 5 days, I even had no time to take a screenshot to better explain my problem yet. So I will try to explain my best.
Guns1inger, your method worked just fine at work, killed the process and closed the app. I’m talking about Nero Burning Rom.
But did not work at home, which is where I have the problem. It started happening just of a sudden. I finished my burning session for the day, and closed Nero. Next day, Nero would no open, so I started looking what was the problem.
In task manager, Nero was not running as an app, but there were 2 processes running, both called nero.exe. I could not kill them from task manager.
Rebooted computer, and of course, it worked, but same thing next day. I have uninstalled and made a new clean installation of Nero for three times now, cleaning the registry after uninstalling, and it has not worked, either.
I tried unlocker, and this is what I’d like to screenshot but did not have time. Unlocker shows a window with about 16 nero.exe processes running, which are half pid 3042, for instance, and the other half pid 2680, and all of them point the path, duplicately, to several file.dll of Nero, I can remember copyDVD.dll right now. Not one of all this items can be killed.
By now, I’m not closing Nero from the last reboot, can’t find a better way to fix this, since I don’t know what’s happening, neither much time to investigate.
If this makes sense to you, you may want to shed some light on me, or if this screenshot would help much, I’m trying to u/l it on weekend.
Many thanks
Similar Threads
-
How to automate fcp to xml conversion
By jeromedroz in forum MacReplies: 1Last Post: 18th Jun 2013, 12:11 -
Can I automate some processes in Virtauldub mod?
By alc112 in forum Newbie / General discussionsReplies: 2Last Post: 26th Jun 2010, 08:53 -
System Running Slow when running dvdshrink
By mn072065 in forum ComputerReplies: 7Last Post: 24th Mar 2009, 19:59 -
How do you automate DVRMS Toolbox
By Datahead in forum Media Center PC / MediaCentersReplies: 0Last Post: 3rd Nov 2007, 09:55 -
Automate chapters?
By Neisse in forum Authoring (DVD)Replies: 7Last Post: 27th Jul 2007, 18:38