I have to kill two processes with the same image name (system and my local user name) every day. Is there a script that I could write or do I have to go to the task manager every time windows starts up?
+1
A:
Taskkill is the command you're looking for. It can even take pretty specific filtering arguments.
marr75
2010-08-11 14:37:52
A:
A bat file would do it, and could say
taskkill /im regedit.exe
(taskkill /? has other examples)
a vbs file with this line does it too
CreateObject("Wscript.Shell").Run "taskkill /im regedit.exe", 0, False
more invisibly done than just having windows just normally running a batch file
barlop
2010-08-11 15:01:51