How to turn off computer when overheating with HWinfo

Hi
I just wanted to teach this trick I learned using batch files and HWinfo temperature monitoring
this is link to HWinfo freeware
hwinfo32 for 32bit systems
http://www.hwinfo.com/download32.html
hwinfo64 for 64bit systems
http://www.hwinfo.com/download64.html

when you run the program you have a choice of "sensors only" or going to main program
the main program gives a report of the hardware you are using
you want to pick "sensors only"

now you will see your temperature sensors
you can go into <configure>
there you can remove any sensors you dont need to clean up the display
now look for you CPU temp sensor
when you highlight it
there will be options for the sensor
you want to check off the box for enabling alerting
then check off the box for "if sensor is > "
then enter in your max operating temp
for my Phenom II I picked 65c
then I checked off "play sound" so it will play a warning sound
also changed notification interval to 1 second to shorten shutdown time
then I checked off "run a program"
when you click on the program box
it will open a window to select your file

I created a batch file in Notepad
first open Notepad and go to file
select save as
then select "all files" in file type box
then type "shutdown.bat"
I placed it in main directory of C drive but you can put it anywhere
now in Notepad type this
"shutdown.exe -s -t 00" without the quotation marks of course
now save the file
it should save as a batch file named shutdown.bat

now in HWinfo go to the directory you have the shutdown.bat file in
change file type from exe to batch in dropdown box
you should see your shutdown.bat file in the file selection box
select that file

now when your temp goes above the temp you selected it will play a warning sound
then do an immediate shutdown

this can also be used for the video card temp in case of GPU fan failure

just have HWinfo run as a startup program
you will have to select run as sensors only on startup
but this way if you have a catastrophic cooling failure
hopefully your system will shutdown before damage occurs
your CPU will shutdown when temps are too high
but this is generally around 100c which is too high
you can set it for a lower temp that is safer
check with your CPU makers data sheet to see max operating temps
for Phenom II x 4s it is listed as 55c - 71c for C2 steppings
for C3 it is a lower temp
I picked 65c since I dont want my CPU temp to go over that
for my GPU I picked 90c since they can run hotter but you might want to pick in the 80s depending on your GPU

this is great especially if you are running a H-series contained watercooling system
since if you radiator pump fails
as soon as the temp rises it will shutdown the computer to prevent damage

I hope this comes in handy for somebody
please feel free to post questions

Regards
King SMP
 
I really like the idea of the H-series water cooling setups
I want to save my pennies up and get one
but 4ryan6 and I were discussing them and he pointed out that
whent the pump fails it is a real problem
unlike traditional air cooling there is no heat sink
when a Hyper 212+ fails for example the large heatsink will still act to cool off the CPU
along with the air flow in the case
but when a H-series fails there is no HS to help out and it can lead to CPU damage
so I wanted to figure out a way to shutdown the tower immediatley when temps got high
I did this with HWinfo but I am going to check out other monitoring programs like
CoreTemp,Realtemp,Speedfan etc
and see if it can be done in those and report back
 



thank you
when you try it later
if you have any questions
please ask me on this post or PM me
and I will be glad to help

If by doing this I can save just one computer from being damaged
then my work is done......
 

RussK1

Splendid


The H-series has a 2-5 year warranty (depending on model), so if there is a pump failure, leakage, etc Corsair will replace what has been damaged. And from my experience Corsair's cust. support is really good. Nice to take precautionary measures anyway just to avoid the hassle of replacement parts.
 
I dont like to trust in replacement warranties :)
they always get you in the fine print LOL
but that is nice to know
in April/May it is my birthday and tax refund time
so Poppa is getting a new GPU ($150 budget) and a H-series cooler($50 budget)
so I am thinking HD 6850 or HD 7770 and a H20 Antec Kuhler unless a better deal for $50 at the time
I like the Corsair but above my budget

 
Awesome FinneousPJ

There is also a way to use that same command and create an Icon on your desktop or taskbar for shutdown

this a rundown on the shutdown command
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shutdown.mspx?mfr=true

you might want to try adding in a "-f" to that batch script
that will force running programs to close

this is how to use shutdown command as an icon
http://www.howtogeek.com/howto/windows-vista/quick-tip-create-shutdown-restart-lock-icons-in-windows-vista/

I am still learning about writing batch files and the cmd line scripts
so hopefully I can come up with some other neat "tricks"

 
was just working on it
go to your shutdown.bat file
and right click>edit
change the script to
"shutdown.exe -s -f -t 00"

by adding in the "-f" it causes all running programs to terminate immediatley
you will lose your work but with a catastrophic cooling failure you wont care LOL

also by the way
that shutdown Icon can be used as a fun practical joke
for example on one of your family members computer
if they use internet explorer (or firefox,chrome etc)
changet the icon for IE and rename it
then create the shutdown Icon
but name it internet explorer or whatever you want
then use the icon image for IE

then when they go to go on the internet
the computer just shuts down LOL

this is just for a fun practical joke
not to be used in a mean or criminal manner
 

RussK1

Splendid
This thread brought me to investigate Coretemp~

it has the option for shutdown as well or executable:

