Windows Secrets logo

 

 

   
       
   
Windows Secrets Newsletter • Issue 102 • 2007-04-05 • Circulation: over 270,000

Windows Vista Secrets  

Windows Vista Secrets, now 40% off
My new book, Windows Vista Secrets, with co-author Paul Thurrott of the SuperSite for Windows, is selling well — but our publisher, John Wiley & Sons, isn't using the demand to keep the price high. Instead, the publishing house has made a deal with Amazon.com to increase the book's retail discount to a whopping 40%. (It was previously in the 30s.) Whether you're already using Vista, or you're starting to think about it, our labor of love will help you get the most out of the new operating system. Check it out for yourself. —Brian Livingston, Editorial Director

For more information: United States / Canada / Elsewhere
    
LangaList Tips How to prevent and remove 'phantom' devices
Wacky Web Week Download gets a whole new meaning
LangaList Plus Securing your wireless network with WPA2
Perimeter Scan Don't rule out third-party security patches
Patch Watch Patch animated cursors, don't install 2003 SP2
Your Subscription How to change your address or unsubscribe

   
   

For links to every subtopic in this issue, scroll down to the Index

   
   
ADS

Free PC Performance Scan!   Free PC Performance Scan!
PC Pitstop's free Optimize Scan 1.5 is easy to use software that will automatically diagnose problems with your PC and and give you a custom report detailing issues that are hurting your PC's performance. Run this free scan now!
www.pcpitstop.com

Windows Vista Training -- Watch the Demo   Windows Vista Training — watch the demo
Get the most out of Windows Vista with over 19 hours of hands-on video training covering all editions. Learn what's new in Vista, Installation, Group Policy, Securing Vista, Networking, Administration, IE7, and much more. View our free demo now!
www.TrainSignal.com

Organize your email quickly and easily   Organize your email quickly and easily
Do you have hundreds of emails piled up in your inbox? SpeedFiler is an Outlook add-in that files your incoming and outgoing messages with just a few keystrokes, no matter how many folders you have. Free 30-day fully functional evaluation.
www.speedfiler.com

See your ad here

   
   
LANGALIST TIPS

How to prevent and remove 'phantom' devices

Fred Langa By Fred Langa

A little ghostbusting is all it takes to free your system of nonexistent devices.

Windows sometimes displays USB drives and other removable devices that are no longer connected to your system. Here's how to cure the problem and prevent it from happening again.

Keep phantom devices at bay

Have you ever had Windows show you a device — perhaps a USB drive or other removable device — that's no longer connected to your system? When this happens, you can run into trouble if software tries to access the phantom device.

Or, because the nonexistent device is still consuming a drive letter assignment and/or other resources, you may have problems when you add additional devices that need the already-assigned resources. I've seen some cases where people were running out of drive letters because their systems were maintaining a whole flock of phantom drives!

Let's begin with ways to prevent the phantom devices from appearing in the first place. Then, we'll come back to removing any that may already be there.

Phantom devices can appear for any number of reasons. Perhaps the most common reason is a shutdown error with a removable drive. Most people don't know this, but there are actually three different ways to disconnect a removable drive. Two are correct, and one isn't.

Here's the official word from Microsoft on the two correct ways of removing an external or hot-swappable disk (or other device), as described in the Windows XP Professional Resource Kit:
  • "If the Safely Remove Hardware icon appears in the taskbar notification area, you must use [it]. If the Safely Remove Hardware icon is not in the notification area, you must use Device Manager to uninstall the disk before you unplug it."
The third, improper method is the one almost all of us use: We simply unplug the device. In fact, this usually works, as long as the device isn't actively being written to or read from. You unplug the device, hear the audible "device unplugged" confirmation tones (a descending "ding-dong"), and that's that.

But note Microsoft's use of the word "must" in the above quote: You must use the Safely Remove Hardware method — if it's available. It's not a mere suggestion or recommendation. Microsoft says it's a must.

That's because simply unplugging a device (the way most of us do) runs the risk of losing data through a delayed write, or open file, or similar problem. You also risk leaving behind a phantom drive or other resource assignment, because the OS doesn't realize the device is gone.

