Windows software shutdown wont work but start menu shutdown does

Hi All
so here is a strange scenario, I have a asrock wrx80 creator motherboard and a threadripper pro 5975wx cpu. It is a full custom water cooling loop.
I would like to setup a NO MATTER WHAT unconditional power off if the cpu goes to X temp.

There is a little tool i found called “coretemp”, this allows you to do what I want.

But I have this weird anomaly on my system, go to start menu, click SHUT DOWN. and the pc will near instantly shutdown and turn off.

use windows “shutdown.exe” command on the command prompt, and it’ll shutdown windows but leave the machine running. which is no good. anbody experience this ?

So for me, I know my system well, at idle/normal load it runs around 35celsius. under the most absurd full load (prime95 for an extended period) it;; brief hit 70c but mostly itll hover around the 60c mark.

I want this failsafe so if something happens with coolland flow rate or the pump fails that the minute the cpu reaches X temp it must just turn off.

I would want to set this at like 75c… when you have hardline petg tubing and you have 95c plus temps what you get is the pipe gets “malleable” and then starts leaking at 1 or more fitting…

I had a little issue a few days ago, and just the pipe right at the cpu had this issue and a small leak happened.

so “coretemp” also has a built in function to shutdown your pc, i suspect in the backend of the app it invokes “shutdown.exe” because the behaviour is the same.
I set it at 50c to test, it shuts down… all good. but pc stays running.
Ive tried running the shutdown as administrator aswell same deal.
yet if i go to the task bar and click shutdown it;ll shutdown AND turn pc off
yes i know i just repeated myself lol

Any thoughts folks ?

Have you thought about checking the CPU Power Thermal Control in BIOS?
By default it’s set to about 115c and it should shit the machine off but could be tweaked to your preferences and see if that works?

More info in section 5 of the manual

Cheers for that problem is I don’t have the Asus sage board .
I have the ASRock wrx80 creator (V1)
But yeah I should probably check the manual …issue is to date I’ve found nothing in the bios regarding …

Can you add a -p flag after the .exe?

Or, Maybe

shutdown.exe /s

As per

the shutdown command responds to arguments, to shutdown instantly, you need to feed it a time (0) like so.

Shutdown /s /t 0

1 Like

I’ll check again , I went through all the switches
Even running as administrator.
Same deal ,windows shuts down but pc stays running
Going to check maybe switch order matters.

Thing is though ,even if you tell coretemp tool to turn pc off it does the same windows shuts down but pc remains running … as mentioned I suspect the coretemp tool simply invokes shutdown.exe

1 Like

That sounds right, yeah.

Check the power options for what the power buttons actually do :smile:

1 Like

Does anybody remember this screen?:
1

Perhaps you have some windows updates clogging the shutdown process, you could try the following command with the force flag:

shutdown.exe /s /f /t 00

1 Like

This. Typically shutdown /s /t 00 will do the trick, but adding /f (force) should kill whatever process is keeping your system up. Also, you are running this in an admin CMD prompt, right?

Also, cute trick I noticed.

shutdown.exe /s /f /t 00
shutdown.exe -s -f -t 00

work identically.