coretemp.jpg


I tried both and it's pretty cool. Thanks King!
 


OEMs like Dell and HP dont have that usually
and I have had OEM computers for the longest time
this is my first custom rig and I didnt see that in my Asus M4A77TD AM3 bios
but I will look for that right now
thank you very much for letting me know about that
I just thought this was a neat trick and I am studying writing batch files
and using the cmd line interface
really powerful in the right hands

 



thanks russwood
I also have Coretemp installed and was going to check it out
so you saved me some work

I do know that Coretemp measures cpu temps from the digital sensor under the heat spreader on the cpu
while HWinfo reports the core temp and also the mobo socket sensor temp which I believe is the Tcase temp
the core temp is Tjunction and the mobo socket temp is Tcase
Intel and AMD both use Tcase for their maximum temps
so Tjunction or Core is usually 5C lower than Tcase or mobo socket temp
so make sure you adjust your thermal shutdown temp in Coretemp to provide for this
just make your shutdown temp 5c lower if using Tjunction or CoreTemp
this is one of the threads I have been studying
http://www.tomshardware.com/forum/252233-29-tjunction-tcase
a former member Uncle Webb did alot of research on temperatures though I cant find his guide anymore

I could be wrong about this
still studying

I do now that the cpu temperature is the one you want to watch and not the core temp from my reading

understanding Tcase,Tjunction,TJmax is tricky stuff so if somebody sees something wrong with info
PLEASE let me know

any good source links on this subject is greatly appreciated
 


Hi :)

I own computer and laptop repair shops and although older machines rarely had it, most modern machines (last 3 to 5 years) almost always have it.... sometimes on laptops its set automatically with no bios setting though....

Regarding your batch files, the small problem I have with that way of shutting down is that if the program itself or even windows goes weird it wont work 100% of the time... the bios will...as its at a hardware level not a software one....

All the best Brett :)
 
well Brett
this is meant in all respect to a fellow professional
I hope you understand that no insult is meant
this is just a friendly disagreement
please dont be offended :)

I checked on my Asus M4A77TD AM3 board which is a relatively newer board
http://www.asus.com/Motherboards/AMD_AM2Plus/M4A77/#overview
this board was built in 2009
and my BIOS doesnt have that option
I just went over every setting in my BIOS
and Asus is major maker of mobos
I agree that a BIOS level shutdown would be preferred over a windows software shutdown
but not every tower has that option
I do know that the Dells,HPs and other OEMs that come through MY shop
do not have that option that I have seen in any of their BIOSes
So I thought that this method was a good way for users to control shutdown temps

Brett if you dont agree that is your right and I thank you for respectfully disagreeing
alot of members are not as polite as you
and your opinion is valued
you make a very good point of the BIOS shutdown being a better way of doing it
I 100 percent agree with that
if I had that option I would definitley use it instead

I have been working on computers since my first one in 1981 (TRS-80)
and was just trying to help others learn

All the best King SMP :)
 

RussK1

Splendid


Yeah Coretemp goes by Tjunction (core) and not Tcase... which is fine and set overheat protection @ 80c which would be well below Tcase and TjMax. If Tjunction is 80c my Tcase theoretically would be around 60-65c (being generous for error).

I don't even hit these temps with IBT @ max settings albeit.


which would hit 75c Tcase)... @ 4
 


Hi King :)

I didnt realise the Asus 77 didnt have the option.... we are building some machines with 3 graphics card in at the moment on the 88 Evo board and I know they have it...interesting though :)

All the best Brett :)
 



I would think that if Tjunction or Core is 80c than your Tcase would be about 85c
I could be wrong though

edit - this is fromt that thread I linked earlier

"Since Tcase Max (maximum CPU temperature) for the Q8200 is 71c, then the corresponding Tjunction (Core temperature) is 76c, which shows the proper 5c relationship between CPU temperature and Core temperatures on a calibrated system"

so my understanding is core temp or Tjunction is going to be 5c lower than Tcase

so if you want to shutdown at Tcase of 80 then you would set the core temp at 75v

friendly disagreement
Please dont hit me :)
 



I edited my last post
so please re-read
I wanted to make sure you knew this was a respectful disagreement

I am a poor ghetto computer repairman
I work in a inner city in the Northeast USA (NJ)
so I run across many older machines and have older hardware
I just started my business about two years ago
and am still hustling and struggling to make it work
not easy
I am ALWAYS willing to listen and learn from other users especially professonals in the computer field
and your input is greatly appreciated
I hope one day to be building triple CF/SLI rigs LOL

for now I get by
Doing a windows install on a Dell Optiplex 170L P4 2.8 1gb ram Windows XP Pro with COA
for one of the secondhand thrift shops I do work for (also sell on consigment my own refurbed towers)
so as you can see I am used to OEMs from years back
most of my customers towers are more than 4-5 years old
I am happy when a Core2Duo or Athlon64 x 2 comes into the shop LOL :)

Brett-Please feel free to PM me (click on my Avatar)
I would love to ask you some questions about starting a computer repair business
I have ALOT to learn
 

TRENDING THREADS