You can avoid these problems by using either the Safely Remove Hardware method or the Device Manager method. They ensure that all writes or other pending operations are completed, that any open files are closed, and that the OS knows it can free up whatever resource assignments the device was using.

To put it another way, go ahead and simply unplug your removable devices if you wish. Most times, it'll work perfectly fine. But if it doesn't and you end up with phantom drives or other problems, you'll know why!

Of course, there are still are some pitfalls you need to watch out for — after all, this is Windows we're talking about, and nothing is quite as simple as we might wish. Plus, there remains the question of what to do if your system is already carrying a flock of phantom drives. I'll cover that in the items below.

Restoring the HotPlug Manager

OK, so know we know that we're supposed to use the Safely Remove Hardware method to disconnect removable devices. But what happens if the Safely Remove Hardware icon goes AWOL on you? Or, what if you click it, but it doesn't do anything? And what if you already have phantom drives on your system? How do you get rid of them?

The Safely Remove Hardware icon is actually a shortcut to Windows' HotPlug Manager. This service normally launches automatically when you connect a recognized USB or Firewire device to your system.

Safely Remove Hardware
Figure 1. The HotPlug Manager can be accessed via the Safely Remove Hardware icon, which normally appears in the Notification Area by the clock.

But, as with all software, things sometimes go awry. The HotPlug Manager occasionally hangs or fails to launch, meaning that the Safely Remove Hardware icon won't appear, even when you know it should. In this case, the simple fix is to manually launch the HotPlug Manager by opening the Start, Run dialog and typing the following:

RunDll32.exe shell32.dll,Control_RunDLL HotPlug.dll

Click OK, and the HotPlug Manager's Safely Remove Hardware icon should appear. Its dialog box should open and display any connected devices. That's all it takes!

If only it were so simple. Unfortunately, not all devices cooperate with the HotPlug Manager. If you connect an unrecognized device to your system and the Safely Remove Hardware icon doesn't appear — and manually launching the HotPlug Manager doesn't help — it may be that the device simply won't work with the HotPlug Manager. (It's not very common, but it happens.)

To safely remove such an unrecognized device, you'll have to use Device Manager to uninstall the device prior to disconnecting. (One way to access Device Manager is via Control Panel, Performance & Maintenance, System, Hardware, Device Manager.)

You may sometimes encounter a separate problem, too: The Safely Remove Hardware icon may be present, but won't do anything when you click it. This problem doesn't affect many systems, but if it affects yours, Microsoft has a hotfix for you — KB 883517.

The techniques above will help you properly shut down and remove devices from your system and should keep phantom devices from populating your system in the future. But, if you already have such phantoms in your PC, here's the quick-and-dirty method I use when I have to clean up any kind of ghost device in my system, or when a known-good device's settings become hopelessly bollixed:

Open Device Manager and uninstall not only the offending device itself, but also (if possible) any device that directly controls the offending device. On reboot, Windows will rediscover and reinstall the hardware, freshly reconfiguring the devices that are present and ridding the system of ghost devices.

For example, if I'm having a problem with disk drives, I may uninstall the drives and the drive controllers in Device Manager. On reboot, Windows will rediscover the controllers first, and then set up the drives afresh.

Or, if I'm having a USB problem, I'll uninstall the USB Root Hubs and Controllers in Device Manager. On reboot, Windows will sort things out from scratch, leaving behind a freshly-configured, phantom-free setup.

This brute-force approach surely isn't elegant, but it's fast and it works. And, if you have current and complete backups, there's essentially no risk to it.

Free virtual CD-ROM drive from Microsoft

I recently rediscovered a nifty free tool from Microsoft. You may find it useful, too.

It's the Microsoft Virtual CD-ROM Control Panel. The download is a self-extracting archive that contains three files: the front end (VCdControlTool.exe), the virtual CD driver (VCdRom.sys), and a readme file. The latter contains the basic instructions for using the tool.

