Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

October 29, 2004 12:00 AM

Q. Does Microsoft provide a tool to help you determine the meanings of error codes?

Windows IT Pro
InstantDoc ID #44330
Rating: (0)

A. Microsoft provides a useful command-line tool called err.exe that can help you find the meanings of error codes. When you run err.exe and specify an error code, the program searches all the error-code definitions from the various header files that Windows uses to generate a list of possible error meanings. You can download err.exe at Microsoft Web site. (Although the Web page is called "Exchange Server Error Code Look-up," err.exe actually handles Windows OS error codes.)

You can use err.exe in several ways. Entering the command

err

with no parameters returns a list of all the header files the command checks. If you run err.exe and specify an error code--for example,

err 1645

the output looks like this:

D:\temp\Err>
# for decimal 1645 / hex 0x66d :
ERROR_INSTALL_REMOTE_PROHIBITED winerror.h
# The Windows Installer does not permit installation from a
# Remote Desktop Connection.
# for hex 0x1645 / decimal 5701 :
NELOG_NetlogonFailedToUpdateTrustList lmerrlog.h
SQL_5701_severity_10 sql_err
# Changed database context to '%.*ls'.
# 3 matches found for "1645"

Notice that err.exe searches for the value you entered in both its hexadecimal and decimal forms.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.