Home > Articles > Home & Office Computing > Microsoft Windows Vista & Home Server

Top Five Sysinternals Windows Utilities

The Sysinternals utilities for Windows offer some of the best diagnostic and troubleshooting tools around. Long known for their power and capability, they're both free and incredibly useful. Here, Ed Tittel and Kim Lindros profile a handful of tools that Windows users of all stripes are likely to find invaluable.

Top Five Sysinternals Windows Utilities

The Sysinternals utilities for Windows offer some of the best diagnostic and troubleshooting tools around. Long known for their power and capability, they're both free and incredibly useful. Here, we profile a handful of tools that Windows users of all stripes are likely to find invaluable.

Sysinternals is a company name to conjure within the Windows community. Although Sysinternals is now part of Microsoft—and one of its primary principals, Mark Russinovich, is now a Microsoft Technical Fellow—the Sysinternals name has been well-recognized since the mid-1990s when it burst onto the scene with some superlative Windows utilities.

Everything you'll find in this article is available from the Microsoft Windows Sysinternals web pages (now called Microsoft Sysinternals) for free. Our top five, as well as the rest of the over 100 other utilities you'll find there, are all worth digging into, and getting to know.

Picking the top five from Sysinternals is not unlike picking the five best artworks by Leonardo da Vinci or the five best symphonies by Mozart: No matter which ones you pick, they're bound to be good, but there's also bound to be disagreement from other cognoscenti with different tastes or objectives who have their own favorites to push and promote.

Nevertheless, we can state with absolute finality and security that all our choices are bound to be both useful and informative, and that looking for more choices will only result in the discovery of further treasures.

Not only are all of the Sysinternals utilities mentioned in this article available for download/installation from the Windows Sysinternals website but most also run live from their "home pages" in the Sysinternals area on the Microsoft website. To access the full list of Sysinternals utilities, click the Sysinternals Suite link in the left pane of the Windows Sysinternals home page.

TCPView

If you want a complete picture of every TCP and UDP endpoint on your system, consider TCPView. This free Windows program works much like the netstat utility, but presents connection details in an easy-to-read GUI format instead of presenting character-mode tables at the command line.

TCPView updates every second, listing the process, local TCP port, remote address, and state of the TCP connection. TCPView also reports the name of the process that owns each endpoint (only in Windows XP and later OSs).

The program uses various colors to indicate changes in endpoints:

  • Green: New endpoint
  • Yellow: An endpoint that changed state from the last update
  • Red: Deleted endpoint
Figure 1

Figure 1 TCPView lets you quickly determine endpoint ownership and changes.

Using TCPView

In TCPView, you can quickly close an established connection (labeled with a state of ESTABLISHED) or end a process. Just highlight an entry in the display and select File > Close Connection, or right-click a connection and select Close Connection or End Process from the shortcut menu. To see the path to a program's EXE file, right-click the program name and select Process Properties.

TCPView updates connection information every second by default; however, you can change the rate by selecting View > Update Speed. To save the TCPView output window to a text file, select File > Save.

Figure 2

Figure 2 Select a different update speed rate or pause updates temporarily.

TCPView runs seamlessly on all Windows operating systems starting with Windows 98, and you can monitor Windows 95 systems if you install the Windows 95 Winsock 2 Update.

Autoruns

Whether you're using a brand-new computer with preconfigured applications or a PC you've loaded up yourself, you'll eventually want to control which programs automatically launch at bootup or as a user logs on.

Autoruns is a terrific utility for this purpose, providing a great user interface and more features than the old built-in Windows standby, MSConfig.

Autoruns lets you see which programs (and services, add-ons, toolbars, and so on) are set to run automatically at system bootup or user logon, in the order in which they're processed. Autoruns also displays the registry key, a brief description of each item, and file paths for each item as well.

The tabs at the top of the interface let you switch views to see lists of specific auto-start items, including known DLLs, Explorer add-ons, Internet Explorer add-ons, scheduled tasks, image hijacks, boot execute images, Windows services, LSA providers, Sidebar Gadgets (Windows Vista and later), and more.

Figure 3

Figure 3 Use the tabs in the Autoruns interface to view specific data.

Using Autoruns

Although you can use the built-in Windows MSConfig utility to view much of the same information, Autoruns offers many more bells and whistles. For example, the Hide Signed Microsoft Entries option lets you focus on third-party auto-starting programs, so you can see at a glance what's been added to your system.

To view auto-start programs for other user accounts on the system, just select User on the menu bar and select an account. It takes a few moments for Autoruns to gather and display all of the information.

In addition, you can highlight an item in the main Autoruns Entry list and click the Jump button (green arrow) on the toolbar to open Regedit with the selected entry displayed.

Figure 4

Figure 4 The Autoruns Jump button automatically opens the registry to a specific key.

Sometimes you'll need to temporarily disable an auto-start program while troubleshooting, or stop suspected malware, for example. Just uncheck the check box next to an entry.

To prevent an item from starting automatically in the future, right-click the entry and select Delete from the shortcut menu.

To get additional information about a program, right-click the entry and select Properties from the shortcut menu. For a quick Internet search, select Search Online from the same menu to open your default web browser with a list of appropriate websites.

Process Explorer

This handy utility should be your first go-to program when attempting to resolve system glitches, such as possible handle leaks and DLL-version problems.

In a nutshell, Process Explorer lists resources that are being held by a process. For example, Process Explorer can show you what's holding a particular file open, preventing other programs from accessing it.

The Process Explorer interface consists of two main panels. The upper panel displays active processes, the PID, CPU usage (updates constantly), a description of the process, and the company name, by default.

However, there's a plethora of other columns you can view. Just right-click the column heading bar, select Select Columns, and select check boxes for columns you want displayed. The lower panel lists descriptive information for the item currently selected in the upper panel.

Figure 5

Figure 5 The Process Explorer interface is highly customizable, letting you focus only on the information you need.

Using the Process menu item, you can suspend, kill, or restart a process. You can also set affinity for a process to control which CPU(s) it can execute on, or set its priority. The Find menu item lets you search for a particular DLL or handle, and the Users menu lets you disconnect, log off, send a message from, or view the session properties of the current user.

You can also get a graphical view of your system's CPU, pagefile, I/O, and memory usage. Just select View > System Information to display the graphs.

Figure 6

Figure 6 The System Information window displays your system's CPU usage, commit, I/O bytes, and physical memory histories.

Process Monitor

If you've successfully used Filemon and/or Regmon in the past to troubleshoot errors, track down sources of malware, or monitor the registry, for example, you'll be happy to come across Process Monitor. This advanced tool offers real-time monitoring of the file system, process/thread activity, and registry.

Process Monitor combines the features of the legacy "mon" utilities and adds numerous enhancements, making it a must-have addition to your troubleshooting toolkit.

One of the jewels of Process Monitor is in troubleshooting generic error messages. Let's say an error occurs without enough information to know which direction to take.

Just start Process Monitor, reproduce the situation in which the error occurs, and then watch for the issue to appear in the interface.

You can avoid spending inordinate amounts of time noodling through the wrong log or report entries, instead zeroing in on the culprit within minutes.

Figure 7

Figure 7 Process Monitor helps you quickly pinpoint system and registry problems.

A handful of the new or improved features in Process Monitor include the following:

  • Ability to monitor DLL and kernel-mode device driver image loads
  • Use of non-destructive filters, which enable you to configure filters without data loss
  • Complete details of event properties, including user names, session IDs, and more
  • Ability to capture thread stacks for each operation, which helps you to determine the root cause of an operation

Because of the breadth and depth of the feature set of Process Monitor, Microsoft recommends diving into the Help file and testing out menu items and options on a live system.

PsTools/PsList

Finally, we'll wrap up this article with a look at a non-GUI toolset for the command-line junkie. PsTools is a set of text-based utilities within the Sysinternals suite that enable you to view process information and manage local and remote systems.

One of the utilities in PsTools is PsList, which displays detailed information about processes. Similar to the Windows PerfMon monitoring tool, PsList draws its information from the Windows performance counters.

Running pslist at the command line with these parameters enables you to view the following:

  • -d: Thread details
  • -m: Memory details
  • -x: Processes, memory information, and threads
  • -t: A process tree

And much more. You can see a more comprehensive list on the Windows Sysinternals PsList web page, or type pslist –help.

Figure 8

Figure 8 View all sorts of process information from the command line using PsList.

The Price Is Right, and the Power is Hard to Beat

As you get to know the Sysinternals utilities better, you'll find them invaluable for all kinds of Windows set-up, configuration, and troubleshooting situations. Though you can dive in and start anywhere, we think most Windows heads will find out top five worth investigating, and predict that all or most of them will be adopted for regular use shortly after learning about them.

Don't let this stop you from digging into the rest of the Sysinternals cornucopia: you won't be disappointed if you do.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020