To understand how it works, you need to know about ISO files — a kind of disk image of a standard CD. Many large downloadable software packages (including most Linux distributions) are packaged as ISO files. These files contain not only the data that's on the original CD, but also information about how the CD is structured and formatted.

Normally, an ISO file has to be processed by special software to separate the stored data from the formatting information. The software then uses the formatting data in the ISO file to burn an exact duplicate of the original CD's contents. Most normal CD-burning tools have a built-in way to do this. In Roxio's Creator Classic, for example, it's under the Record Disc From Image option on the File menu.

But sometimes, you don't want the entire contents of a CD. You may instead just want to extract one file from the ISO image. Or, perhaps you'd like to test-drive software before committing it to a physical CD. Or, you may be in a situation (such as with a laptop computer) where you only have one CD drive but would like to be able to access two or more CDs simultaneously. Or, maybe you're bogged down by having to process large amounts of data from a relatively slow CD, and you'd much prefer to access the data at hard-drive speeds.

That's where the Virtual CD-ROM Control Panel comes in. It lets you mount an ISO file of a CD in one step, without having to burn it to an actual, physical CD first. You then have access to the full contents of the CD and can get at any or all of the data.

The Virtual CD-ROM Control Panel also lets you mount several images at once, each with its own drive letter. I don't know what the upper limit is, but I've had as many as four ISOs mounted at once, in addition to the two real CD drives in my system. And, of course, because the ISO files actually reside on your hard drive, you can access them at normal hard-drive speeds, which are usually much, much faster than CD drives.

There are other, similar tools out there, but this one's free, and works well. Very, very handy!

Another free tool — TCP/IP optimizer

Reader Wendell Britnell pointed out a nice addition to the information already presented in "Optimizing Your Network Connections" in the Mar. 15 issue. He visited Speedguide.net and was very impressed by its TCP/IP Analyzer and TCP/IP Optimizer.

For years, SpeedGuide.net lagged behind BroadbandReports.com. It seemed to remain focused primarily on dialup, even when cable, DSL, and other fast connections were becoming commonplace. After a while, I let the site fall off my radar.

But Wendell is right: Their current tools are up to date and very nice. What's more, they're even more automated than BroadbandReport's. If you're looking to get the most out of your online connections, Speedguide is back in business!

Thanks, Wendell!

Fred Langa edited the LangaList e-mail newsletter from 1997 to 2006, when it merged with Windows Secrets. Prior to that, he was editor of Byte Magazine and editorial director of CMP Media, overseeing Windows Magazine and others.

Contents  Index

   
   
ADS

Backup your data with ZipBackup   Backup your data with ZipBackup
Finally, a backup program that is easy to use. ZipBackup's Wizard makes backups a snap for beginners. Filtering, scheduling, and disk spanning make it a powerful tool for experts. For a limited time, Windows Secrets readers receive 25% off.
www.zipbackup.com

Remotely monitor your PC from anywhere   Remotely monitor your PC from anywhere
SnoopStick is a USB device that allows you to securely monitor activity on your PC from any Windows-based computer, anywhere. Monitor IM, browser activity, e-mail, and control access to Internet services. Great for parents and employers.
www.snoopstick.com

Get your product seen by 270,000 readers   Get your product seen by 270,000 readers
Does your company offer a product or service? Now you can place an ad in the Windows Secrets Newsletter and be seen by more than 270,000 active buyers of PC hardware and software. Bid as much or as little as you like to get the ideal ad placement.
www.WindowsSecrets.com

See your ad here

   
   
TELL A FRIEND

How you can share this information

We love it when you send your friends links to our articles. But please don't forward your copy of our e-mail newsletter to people, which subjects us to spam complaints. Instead, simply suggest that your friends visit this issue's permanent Web address, shown below. A complete index at the bottom of the Web page provides you with hyperlinks to any article you'd like to recommend.

The address of this issue is http://WindowsSecrets.com/comp/070405

   
   
WACKY WEB WEEK

Download gets a whole new meaning

