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!

Exchange Server 2007 enables Outlook Web Access for each user by default. In five steps, however, you can easily disable Outlook Web Access for specific users ...

Read more!

When you delete a file, Windows removes the index for the file, but the file’s contents are still on the disk until the data has been overwritten by another file. Learn how to delete files permanently so attackers can't recover this data. ...

Read more!

Windows 7 beta 1 introduces the built-in ability to burn discs directly from ISO and IMG files. Find out how you can easily burn ISO and IMG files to disc. ...

Read more!

Understand when SQL Server uses parallel processing and learn how to configure parallel processing for your database. ...

Read more!

Related Articles

Screenrecorder is a very easy-to-use screen-to-video capture program that lets users easily capture onscreen events to a small video file that can be shared with others, making it easy to record instructions or reproduce problems for more effective troubleshooting.

Burak Uysaler

TechNet Magazine March 2009

...

Read more!

RichCopy is a powerful, multi-threaded alternative to the popular RoboCopy file copy utility. Take a look at how this free tool can significantly improve file copy performance.

Joshua Hoffman

TechNet Magazine April 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!

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!

Ready to upgrade the systems in your organization to Windows Vista? Find out how the Windows Vista Upgrade Advisor can help you determine whether your systems are ready for Windows Vista and which versions they can support.

Lance Whitney

TechNet Magazine June 2008

...

Read more!

Also by this Author

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!

See how the free Microsoft USB Flash Drive Manager can help you easily copy, delete, and back up files from a flash drive, as well as perform other useful tasks.

Lance Whitney

TechNet Magazine January 2009

...

Read more!

Ready to upgrade the systems in your organization to Windows Vista? Find out how the Windows Vista Upgrade Advisor can help you determine whether your systems are ready for Windows Vista and which versions they can support.

Lance Whitney

TechNet Magazine June 2008

...

Read more!

Discover how you can use the free Web Page Error Toolkit from Microsoft to replace the generic 404 page with a custom error pages, providing useful details for site visitors who bump into trouble.

Lance Whitney

TechNet Magazine February 2009

...

Read more!

Lance Whitney

TechNet Magazine January 2007

...

Read more!

Popular Articles

SQL Server 2008 includes a new “eventing” mechanism called SQL Server Extended Events that enables some sophisticated troubleshooting. Get an overview of Extended Events and find out how you can use this new functionality for monitoring and troubleshooting.

Paul S. Randal

TechNet Magazine January 2009

...

Read more!

Windows Vista SP1 and Windows Server 2008 introduce important changes to BitLocker, including support for data volumes and improved protection against cryptographic attacks. Byron Hynes explores the new features, demonstrates how to use BitLocker on a server, and discusses some of the recent media coverage affecting BitLocker.

Byron Hynes

TechNet Magazine June 2008

...

Read more!

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

Don Jones

TechNet Magazine January 2009

...

Read more!

Greg Steen discusses recovering from system crashes with Replay RA - Recovery Accelerator, managing compressed archives with WinRAR, using TortoiseSVN to simplify source control, measuring disk I/O with Iometer, as well as rebooting servers remotely with the APC Switched Rack PDU, and looks at the book "Windows Group Policy: Windows Server 2008 and Windows Vista".

Greg Steen

TechNet Magazine January 2009

...

Read more!

The new Group Policy Preferences feature found in Windows Server 2008 and Windows Vista provides more than 3,000 settings, greatly expanding what administrators can do with Group Policy. Here’s a guide to using Group Policy Preferences to manage your environment.

Derek Melber

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 BGInfo
Lance Whitney

Download the code for this article: BgInfo v4.10 (274KB)

You're trying to resolve a problem with a user's PC and need info about the computer—name, IP address, gateway, memory, free disk space, and so on. Gathering all that data usually forces you to scour multiple sources or ask the user a barrage of questions. Wouldn't it be handy if everything you needed to know about a PC was in one single place? It can be, thanks to a free tool from Sysinternals called BGInfo.
Written by Bryce Cogswell, BGInfo (short for Background Information) queries a Windows® workstation or server for key data— everything from network-related stats (IP address, router, domain name, MAC address) to hardware and software info (computer name, memory, OS version, and Service Pack level). The program then displays all that data on the desktop as part of the wallpaper, thus making the information clearly visible without being obtrusive (see Figure 1).
Figure 1 BGInfo displays system information on the desktop (Click the image for a larger view)
To run BGInfo, just double-click the bginfo.exe file—no installation is required. The configuration screen appears for you to review and select the data fields to display. By default, BGInfo reveals 24 separate pieces of information. You can remove any field you don't want visible, and then add it back later if you change your mind. You can also easily pop in additional fields. BGInfo will display any environment variable, most registry values, and the output from VBScript and Windows Management Instrumentation (WMI) queries. The WMI interface provides a simple way to build queries by selecting values from a dropdown menu. BGInfo can also tap into certain files to display their version information, time stamp, and contents.
The display is highly customizable. You can change various attributes of the text—alignment, font, point size, and color. Furthermore, you can juggle the position of the data around different parts of the desktop and specify the maximum width of its display area in inches. Finally, BGInfo lets you add graphics alongside the text data, so you can pop in an image, such as your corporate logo. Conversely, if you'd rather not display all this information on the desktop, just set up BGInfo as an icon in the system tray instead. Click on it, and the full display appears.
After you've made your formatting choices, you can click the Preview button to check the display before you commit, then apply it if it looks good. You can run BGInfo manually on any PC whenever you need it or keep it updated automatically. To refresh the data on a regular basis, add the BGInfo.exe file to the startup folder or set it up as a Scheduled Task. After you've customized BGInfo on one computer, you'll probably want to use the same settings on other PCs. Just save your settings as a BGI file, and then load them onto other computers running the program.
Though you can run BGInfo on one PC at a time, you might want to trigger it on multiple network clients. You can insert the bginfo.exe file into a login script; the program provides several command-line options to control its behavior. The data collected by BGInfo can also be exported to an external file—a text file, Excel® spreadsheet, Access™ database, or a SQL database, so that you have a handy resource of all your network PC stats.
The Help information included with BGInfo is thorough and easy to follow. It even offers tips on how to write simple VBScript and WMI queries whose output can be captured by BGInfo. The program runs on all versions of Windows from Windows 95 to Windows Vista®. Learn more about BGInfo and download the tool from microsoft.com/technet/sysinternals/Miscellaneous/BgInfo.mspx.

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