| By Dennis O’Reilly |
The way word-wrapping alters line breaks in some browser windows thwarted a few of our readers’ attempts to disable AutoRun.
If you manually typed a line break where the code requires a space, and you couldn’t get the file to work, a simple change will do the trick.
Windows Secrets contributing editor Woody Leonhard authored a Jan. 22 Top Story on the Conficker/Downadup worm and included a link to a Nov. 8, 2007, article.
Subscribe to our Windows Secrets Newsletter - It's Free!
Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!
Subscribe and get our monthly bonuses - free!
This book is for people who have a Windows 8 based tablet and aren't quite sure how to do everything with it. Windows 8 makes your tablet very intuitive and very easy to use and in this first chapter we will try to help you come to grips with the shiny new device in your hands.
That article, by associate editor Scott Dunn, explained how to add a Registry key to block Windows’ AutoRun function. After you do this, if you unknowingly insert a hacked CD, DVD, USB drive, or other external drive, it won’t automatically infect your PC. The technique involves copying and pasting three lines of code into a NoAutoRun.reg file, then right-clicking the file, merging it into the Registry, and rebooting.
One of the lines of code is very long and looks as follows (it’s all one line, but it word-wraps to two lines in small windows):
Reader Rob Oppenheim wasn’t the only reader who found that merging into the Registry the file he created had no effect, because he’d entered a line break where his e-mail program had word-wrapped that line:
- “In your [most recent] newsletter, you refer to a Web page that describes how to disable autoruns. The page describes a .reg file with a key that displays broken across two lines (at least on my machine it displays that way). Unfortunately, it’s not obvious that there’s a space in the key; that is, it should be ‘Windows NT’ and not ‘WindowsNT.’
“The page does explain that the key should be all on one line but does not mention that the space is required.”
Regardless how the Registry key appears in your browser, if you copy the lines from Scott’s article and paste them into your text editor to create a NoAutoRun.reg file, the space between “Windows” and “NT” will be included.
Delete the key to restore your AutoRun
Several people tried life without AutoRun and decided they missed the feature. For example, after disabling AutoRun, you must manually open the autorun.inf file on any software disc you might want to auto-install. Marlin Brutlag puts it succinctly:
- “Is there a safe way to remove it [the block on Windows' AutoRun feature] if no longer desired?”
See Microsoft Knowledge Base article 310516 for details on adding, deleting, and modifying Registry keys.
Resuscitate a dead drive by giving it the gas
After reading reader Scotty Burrous’s description of how he brought a hard drive in his mother’s PC back from the dead, I started to think I’d been watching too many scary movies:
- “My mom’s laptop recently croaked. The two-year-old 60GB hard drive decided it had had enough and the platter quit spinning. I hooked it up to a 2.5-inch USB adapter after removing the cover, negating any and all out-of-date warranties, etc. When energized, the indicator LED — normally green — was red and the platter didn’t move.
“There were a few files my mom hadn’t backed up — sigh, she’s 86 years old — but decided she desperately needed. With tweezers, I manually rotated the platter on the hub, not touching the disk. I noticed it was difficult to turn, so I figured, ‘What the hell?’
“I purchased a container of butane — the stuff you refill a cigarette lighter with — and dispensed some of it (frequently) onto the bottom bearing. When energized, the platter spun up and I managed to get all the pertinent data from the drive! And with continued application of the butane, I ended up copying all the data from the (now) ex-drive.”
| Readers Rob, Marlin, and Scotty will each receive a gift certificate for a book, CD, or DVD of their choice for sending tips we printed. Send us your tips via the Windows Secrets contact page.|
The Known Issues column brings you readers’ comments on our recent articles. Dennis O’Reilly is technical editor of WindowsSecrets.com.