I would like to create a shortcut or batch file to kill a process NorisWin32.exe
in two clicks instead of repeatedly killing it in Task Manager.
Asked
Active
Viewed 2,241 times
-1

Karel
- 75
- 1
- 2
- 9
-
3What did you try? Anything went wrong? – Frederik.L Jul 10 '18 at 04:44
-
2Try `taskkill /?`. – melpomene Jul 10 '18 at 04:49
-
easy with one click, but I'm still struggling, adding a second click somehow. – Stephan Jul 10 '18 at 06:24
-
@Stephan What if you put it inside a folder? – Frederik.L Jul 10 '18 at 07:07
-
@Frederik.L good idea. Or we declare a double-click to be two clicks `:D` – Stephan Jul 10 '18 at 07:24
-
A double-click is two clicks! _the clue is in the word double._ – Compo Jul 10 '18 at 07:38
-
@melpomene You're right. I have used a shortcut with 'taskkill.exe /IM NorisWin32.exe /F' – Karel Jul 11 '18 at 08:06
1 Answers
2
At the location you want the shortcut:
Right-Click , and choose New → Shortcut.
In the input box choose and paste any
1
of the following command strings:Powershell (GPs NorisWin32).Kill()
WMIC Process Where "Name='NorisWin32.exe'" Call Terminate
TaskKill /IM NorisWin32.exe
Click Next.
- Enter a name in the input box, e.g. Kill Noris.
- Select Finish.
- Double-Click the new shortcut as necessary.

Compo
- 36,585
- 5
- 27
- 39
-
Hey Compo, can I create this shortcut with two commands? Kill process then restart? I have an app that links my label printer to a courier label purchasing website and by their own confession the app is designed poorly where the connection is lost if windows goes to sleep. I am needing to kill the process and relaunch the app daily. Painful. – Beno Feb 24 '23 at 00:49
-
You could @Beno, however for the first you'd need to run multiple powershell commands, in the format ```powershell -nop -c "your commands here with semicolon seperators and nested doublequotes escaped"```; for the latter two, you'd need to use ```cmd /d /c "your commands here with ampersand seperators"```. I'm not however going to offer full code, as this is technically a new question. – Compo Feb 24 '23 at 01:29