Boot Times - Monitor with Event Viewer

Overview
Windows 7's Event Viewer has a new category of event logs that are known as Applications & Services Logs. This new category has a series of sub-categories that can be used to keep an eye on important events in the operating system.

Most of these sub-categories have an event log type named Operational, which is used to monitor events that can be used for diagnosing problems with your computer.

One of the sub-categories is titled Diagnostic-Performance and nested within it is an operational log that looks after the boot performance monitoring. The Event IDs related to this log are numbered 100 through 110 and by investigating all the Event ID 100 events, you can keep track of how long it takes your system to boot up, while Event IDs 101 through 110 will give you an indication of how your boot times have degraded since Windows was first installed.


Launching Event Viewer

There are two ways in which you can start Windows 7's Event Viewer:
  1. Navigate through Start/System & Security/Administrative Tools/Event Viewer.
  2. Click Start and type Event in the Search field then press Enter when you see Event Viewer highlighted at the top of the list under Programs.
EV1.png]​





Creating a Custom View
1. Go to the Action menu in the right-hand pane of the main Event Viewer window and click on Create Custom View, which will open the Create Custom View window.

2. Make sure the Logged option is set to the default setting of Any Time and ensure all the Event Level check boxes are checked.

EV2.png
3. Next, select the By Log option button if it isn't already selected and click the drop-down arrow and choose Applications & Services Logs.

EV3.png
4. Drill down through Applications & Services Logs/Microsoft/Windows/Diagnostics-Performance.

EV4.png
5. Expand the Diagnostics-Performance branch and check the Operational check box.

EV5.png
6. Click on a blank space in the main Event Viewer window then type 100 in the Includes/Excludes Event IDs box.

EV6.png
7. Click OK to bring up the Save Filter to Custom View dialog box and give the view a meaningful name such as Boot Times with an appropriate description in the text box below. Make sure Custom View is highlighted then click OK to save your new custom view.

EV7.png
8. Repeat the above steps to create another custom view (good practice for you!) but this time type 101-110 in the Includes/Excludes Event IDs box and name the new custom view Boot Degradation Times with an appropriate description again.



Investigating Boot Times
1. Go the left-hand pane of the main Event Viewer window and expand the Custom Views tree then click the new custom view Boot Times.

EV8.png


2. By looking at this custom view and clicking the Details tab, we can see the following:
  • The computer has been booted 41 times with an event recorded for each time.
  • The date of the first boot was 10th July 2011.
  • The boot time was 63.9 seconds (63914/1000).
EV9.png


3. If we now look at a critical event, we can see a different picture emerge:
  • The date of this event was 11 July 2011.
  • The boot time had increased to 93.7 seconds (93748/1000)
EV10.png


4. The information under the Details tab can be very useful in determining an increase in boot times, but of course, there are several normal reasons why they vary:

  • Windows Updates
  • Microsoft Updates
  • Driver Installations
  • Software Installations


Investigating Boot Time Degradation

1. If we now look at the Boot Degradation custom view (you did create it, didn't you?) we can look at each event in detail. In this Event ID 106 we can see:
  • There have been 21 events.
  • The date of this event was 9th July 2011
  • The degradation time was 23.6 seconds (23614/1000).
  • The cause was due to the Background Prefetch Time
EV11.png

2. Event ID 101
This indicates that an application took longer than usual to start up and is usually the result of an update of some sort.

3. Event ID 102
This shows that a driver took longer than normal to initialize and once again is normally caused by an update.

4. Event ID 106
This event records that a background task such as prefetch took longer to finish than normal.

I hope this brief tutorial has given you a better appreciation of the way in which Event Viewer can help isolate reasons why Windows slows down over a period of time.


 
Last edited by a moderator:
Excellent tutorial! :thumbsup:
 

My Computer My Computer

At a glance

Windows 7 Home Premium 64bitIntel Core i3 380M(2.53GHz)4GB DDR3 1066Intel HD Graphics 128MB VRAM
Computer Manufacturer/Model Number
Acer Aspire TimelineX AS4820T-6645
OS
Windows 7 Home Premium 64bit
CPU
Intel Core i3 380M(2.53GHz)
Memory
4GB DDR3 1066
Graphics Card(s)
Intel HD Graphics 128MB VRAM
Screen Resolution
1366x768
Hard Drives
640GB 5400RPM SATA
Why thank you. I've just contacted Brink in a fit of desperation as I'm unhappy with the layout and wasn't quite sure how to clean it up.
 

My Computer My Computer

At a glance

Windows 7 Ultimate SP1 64-BitIntel Core i7 870 @ 2.93GHz8Gb Dual-Channel DDR3 @ 664MHznVidia GeForce GTX 460 1024MB dedicated RAM
Computer Manufacturer/Model Number
HP Pavilion Elite 495UK
OS
Windows 7 Ultimate SP1 64-Bit
CPU
Intel Core i7 870 @ 2.93GHz
Motherboard
MSI 2A9C (CPU1)
Memory
8Gb Dual-Channel DDR3 @ 664MHz
Graphics Card(s)
nVidia GeForce GTX 460 1024MB dedicated RAM
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP2310i
Screen Resolution
1920 x 1080
Hard Drives
1x1954GB Hitachi HDS22020ALA 330 (RAID), 1x1954GB Hitachi External for backup and storage
PSU
460W
Case
HP Elite
Cooling
Air cooled
Keyboard
Logitech K750 solar-powered keyboard
Mouse
Logitech Wireless M180 mouse
Internet Speed
2Mb
Other Info
Pure Avanti Flow Internet Radio with iPod Dock, 64Gb iPod, HP USB Speakers, Sony MDR-V500 Headphones, Sony Vaio F-Series Laptop
Great tutorial, Andrew. Well done! :)

