If Your Computer… Especially a Laptop… Shuts Down In an Instant

Written by:  • Edited by: Rhonda Callow
Updated Mar 5, 2010
• Related Guides: Barnes & Noble | Movie Maker | XP

If your computer has been running fine but suddenly shuts down in an instant, as if somebody turned off the power switch, there’s a good chance that happened. The CPU may have overheated and an automatic thermal switch turned it off.

When a CPU runs at full throttle for a long period… maybe just a few minutes… heat builds up. Rendering a video file is one of the tasks that uses as much CPU power as it can get, so it can finish making the new movie file as quickly as possible. That’s fine if the cooling system for the computer is also able to run at maximum efficiency and is capable of sucking away the heat generated. Luckily, if the heat build-up gets too high, there’s a circuit breaker that instantly shuts down the computer to protect it from damage.

If this happened to you, it's time to learn about the "Affinity" setting

It happens to me often. I first learned about such heat buildup and the CPU affinity setting at Barnes & Noble. Sitting in a big cushy chair, starting a video saving or rendering with Movie Maker, and putting the laptop on the seat so it was nestled as I stand on the mocha line… to return to find the rendering didn’t finish, system shut down, and the seat cushion feeling hot. After a few times I realized the cushy chair reduced whatever air flow the laptop needed to keep it from overheating. 

Fig. 1
click to enlarge
Open your Task Manager [Figure 1]  by right clicking anyplace on the task bar, the long bar with the start button and icons on it, usually at the bottom of your screen. It’s the same on XP and Vista.
task manager image 2
click to enlarge

The Affinity setting works on one process at a time. Find the process that is using most of the CPU energy. It could be Movie Maker, the Expression Encoder 2, or another video editing or conversion app that needs lots of CPU cycles to create a new video file [Figure 2]. Right mouse click on the line item and select ‘Set Affinity’. 

If your system has 2 or more CPU’s, they’ll be listed individually.

Processor Affinity Image 3
click to enlarge
Simply uncheck one and press the OK button to stop the process from using it. You can do it while the rendering is happening.  It’ll result in the computer using only half the computer power and generate half the heat. Don’t worry about making a mistake and unchecking them both, as the system won’t let you.

As dust builds up around the cooling fan, and a computer gets older and tired, the heat generation stays up there but the cooling efficiency goes down. As you become busier with video work and do more renderings, you might find yourself turning off one of the CPU’s on a regular basis. At system startup, the CPU will return to the fully on setting.

If your system is overheating and has only one CPU, it could be time to clean the dust from the fans or aid them by having an external fan blowing on it as it renders a movie.

On a positive note, I find my renderings don’t need much more time to finish when using only one of the CPU’s. A side benefit of using just one of the CPU’s is that the other is available to let me easily do other things as the rendering goes… internet surfing, email, IM, writing articles for Bright Hub, etc.


Comments

Showing all 45 comments
 
PapaJohn Jan 20, 2012 2:40 AM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
the CPU could overheat in a few minutes.... especially if the fan is clogged or broken
Imelda Malong Jan 19, 2012 9:28 AM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
what if .... i have just turned the computer on and after a few minutes it just shuts down.
J Mottjr Dec 14, 2011 5:09 AM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
Also, I learned that running movies made it run hot. It's five years old and maybe the new computers are capable of running them but mine struggles to do so.
J Mottjr Dec 14, 2011 5:06 AM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
My HP Pavilion would boot-up, then after2-3 minutes, shut down totally. It is now working. I changed the battery (new and cheap from ebay) and took a can of moisture-free dust remover and blew air through every port and vent. After that, it ran just like new.
fasiouer Nov 22, 2011 1:29 PM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
i think you 'd better check it and see if it is injected by some threats..
PapaJohn Nov 16, 2011 5:09 PM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
Hi Kruti... wish I could help but I'm not a hardware expert and don't know any good support sites to refer you to.
Kruti Nov 14, 2011 7:21 PM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
PapaJohn - i have been facing problems with my computer since 1month..of system re-booting. My engineer suggested i replace the motherboard since it got shot. I did that. again, the same problem, he then suggested with replacing Power Supply and Ram to 1GB. I did that! Now, it doesnt get switched off casually, but it only does when i watch a normal saved video in VLC player or Windows Media Player on my C-DRIVE.. please help!!
PapaJohn May 12, 2011 12:12 PM
Hi Anonymous....
You don't include enough info to even guess at the reason.... try searching for websites about the brand and model of your laptop.... and include what facebook app you are using when it shuts down.
Alex May 11, 2011 9:25 PM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
Papa john..Why is my laptop curently shutdown???I was open app in FB...
PapaJohn Apr 24, 2011 1:21 PM
Hi Fiki....
Heat can build up over time... and over 4 days the air temp around the computer can change, as is the amount of heat your generating by the computer things you're doing.