image If you think bathroom humor is limited to juveniles and mass media, think again. Just in time for April Fools' Day comes Google's announcement of TiSP — the Toilet Internet Service Provider. The gag service claims to offer free, ultra-high speed connectivity for your wireless-capable PC. The only catch is that you have to connect to their system via cables you run through your toilet and local sewers.

The Google TiSP pages include a press release (touting the trademarked GFlush system), an installation guide ("wash your hands before surfing"), and a FAQ page (explaining how DNA analysis of your, er, "personal output" helps Google send you highly targeted advertising). More info.

Contents  Index

   
   
INDEX

The following topics appear in the free version

LANGALIST TIPS   How to prevent and remove 'phantom' devices
  Keep phantom devices at bay
  Restoring the HotPlug Manager
  Free virtual CD-ROM drive from Microsoft
  Another free tool — TCP/IP optimizer
   
WACKY WEB WEEK   Download gets a whole new meaning
   
You get all of the following in the paid version

LANGALIST PLUS   Securing your wireless network with WPA2
  WPA2 secures wireless better than WEP or WPA
  Anonymizing your IP address for Web browsing
  The Onion Router — a different type of proxy
  The dangers of Jikto running in your browser
  Turn your Webcam into a surveillance system
  How to extract data from troublesome ISO files
   
PERIMETER SCAN   Don't rule out third-party security patches
  Microsoft's patch didn't come in time
  Microsoft doesn't have a monopoly on patches
  Should you use third-party patches?
   
PATCH WATCH   Patch animated cursors, don't install 2003 SP2
  .Ani bug hits all Windows versions (yes, even Vista)
  Windows 2003 SP2 is still causing issues
   
Paid subscribers can access all old and new paid newsletter content
Make a contribution to support our research into Windows and you'll immediately be able to read and search through scores of valuable articles. In addition, paid subscribers are entitled to download valuable content that we license for you at least once every calendar quarter.

To upgrade, simply make a contribution of any amount you choose.
If you do this by Apr. 11, 2007, you'll instantly be sent the full, paid version of today's newsletter.

To upgrade to the paid version of the Windows Secrets Newsletter, please visit our upgrade page. Thanks in advance.

   
   

Contents  Index

   
   
YOUR SUBSCRIPTION

The Windows Secrets Newsletter is published weekly on the 1st through 4th Thursdays of each month, plus occasional news updates. Vacation breaks occur in late August, Thanksgiving Week, and Christmas/New Year's.

Publisher: WindowsSecrets.com LLC, 300 Queen Anne Ave. N. #456, Seattle, WA 98109 USA. Vendors, please send no unsolicited packages to this address (readers' letters are fine).

Editorial Director: Brian Livingston. Editor: Fred Langa. Associate Editor: Scott Dunn. Contributing Editors: Susan Bradley, Mark Edwards, Woody Leonhard, Chris Mosby, Ryan Russell. Research Director: Vickie Stevens. Program Director: Brent Scheffler. Managing Editor: Jody Braverman.

Trademarks: Microsoft and Windows are registered trademarks of Microsoft Corporation. The Windows Secrets series of books is published by Wiley Publishing Inc. The Windows Secrets Newsletter, WindowsSecrets.com, LangaList, LangaList Plus, WinFind, Security Baseline, Patch Watch, Perimeter Scan, Wacky Web Week, the Logo Design (W, S or road, and Star), and the slogan Everything Microsoft Forgot to Mention all are trademarks and service marks of WindowsSecrets.com LLC. All other marks are the trademarks or service marks of their respective owners.

HOW TO SUBSCRIBE: Anyone may subscribe to this newsletter by visiting our free signup page.

WE GUARANTEE YOUR PRIVACY:

1. We will never sell, rent, or give away your address to any outside party, ever.
2. We will never send you any unrequested e-mail, besides newsletter updates.
3. All unsubscribe requests are honored immediately, period.  Privacy policy

HOW TO UNSUBSCRIBE: To unsubscribe from the Windows Secrets Newsletter,
Copyright © 2007 by WindowsSecrets.com LLC. All rights reserved.

Contents  Index