To clean it up, you should add a few things such as a title, related articles etc. Shawn however, will most likely do it for you. :p If you want to do it your self, take a look at one the forum BB Code. It should cover most of the important stuff.
Windows 7 Forums - BB Code List
 
Last edited:

My Computer My Computer

At a glance

Windows 7 Ultimate x64/Windows 8 Consumer Pre...Intel Pentium Dual Core E6700 3.2GHzStrontium 8192MB DDR3 1333Mhzmsi GeForce N560GTX-M2D1GD5 1GB
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64/Windows 8 Consumer Preview x64/Ubuntu 11.04
CPU
Intel Pentium Dual Core E6700 3.2GHz
Motherboard
ASUS P5G41T-M LX
Memory
Strontium 8192MB DDR3 1333Mhz
Graphics Card(s)
msi GeForce N560GTX-M2D1GD5 1GB
Sound Card
Realtek HD Audio
Monitor(s) Displays
CHIMEI CMV 221D 22"
Screen Resolution
1680x1050
Hard Drives
Seagate Barracuda LP Green 3.5'' 2TB Internal HDD 5900RPM + WD Elements Desktop 1TB External HDD 7200RPM
PSU
SHAW Viper-1500w Gaming PSU
Case
Black eMaxx ATX Mini Tower Case
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wireless Optical Mouse 2000
Internet Speed
100GB @ 4.76Mbps
Hi.
Good tutorial but I don't think Windows logs each boot in eventlog. There are registry entries under HKLM\Software\Microsoft\Windows\CurrentVersion\Diagnostics\Performance\Boot where are stated minor and major threasholds for boot. My exprerience is that eventid 100 is logged only when minor threshold is exceeded. Do you know if that is the case? I would like Windows to log each boot - even if it's a good and fast boot - to get records out of those. So far I haven't figured out how to do it as I can't seem to be able to modify the registry entries under Boot as they are controlled by TrustedInstaller service.
 

My Computer My Computer

At a glance

windows 7 enterprise 32-bit
OS
windows 7 enterprise 32-bit
Hi.
Good tutorial but I don't think Windows logs each boot in eventlog. There are registry entries under HKLM\Software\Microsoft\Windows\CurrentVersion\Diagnostics\Performance\Boot where are stated minor and major threasholds for boot. My exprerience is that eventid 100 is logged only when minor threshold is exceeded. Do you know if that is the case? I would like Windows to log each boot - even if it's a good and fast boot - to get records out of those. So far I haven't figured out how to do it as I can't seem to be able to modify the registry entries under Boot as they are controlled by TrustedInstaller service.

Lowering the minor threshold to 1, for example, would trigger an Event ID 100 error on every boot I would imagine.

That being the case, would Windows inititiate a shut down thereby assuming that there was a major problem?
 

My Computer My Computer

At a glance

Windows 7 Ultimate SP1 64-BitIntel Core i7 870 @ 2.93GHz8Gb Dual-Channel DDR3 @ 664MHznVidia GeForce GTX 460 1024MB dedicated RAM
Computer Manufacturer/Model Number
HP Pavilion Elite 495UK
OS
Windows 7 Ultimate SP1 64-Bit
CPU
Intel Core i7 870 @ 2.93GHz
Motherboard
MSI 2A9C (CPU1)
Memory
8Gb Dual-Channel DDR3 @ 664MHz
Graphics Card(s)
nVidia GeForce GTX 460 1024MB dedicated RAM
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP2310i
Screen Resolution
1920 x 1080
Hard Drives
1x1954GB Hitachi HDS22020ALA 330 (RAID), 1x1954GB Hitachi External for backup and storage
PSU
460W
Case
HP Elite
Cooling
Air cooled
Keyboard
Logitech K750 solar-powered keyboard
Mouse
Logitech Wireless M180 mouse
Internet Speed
2Mb
Other Info
Pure Avanti Flow Internet Radio with iPod Dock, 64Gb iPod, HP USB Speakers, Sony MDR-V500 Headphones, Sony Vaio F-Series Laptop

My Computer My Computer

At a glance

Windows 7 Ultimate 64bit2.28GbNVIDIA
Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Ultimate 64bit
CPU
2.2
Memory
8Gb
Graphics Card(s)
NVIDIA
Screen Resolution
1280/762
Mouse
built in pad || iphone || MS wireless
Internet Speed
100MB
Antivirus
Avast
Browser
Chrome, Chrome portable
Back
Top