There's not enough info in your comment to make a good assessment of your particular conditions.... try different things to explore the issue.
Fiki Apr 24, 2011 5:10 AM
My Laptop overheat
there are 4 days and night I don't shutdown my lap, I was working day and night without external fan, so just now some problems occurred, my lap suddenly shutdown automatically.
what should I do?
PapaJohn Mar 13, 2011 2:22 PM
Hi Cliff....
Maybe you can use the settings within Pinnacle Studio combined with the affinity settings, such as turning off the default option of letting it automatically do background rendering.
Cliff Mar 13, 2011 11:07 AM
Affinity Settings in Pinnacle Studio
PapaJohn - Seems when I try to set affinity settings for Pinnacle Studio processes, it is shortly reset back to all CPUs. My guess is that Pinnacle Studio software is over-riding the setting??
PapaJohn Mar 4, 2011 1:46 AM
Hi Cliff...
How about running with just one of the cores at a time and seeing if you experience any differenes from one to the others?
Cliff Mar 3, 2011 10:23 AM
I have experienced same problem
I have a HP Pavilion dv7 with Intel Quad Core CPU (Q9000). I had same problem after about 15 months of use. Before that, the laptop ran just fine and that includes demanding cpu applications such as HD video rendering. I did notice the bottom of the laptop would get extremely hot but never experienced a shutdown problem in the past. Once the problem started occurring, I simply lifted the lap top off the table to provide better airflow to the fan vents. That seemed to help a lot, reducing the shutdown occurrences. I'm now running some video files for the first time since experiencing this problem and using Pinnacle Studio Plus 12. It will shut down almost immediately when performing some high CPU task (i.e. slow motion video effects). This happens shortly after laptop start-up, sand the bottom doesn't even feel very hot. I simply reduced the CPU limits in the Power Options to 50% and that seems to correct also. Because the bottom isn’t hot at shutdown, I'm wondering if the thermal cutout switch is bad or maybe if one of the CPUs has a problem? Are there independent switches for each CPU?
PapaJohn Feb 21, 2011 12:54 PM
I'd start by....
Vacuuming the fan outlet so loose stuff isn't blown into the computer... putting the computer in a cooler place... and blowing on it with an external fan, like one of those little stands that have fans to blow up toward the bottom of the laptop. It can be running as you do these, maybe stop watching online videos a while.

The first round is just to test it to verify overheating is the cause.
Rajat Feb 21, 2011 9:12 AM
Laptop shuts down due to online videos
Thanks for the reply. Should I just get compressed air and try to blow some into the fan. Or do you recommend anything else ? Does it matter if the machine is running while I do this. Or do I need to shut it down first.
PapaJohn Feb 20, 2011 11:02 PM
Hi Rajat....
When an app runs out of memory the app might shut down but not the whole computer. Overheating flips a switch in the CPU and shuts everything down instantly.

