Thursday, June 18, 2020

How to stop Throttlestop process on windows shutdown

If you use Throttlestop to control your cpu speed, windows can give you an annoying message that says Throttlestop is preventing windows from shutting down. Well, here is a (bit involved) way of killing Throttlestop automatically before windows shuts down, so you don't get the message. First though, if you are to use this procedure, make sure the "taskbar" option is disabled in Throttlestop.

1) You need to install group policy editor in windows. Please see this PC insider procedure
https://www.thepcinsider.com/install-group-policy-editor-gpedit-windows-10-home/

2) Once that is installed, you need to make two files. One is a batch file, the other a short cut to the batch file.

a) Open an editor to edit a file named "killTS.bat" and put the following into it and save
taskkill /IM ThrottleStop.exe /f

b) Since you can't set the batch file to run as administrator in the properties, you now need to make a shortcut to the batch file and have it run the bat file as an administrator. So create a shortcut to the killTS.bat file named killTS_as_admin.bat, open properties, click advanced and select the checkbox to run as administrator

c) Now that the two files have been setup, we just need to add the killTS_as_admin.bat shortcut to run before we shutdown. We do this by starting the gpedit.msc, go into Computer configuration -> windows settings -> scripts (startup/shutdown) ->shutdown. Click shutdown, and add the path to the killTS_as_admin.bat file

d) Close gpedit ...it should now kill Throttlestop before windows shutdown so you no longer have the annoying windows warning
-The Dr.

No comments:

Post a Comment