VideoHelp Forum




+ Reply to Thread
Results 1 to 15 of 15
  1. 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.
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    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.
    Quote Quote  
  3. Member
    Join Date
    Aug 2005
    Location
    Right here
    Search Comp PM
    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.
    Quote Quote  
  4. 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.
    Quote Quote  
  5. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Are the user accounts who need to do this administrator accounts ?
    Do they have permission to do this normally ?
    Read my blog here.
    Quote Quote  
  6. 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.
    Quote Quote  
  7. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    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.
    Quote Quote  
  8. 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
    Quote Quote  
  9. Thanks again, I'll try them out later today.
    Quote Quote  
  10. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    Code:
    @echo off
    taskill.exe Notepad.exe
    Works fine here too.
    If in doubt, Google it.
    Quote Quote  
  11. Member Xylob the Destroyer's Avatar
    Join Date
    Sep 2004
    Location
    Earth, for now
    Search Comp PM
    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!"
    Quote Quote  
  12. Member
    Join Date
    Oct 2004
    Location
    United States
    Search PM
    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.
    Quote Quote  
  13. 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.
    Quote Quote  
  14. Member
    Join Date
    Aug 2005
    Location
    Right here
    Search Comp PM
    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
    Quote Quote  
  15. Member
    Join Date
    Aug 2005
    Location
    Right here
    Search Comp PM
    OK, here is the screenshot from Unlocker. No way to kill none of them without rebooting.
    Any help would be very appreciated.

    nero.jpg
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!