Watching a high quality video online is something that can use 100% of the CPU and result in over-heating. I'd suspect the heat situation first.
Rajat Feb 20, 2011 8:35 PM
Laptop shuts down due to online videos
Hi! I am having issues viewing videos online, my laptop shuts down unexpectedly. I think it has to do with overheating or memory usage, but I am at a loss as to how to research as the shutdown happens at different times. Thanks very much for your help.
PapaJohn Jan 2, 2011 4:05 PM
Hi mdshah....
check your Control Panel > Power Settings and make sure your hard drive or system isn't timed to shut down earlier than you need it.

Movie rendering isn't considered activity by Windows so any programmed auto shutdown will effect it. That's why some report resolving it by playing music during the rendering.... playing music is a recognized activity.
mdshah Jan 2, 2011 3:52 PM
laptop shutdown despite motherboard changed
motherboard replaced , fan cleaned, cooler used but shutdown is frequent
Greg Sep 16, 2010 5:58 AM
OMG THNX
Thanks so much, I have a quad core, so have my video editing program set to 2 cores. This has helped so much because my laptop always used to shut down. And I had to try and render a 9GB file but thnx to you it'll work no worries. Your my Jesus :)
Chirag Sep 11, 2010 7:40 AM
Thanks a lot!!
This trick helped me a little to play games :)
PapaJohn Jul 21, 2010 2:49 AM
Hi nour....
when you look at the Performance tab and see the CPU Usage History chart at the top.... if you only see one long chart and not two or more, then you don't have a dual or more core and can't reduce the affinity.
nour Jul 21, 2010 2:00 AM
set affinity
opened task manager, then processor, right click on any file, i could not find the set affinity.

please help

thanks
PapaJohn May 11, 2010 12:28 AM
Kevin.... I thought that too...
until I checked it running one 1 core versus 2 and found the rendering time pretty much the same.
kevin May 10, 2010 4:38 PM
too slow
if its only 1 cpu its take alot of time to render the movie
Mike May 8, 2010 2:40 AM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
Thanks Man.. very helpful.. you got it in a bingo!
PapaJohn Apr 15, 2010 12:43 PM
Ajay....
My article has all l I can suggest.... if none of them work then you have other issues than overheating, and you need to get help from elsewhere.
AJAY KUMAR Apr 15, 2010 4:26 AM
MY COMPUTER CPU IS SHUTTING DOWN REGULARLY
PLEASE TELL ME THE REMEDY MY COMPUTER CPU IS SHUTTING DOWN AND TO SET RIGHT WHAT I HAVE TO DO AND IT IS VERY URGENT
PapaJohn Feb 25, 2010 11:13 PM
my big older laptop shuts down...
when I play an HD video on vimeo... when I forget to blow on it with the higher powered external fan.
sujan Feb 25, 2010 5:36 PM
My Computer shuts down automatically when i play a video file
Thanks for your advice. Windows vista 64 bit Acer Aspire 6920 model shuts down automatically when a video file file is being played online...
GOUTHAM Feb 16, 2010 12:12 PM
NICE NOTE
thanks for advise
PapaJohn Feb 6, 2010 1:24 AM
Simon, if it's really the whole computer
shutting down in an instant, it could be at any time during the rendering.

I lay a big fan down next to my laptop and have it blow hard at it.... if not, it'll turn off pretty quickly, or it'll take a while to reach the point that it's overheated.

I don't mean that Movie Maker can't finish saving the movie if it doesn't overheat. If your issue isn't overheating, see my website's (www.papajohn.org) Problem Solving > Can't Save a Movie page.
Simon Feb 6, 2010 12:02 AM
PC shuts down during the saving of a video using windows movie maker
I have saved more than 80 videos using the windows movie maker. Most recently a project that should have been completed in less than six hours has lasted me four days. The problem that I do not seem to understand or solve is my PC shutting off at different intervals of 50%, 63% and even 92%. The length of the video is 10 minutes and 18 seconds with simple fade in fade out effects and music, nothing special, that is. Please advise. Thanks
PapaJohn Oct 25, 2009 12:42 PM
Response to Comments....
Thanks to those who made other suggestions... such as Nilus for the 'priority' setting. And to those saying thanks.

