Make your system a bigmouth

Registry hack that forces system to do detailed startup and shutdown logging.

Diagnostic logging is a highly underrated tool for getting to the heart of different sorts of problems. Windows comes with a global switch to enable verbose diagnostic logging (into the system log) for all applications and services that support it.


To turn on verbose logging:

  1. Open the Registry and navigate to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionpoliciessystem.
  2. Add a new DWORD entry with the name verbosestatus and set the value to 1.
  3. Make sure there is no DWORD entry in the same subkey with the name DisableStatusMessages. If there is, set it to 0.
  4. Restart.

From this point on, every time the system is started or shut down, or when a user logs off or on, detailed information about the startup/shutdown or about the verification of the user's credentials will be written to the system log. One of the advantages of using this approach is that it involves an easily-leveraged tool that's already built into Windows: the system event log. If you have tools that query the event log automatically (or even manually) you can gather this sort of information from one or even a whole slew of systems that may be experiencing the same problems.

One possible application for this is analyzing slow startup times: since each log entry is timestamped accurate to the second, you can glean detailed information about where things may be held up. (As a side note, one of the major reasons for slow startups or logons is slow authentication across a network, or DNS queries that resolve to the wrong server.)

Note that if a particular logging action has no verbose mode, this will not affect anything; this setting simply indicates that any program that writes to the log in both brief and verbose modes should use verbose mode.


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog at http://www.thegline.com/win2kblog/ for his latest advice and musings on the world of Windows network administrators -- please share your thoughts as well!


This was first published in April 2003

Dig deeper on Windows Operating System Management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close