The Computer Guide
Computer Support Gone Awry

Protecting Your Computer from Adware and Spyware

Computer Games that Help Your Babies Learn

Is Your Computer Sick

Getting Started In Information Technology Computer Consulting

5 Critical Steps to Protecting Your Computer on the Internet

The Top Twelve Threats No Computer User Should Ignore by Kai Chandler

Buying a Used Laptop Computer

D BUST Your Computer Part 4 d

Top 10 things everyone must know about computer viruses

Building a Computer From the Bottom Up

Rackmount Computer Monitors Provide Dependability

Be Informed When You Purchase A Computer

Laptop or Desktop which computer to choose

More Computer Consulting 101 Hiring Tips Part 2 of 2

 

Tackling slow computer shutdowns

  Question : My problem is when the time comes to shut down or restart my PC - it takes about two to three minutes to shut down or restart. Please help.

Answer : Slow shutdowns can be due to various reasons. The main reason for slow shutdowns is page file clearing. This is especially indicated if the hard disk light goes on and stays on while the operating system (OS) is shutting down.

The page file is a file on the hard disk that's used as virtual memory. Virtual memory augments the random access memory on the system board. Since the page file may contain sensitive information, many OSes can be set to clear the page file when it (the OS) shuts down.

Many Web sites state this improves the security posture of an OS. They're not wrong in this, except that saying this improves the security posture of an OS is a little like saying installing 12 locks and a biometric identification system with voice analysis improves the security posture of a house.

Page file compromise is very low risk because there are many other ways to attempt to compromise the security and integrity of an OS, many of which would be easier and have better yield rates. Because of this, this option is not recommended for all but the most secure environments.

In Windows, this option is controlled by a registry entry. The registry entry in question is "ClearPageFile-AtShutdown". This key is usually located in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management section of the registry.

To attempt to turn off page file clearing, start (run) the program regedt32.exe and navigate to the HKEY_ LOCAL _MACHINE\SYSTEM\ CurrentControlSet\ Control \ Session Manager\Memory Management section. On the right pane, check if the entry "ClearPageFileAtShutdown" is visible. If it is, right-click on it and select Modify from the pop-up menu. When the EDIT DWORD window pops up, type "0" in the box under Value Data and click on the OK button. After the PC restarts, the next shutdown should take a little less time.

Another possibility is that there are programs or services that take some time to shut down. In general, it is not advisable to have too many services or programs running in the background because all these will have to be terminated before the OS can shut down gracefully.

To test for this, try closing all open programs and manually shutting down all background applications (including all firewall/anti-virus software) just before shutting down the OS.

Most background applications can be shut down by right-clicking on the icon in the taskbar and selecting Exit or some similar option. If it shuts down faster after all the background applications have been shut down, it's possible that there are one or more background applications that take a long time to shut down. If this is the case, not much can be done other than shutting down the offending application or finding a way to configure the parent program so it doesn't load a background application when it starts.

The offending application can be identified by looking through the event logs (Start --> Control Panel --> Administrative Tools --> Event Viewer). If nothing looks amiss, it can also be identified in this manner: First, shutdown a background application and then shut down the OS. Not the shutdown time. On the next restart, shut down another background application and note the shutdown time. This should be repeated for every application that runs in the background. If at any time the shutdown time improves after a background application is shut down, the same application becomes a prime suspect in the "slow shutdown time" issue.

It's also possible to decrease shutdown time by decreasing the time Windows waits for hung and slow applications to shut down.

To change this time, open the registry editor (regedt32) and navigate to the HKLM\SYSTEM\CurrentControlSet\Control section. From here, right-click on "WaitToKillServiceTimeout" and select Modify. In the box under ValueData, enter the time (in millisecond) the OS should wait until it summarily kills the service. The default value is 20,000 (20,000 milliseconds or 20 seconds).

Other settings that can be added here include "Hung-AppTimeout" and "Auto-EndTasks".

HungAppTimeout controls the amount of time the OS should wait before killing a hung or frozen application. AutoEndTasks tells the OS when to end hung applications automatically, or display the End Tasks dialogue. To add any of the two settings, right-click on the right pane and select New --> String Value. Enter the name of the setting (HungApp-Timeout or AutoEndTasks as appropriate). Next, right-click on the added setting, select Modify and enter an appropriate value.

For HungAppTimeout, an appropriate value is the amount (in millisecond) that the OS should wait before terminating an application. Suitable values for AutoEndTasks include "0" and "1 ", with "0" meaning "end hung applications automatically, do not show End Tasks dialogue" and "I" meaning "show End Tasks dialogue when the shutdown time exceeds the value stated in HungAppTimeout".

If using Internet Explorer, ensuring that the browser clears the Temporary Internet Files folder every time it shuts down (Tools --> Internet Options --> Advanced --> Empty Temporary Internet Files folder when browser is closed) and defragmenting the hard disk drive may result in faster shutdown times.

About the author:

No technical problems

 Anonymous

More Articles 

Computer Controlled LED Signs - Paula Jones
Most LED signs available today can be controlled by the operator. Computer Controlled LED signs are controlled by the operator. These are the most upcoming technology that is being spread all over the world in speed. Computer controlled LED...

Buying Guide for Laptops, Personal Computers, Notebooks - David Arnold Livingston
Are you an executive always scurrying with your suitcase during business trips? A student always on the go trying to finish as many projects as possible to gain extra credits? Or a businessperson always meeting up with your biz partners...

Computers: You CAN Master Any Program - Dina Giolitto Wordfeeder com
There was a time when I didn't think I'd ever be a "computer" person. I was in the seventh grade, taking a class in MS-DOS and learning some program called Turtle. (I know why they called it Turtle. It was pretty darned slow.) I had to key in about...

Keep Computer Training Simple. Please!! - Roger Younce
Have you ever had the experience of going to a computer training center and realized how much computer stuff you don't know? I know when I started in the computer industry in the early 90's I had trouble just remembering my password after 15...

Should You Buy A Cheap Computer Desk? - Ken Marlborough
Cheap computer desks are generally used or second-hand computer desks. Information about cheap computer desks is available in classified ads in the newspaper. It is also available in websites like e-bay, Amazon, Tigerdirect, Argos or in...

Computers, Introverts and the Information Age - Susan Dunn
Awhile ago I was researching a topic on the Internet, and found several psychologists saying that extended time spent on the Internet led to depression. Something didn't resonate with me when I read that. I spend a lot of time on the Internet and it...

Transfer The Digital Camera Images To Your Computer - Jakob Jelling
There are a few very important tasks associated with using the digital camera. The most important is of course capturing a beautiful photograph. The next most important task is that of transferring this image somewhere from where it can be...

Update your computer system with bad credit computer financing - Amanda Thompson
The moment I placed myself in front of the computer screen a whole new world beckoned me to join it. And years of strolling have proved incompetent to get me acquainted with the full panorama of computers. You have always wanted one in your home....

Computer Network Installation - Adrian Griffiths
Computer network installation can be daunting but with a few guidelines you can install a good network at your home or office. Networking allows computers to share peripherals, and allows one computer to backup the data of another. Also networks can...

Protect Your Computer System With A Comprehensive Security Policy - Cavyl Stewart
The most difficult part of creating a Security Policy for your business is determining what, exactly, to include in it. Never heard of a Security Policy before? You're not alone. But whether you are the only employee in your company or you have a...

 

tagate Content provide By sher.khalsa