Sorry Amy and others who were looking for more info and didn't get a response... I now get automatic notifications of new posts so things won't be unresponded to for such long periods. Hope you found the help you need at newsgroups, forums or at my website.

Only computers with multiple CPU cores will have the affinity option... it's normal not to have it. For those who ask what else it might be, here's one.

Some video/movie related tasks are not considered by Windows to be activities. For example, if you are saving a Movie Maker project to a movie file (DV-AVI or WMV), and your know it'll take a while so you let it render by itself during dinner, you might come back to find the computer shut down.

The power options (in the Control Panel) tell it when to kick in the screen saver, and then turn off the hard drive. If the drive stops you think the computer is down... I guess it pretty much is.

You can change the settings to stop the computer from turning off due to inactivity... or you can give it something else while it's saving the movie, something it considers as activity. Playing music in Windows Media Player is one it recognizes... dinner music could help your movie rendering finish.
Ratheesh Kn Oct 25, 2009 9:12 AM
RE: If Your Computer… Especially a Laptop… Shuts Down In an Instant
Can any one suggest me why my lap is automatically shutting down. Its a Acer Aspire 4730z.
Amy Aug 25, 2009 7:31 PM
Problem with windows movie maker
Excuse me but I have a problem with windows movie maker that is not meantioned above can you help me?.

You see the problem is my laptop did go off but now I can`t get back on to windows movie maker it comes up with....

"another user is running windows movie maker on this computer. Please close the other session of windows movie maker before starting again".

Please help me im only 14!.
Greg Aug 13, 2009 6:59 PM
Thanks!
My PC processed video files just fine when I bought it 2 years ago, but recently I have been having the problem you describe....the affinity trick (though it flies in the face of logic a tad!) worked a treat, and as you say there is no appreciable delay in the work being completed....you have my thanks.
Nilus Aug 13, 2009 1:01 PM
Priority
You will only get the affinity option if you have more than one cpu-core. I fail to see however how this would even help? since very few computers actually use more than one core for a single application.
Something that you can use though which I myself use to lower heat/power consumption is to lower an applications “priority”, as default is it set to “normal” and changing it to “below normal” or “low” can help a lot : )
Important: do not use the “real time” option since it can/will make the system instable.
Nazim Aug 2, 2009 2:03 PM
Thank you.
Thank you. Excellent piece of advise. Appreciated.
Henrique Ko Jul 24, 2009 5:38 PM
Computer lacks affinity choice in task manager
Just like Jessica, in none of my tasks have any of the Affinity options. What should I do?
sakthi Jul 14, 2009 12:41 AM
pc shutting while rendering in ae
really i was frustrated for the past one week...because my pc shuts while i render aftereffects file..i couldnot find the supposed problems ..i think it would be processor or mother board or ram etc..one thing i was sure that when the processing power is over it happens...

and thanks what u gave suggestion above would help me..please tell me is there could be other causes for my problem

my system spe
amd phenom quad coe
asus m2nvm hdmi nvidia chipset
8 gb ram(4x 2 gb(one ram in this has different frequency ..3 were 400 and one is 333 MHz*****
Nvidia graphics card 1gb
nvidia

please help me if there could be any problems with this..thanks with regards

sakthi
dgl,TN,India
tkt Jul 7, 2009 6:44 AM
suddenly shuts down
i have a windows 7 32-bit . after i turn it 1 hour it turn off . i check the cpu and every thing. i dont find anything . plz any one help me
Jessica Jun 28, 2009 11:03 PM
Computer lacks affinity choice in task manager
I attempted to follow these steps as my computer is shuttind down when streaming, but when I went to the task manager and click on iexplore, I do not get an Affinity option. What else can I do?
 
blog comments powered by Disqus
Email to a friend