Elon's Blog

Stuff that may be of use to someone…

Archive for April, 2011

Improve Windows 7 Shutdown time

Posted by Elon B. on April 25, 2011

Recently my Laptop was taking almost 4 mins to shutdown, which was excessive plus annoying.

I carried out the following steps, which improved my shutdown time to mere seconds. Note the solution involves editing registry entries, which you do at your own risk, so take a backup beforehand.

1: To determine where the issue lay, go to your Control Panel and select Performance Information and Tools.  From the pane on the left select “Advanced Tools”.

2: From the options that appear select View performance details in Event Log.

3: Look for Error and Warnings related to the “Shutdown Performance Monitoring” task for more information.

Event Viewer Shutdown Performance

Event Viewer Shutdown Performance

In my case, as you can see from the image, my total shutdown time was 79935ms or 79.935 seconds. Other entries showed over twice this long.

The main point though, is that in this case 69.532 seconds, or 87% of the shutdown time was related to the “ShutdownKernelTime”.

4: To resolve this I updated the following registry entries.

(Note:  Update the registry at your own risk. You may want to back it up prior to editing it. Run regedit.exe, select FILE, then Export… and then name and save the file to your desired location. Ensure the “Export range” Option is set to All.)

Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control  and change the “WaitToKillServiceTimeout” to 1000. Where 1000 represents 1 second.

Go to  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management  and change the ClearPageFileAtShutdown data value to 0



You may have to use the registry search (Edit|Find) to see if these Values exist at other Key locations and edit accordingly.

If you ever wish to reset the ClearPageFileAtShutdown Value look here: http://support.microsoft.com/kb/314834

After applying these steps my shutdown time went to only a few seconds.

Hope this helps.

Posted in Windows 7 | Leave a Comment »

Windows Update stops working – Error Code 80071A30 – Resolution

Posted by Elon B. on April 14, 2011

I recently got this error on my Laptop, running Windows 7 (Enterprise SP1), when I tried to apply new Windows Updates.

I took the following steps to resolve the issue.

1:  Turn off / Disable any Anti-Virus and Firewall software. I had “Symantec EndPoint Protection”.

2:  Reboot machine into Safe Mode using F8 on restart.

3:  Select “Run” from the Start menu and type %windir%

(Tip: You can also access the Run command by pressing the Windows logo key Picture of the Windows logo key+R)

4:  Find and Rename Folder SoftwareDistribution to say, SoftwareDistribution_old

5:  Reboot machine into normal windows mode

6:  Run Windows update.

7:  Re-enable Anti-virus and Firewall software.

This seemed to fix the problem for me. Hope it helps

Posted in Microsoft Related, Windows 7 | Leave a Comment »

%d bloggers like this: