Click to Rate and Give Feedback
Tips
You can manage SQL Server from a command line just as you would any other service. Here are the commands you need to know. ...

Read more!

Learn how you can use this command-line tool to perform Group Policy–related troubleshooting. ...

Read more!

You can run Check Disk from the command line or within other utilities. At a command prompt, you can test the integrity of the E drive by typing these commands. ...

Read more!

The Event Viewer automatically creates several filtered views of the event logs. You can also create a custom view to make it easier to look for specific types of events. ...

Read more!

If you want to manage Hyper-V servers from a computer running an earlier version of Microsoft Windows, such as Windows XP, here's what you need to know. ...

Read more!

Related Articles

Looking for a way to quickly collaborate with someone located in another city? Take a look at out how Microsoft SharedView, a free utility, lets you easily share documents and screens with members of a small group, even across physical boundaries.

Greg Steen

TechNet Magazine July 2008

...

Read more!

You can’t move, rename or delete a file that’s in use—but sometimes you have to. Luckily, two free utilities called PendMoves and MoveFile let you handle these tasks with ease.

Lance Whitney

TechNet Magazine June 2009

...

Read more!

Leftover Windows Installer configuration information can cause problems when you try to update or uninstall an application. You can solve the problem using the Windows Installer CleanUp utility, which can help you remove an application’s Windows Installer information and then reinstall the app.

Lance Whitney

TechNet Magazine August 2008

...

Read more!

See how this free utility can help you determine whether problems you are experiencing while running Windows are caused by faulty memory.

Lance Whitney

TechNet Magazine September 2008

...

Read more!

Delprof is a command-line utility that lets you free up disk space by deleting user profiles that are no longer required on both local or remote computers.

Lance Whitney

TechNet Magazine May 2009

...

Read more!

Also by this Author

This free tool can simplify the migration of key applications from Windows XP to Windows Vista.

Lance Whitney

TechNet Magazine January 2008

...

Read more!

Whether you develop Web content or simply support a webmaster, here’s a free Microsoft utility that will make your job easier. See how the Internet Explorer Developer Toolbar can help you explore and troubleshoot Web pages.

Lance Whitney

TechNet Magazine November 2008

...

Read more!

See how the Change Analysis Diagnostic tool can help users discover system changes on their computers (from updates, new software, and changed hardware) and resolve problems they may encounter due to these changes.

Lance Whitney

TechNet Magazine December 2008

...

Read more!

You can’t move, rename or delete a file that’s in use—but sometimes you have to. Luckily, two free utilities called PendMoves and MoveFile let you handle these tasks with ease.

Lance Whitney

TechNet Magazine June 2009

...

Read more!

The typical Windows defrag tool can optimize most of the files on your hard drive. But certain items, such the Windows page file and Registry hives, are beyond the powers of most defragging tools. This utility, created by Mark Russinovich for Sysinternals, saves the day by defragging the files that are left untouched by other tools.

Lance Whitney

TechNet Magazine September 2007

...

Read more!

Popular Articles

Raymond Chen explains why it is often the developers who have their acts together who end up checking in the final bug fixes to products.

Raymond Chen

TechNet Magazine January 2009

...

Read more!

The introduction of Hyper-V makes virtualization an even more compelling solution for IT environments. Get an overview of today’s virtualization market and see how Hyper-V improves the manageability, reliability, and security of virtualization

Rajiv Arunkundram

TechNet Magazine October 2008

...

Read more!

Learn how you can implement error-handling in Windows PowerShell.

Don Jones

TechNet Magazine January 2009

...

Read more!

Project Server 2007 delivers significant enhancements, not only to the features and functionality for users but also for administrators. Alan Maddison explores some of the most significant new features and walks you through the installation and configuration of Microsoft Office Project Server 2007.

Alan Maddison

TechNet Magazine January 2009

...

Read more!

Drivers fail, files get corrupted, disks crash--there are numerous uncontrollable reasons why Windows might fail. But all is not lost. Wes Miller explores the kinds of things that can go wrong in a Windows system, and explains how you can troubleshoot them to get your system working again.

Wes Miller

TechNet Magazine January 2009

...

Read more!

Our Blog

NAP monitors the health of specified computers when they attempt to connect to a network and includes a number of mechanisms to enforce health requirements. In this article, Geek of All Trades Greg Shields gives readers an overview of these enforcement mechanisms and, as an example, takes a closer look at setting ...

Read more!

Use Windows PowerShell to Manage Virtual Machines Here are a few examples of how you can use Windows PowerShell scripts to manage virtual machines running on a Server Core installation. Note that these scripts are presented as samples and may need to be customized to work in your environment.

Create a New ...

Read more!

Disabling an Unused Part of Group Policy Objects One way to disable a policy is to disable an unused part of the GPO. By disabling part of a policy that isn’t used, the application of GPOs and security will be faster.

Administer Windows Server 2008 Server Core from the Command Prompt ...

Read more!

In the August 2008 issue of TechNet Magazine, Paul Randal wrote an article Top Tips for Effective Database Maintenance.  It was geared toward "involuntary  DBAs" (IT pros who inadvertently wind up responsible for a SQL Server instance).  The article had a great response from our readers so Paul has written another ...

Read more!

Microsoft Forefront is designed to deliver an integrated security solution that makes it much easier to deploy and manage security across an organization’s IT infrastructure. In this, our annual security issue, we feature two articles that describe how Forefront Security protects instant messaging and e-mail.

Protect ...

Read more!

Utility Spotlight Autoruns
Lance Whitney

Download the code for this article: Autoruns (490KB)

The typical PC running Win­dows® loads an array of items at startup, including files, drivers, tasks, and services. At some point, it’s quite likely you’ll need to view and perhaps disable certain startup items—to troubleshoot a startup conflict, to track down malware in the autostart sequence, to reduce Windows launch time, or to free up memory and system resources.
The System Configuration Utility (msconfig.exe) lets you view and disable a number of startup files and services, but there are many it misses—toolbars, browser helper objects, Windows Explorer shell extensions. Furthermore, msconfig doesn’t share many details about these items. For a better way to view and manage everything that loads at startup, take a look at Autoruns from Sysinternals.
Autoruns, written by Mark Rus­sin­ovich and Bryce Cogswell, is a free utility that unveils every startup item—also known as an image—on a Windows-based PC. You can view all images stored in the startup folders, the Registry, and other areas where they like to hide (see Figure 1).
Figure 1 Viewing startup items with Autoruns (Click the image for a larger view)
Autoruns shows you the name and location of each image. For files it displays the directory path; for Registry entries you get the exact key. Autoruns also supplies the name of the publisher and a brief description based on the item’s version data. Double-clicking on an entry takes you to its directory or Registry key; right-clicking opens a popup menu with more options, including a Properties command that displays the standard File Properties window with full version information. An option to "Include Empty Locations" shows all of the PC’s startup areas, whether or not they currently have any entries. You can also select other user accounts on the PC to see their startup environments.
You can check on the digital signature of an entry through the Verify command, which queries Web sites with certificate revocation lists (CRLs) to determine if an image is digitally signed and whether the signature is valid. Another option to "Hide Signed Microsoft Entries" excludes entries already signed by Microsoft allowing you to focus on third-party images.
The entire list of startup items can be exported into a text file—handy if you want to disable any items and need a snapshot of your startup environment before you tweak it. You can then compare the exported text file with your revised startup configuration to see your changes.
Here are just a few of the startup categories Autoruns covers:
Logon includes the user and all users’ startup folders and the Run keys that are found in the Registry.
Explorer includes a list of Explorer shell extensions, toolbars, and active setup executions.
Internet Explorer includes Browser Helper Objects and Internet Explorer® toolbars and extensions.
LSA Providers includes Local Security Authority authentication, notification, and security packages.
In Autoruns, you can permanently delete a startup item or just disable it. An Online Search option helps you find which items you can safely disable. This option runs an Internet search for Web pages that describe an item or its category and advises you whether to remove it from startup. When you disable an item, Autoruns moves it to a backup location in the Registry or on the hard drive.
Autoruns works under all versions of Windows including Windows XP 64-bit Edition and Windows Server® 2003 64-bit Edition. Grab a copy from microsoft.com/technet/technetmag/code07.aspx.

Lance Whitney is an IT consultant, trainer, and technical writer. He has spent countless hours tweaking Windows workstations and servers. Originally a journalist, he took a blind leap into the IT world 15 years ago.
© 2008 Microsoft Corporation and CMP Media, LLC. All rights reserved; reproduction in part or in whole without permission is prohibited.
Page view tracker