spacer

 

spacer

 
spacer

   
       
   
Windows Secrets Newsletter • Issue 100 • 2007-03-15 • Circulation: over 265,000
    
TOP STORY   Microsoft allows bypass of Vista activation
LANGALIST TIPS   Improving your Windows networking defaults
WACKY WEB WEEK   Hey, can you throw me a beer?
LANGALIST PLUS   Monitoring your childrens' Internet use
OVER THE HORIZON   The missing Microsoft patches, part 1
PATCH WATCH   Server 2003 Service Pack 2 is released
YOUR SUBSCRIPTION   How to change your address or unsubscribe

   
   

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

   
   
ADS

spacer   Free PC health 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

spacer   jv16 PowerTools 2006
Want to know why our product is better than competitive Registry cleaners and system maintenance utilities? Download our non-crippled, free 30-day trial, or purchase now with a special 25% discount (valid for the first 500 buyers).
www.macecraft.com

spacer   New safe search, safe surfing protection
Now compatible with Firefox & Vista! LinkScanner Lite inspects search results for exploits, hacked sites, scams & other security breaches. Real-time analysis & accuracy. Includes on-demand scanning of any URL you choose. Free for personal use.
www.explabs.com

See your ad here

   
   
TOP STORY

Microsoft allows bypass of Vista activation

spacer
UPDATE 2007-07-05: We've found that the effect reported in the story below is not caused by SkipRearm but by a different mechanism. See our July 5, 2007, article.

By Brian Livingston

Microsoft always says it opposes "software pirates" who sell thousands of unauthorized copies of Windows.

But the Redmond company has made things a lot easier for pirates by adding a line to the Registry that can be changed from 0 to 1 to postpone the need to "activate" Vista indefinitely.

Activation doesn't stop true software piracy

As most Windows users know, Microsoft has required "product activation" since the release of Windows XP in 2001. XP must be activated by communicating with servers in Redmond within 30 days of installation. By contrast, Microsoft Office XP, 2003, and 2007 require activatation before the package is used 5 to 50 times, depending on the version, according to a company FAQ. If a PC has no Internet connection, a user may activate a product by dialing a telephone number in various countries.

The activation process will complete successfully only if the software has not been previously activated, such as on a different machine. If activation isn't completed within the trial period, Microsoft products temporarily shut down some of their features. MS Office loses the ability to edit and save files. After Vista's activation deadline runs out, the user can do little other than use Internet Explorer to activate the operating system or buy a new license.

Microsoft describes its product activation scheme as a way to foil software pirates. However, as I previously described in an InfoWorld Magazine article on Oct. 22, 2001, activation does nothing to stop mass piracy. The Redmond company actually included in Windows XP a small file, Wpa.dbl, that makes it easy for pirates to create thousands of machines that validate perfectly.

Far from stopping software piracy, product activation has primarily been designed to prevent home users from installing one copy of Windows on a home machine and a personal-use copy on a laptop. As I explained in an article on Mar. 8, buying a copyrighted work and making another copy strictly for personal use is specifically permitted to consumers by the U.S. Copyright Act and the copyright laws of many other countries.

For example, courts have repeatedly ruled that consumers can make copies of copyrighted songs or television programs for personal use (not for distribution or resale). This principle is legally known as "fair use." The home edition of Microsoft Office 2007 reflects this principle, allowing consumers to activate three copies of a single purchased product. Microsoft Windows XP and Vista, however, allow only one activation.

Surprisingly, Microsoft has embedded into its new Vista operating system a feature that makes things easier than ever for true, mass software pirates. These tricksters will be able to produce thousands of Windows PCs machines that won't demand activation indefinitely — at least for a year or more.

Leaving the activation barn door open

I reported in a Feb. 1 article that the upgrade version of Windows Vista allows itself to be clean-installed to a new hard drive. The new Microsoft operating system completely omits any checking for a qualifying previous version of Windows. This allows the upgrade version of Vista to successfully upgrade over a nonactivated, trial version of itself.

After my article appeared, ZDnet blogger Ed Bott summarized the secret in a post on Feb. 15. He flatly states, "You satisfied every condition of the license agreement and aren't skating by on a technicality. The fact that you have to use a kludgey workaround to use the license you've purchased and are legally entitled to is Microsoft's fault."

In my own piece, I had speculated that clean-installing the upgrade version of Vista "probably violates the Vista EULA (End User License Agreement)." But more and more computer experts are saying that the procedure is fully compliant with the EULA and, in any event, is perfectly legal.

I wrote a follow-up story on Feb. 15. I reported that Microsoft includes in Vista a one-line command that even novices can use to postpone the product's activation deadline three times. This can extend the deadline from its original 30 days to as much as 120 days — almost four months.

PCWorld.com posted a report on my story on Feb. 17. The magazine quotes a Microsoft spokeswoman as saying that extending Vista's activation deadline as I described it "is not a violation of the Vista End User License Agreement." I'm glad that's clear.

The feature that I've revealing today shows that Microsoft has built into Vista a function that allows anyone to extend the operating system's activation deadline not just three times, but many times. The same one-line command that postpones Vista's activation deadline to 120 days can be used an indefinite number of times by first changing a Registry key from 0 to 1.

This isn't a hacker exploit. It doesn't require any tools or utilities whatsoever. Microsoft even documented the Registry key, although obtusely, on its Technet site.

But dishonest PC sellers could use the procedure to install thousands of copies of Vista and sell them to unsuspecting consumers or businesses as legitimately activated copies. This would certainly violate the Vista EULA, but consumers might not realize this until the PCs they bought started demanding activation — and failing — months or years later.

The following describes the Registry key that's involved.

Step 1. While running a copy of Windows Vista that hasn't yet been activated, click the Start button, type regedit into the Search box, then press Enter to launch the Registry Editor.

Step 2. Explore down to the following Registry key:

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ SL

Step 3. Right-click the Registry key named SkipRearm and click Edit. The default is a Dword (a double word or 4 bytes) with a hex value of 00000000. Change this value to any positive integer, such as 00000001, save the change, and close the Registry Editor.

Step 4. Start a command prompt with administrative rights. The fastest way to do this is to click the Start button, enter cmd in the Search box, then press Ctrl+Shift+Enter. If you're asked for a network username and password, provide the ones that log you into your domain. You may be asked to approve a User Account Control prompt and to provide an administrator password.

Step 5. Type one of the following two commands and press Enter:

slmgr -rearm
or
rundll32 slc.dll,SLReArmWindows

Either command uses Vista's built-in Software Licensing Manager (SLMGR) to push the activation deadline out to 30 days after the command is run. Changing SkipRearm from 0 to 1 allows SLMGR to do this an indefinite number of times. Running either command initializes the value of SkipRearm back to 0.

Step 6. Reboot the PC to make the postponement take effect. (After you log in, if you like, you can open a command prompt and run the command slmgr -xpr to see Vista's new expiration date and time. I explained the slmgr command and its parameters in my Feb. 15 article.)

Step 7. To extend the activation deadline of Vista indefinitely, repeat steps 1 through 6 as necessary.

Any crooked PC seller with even the slightest technical skill could easily install a command file that would carry out steps 1 through 6 automatically. The program could run slmgr -rearm three times, 30 days apart, to postpone Vista's activation deadline to 120 days. It could then run skip -rearm every 30 days, for a period of months if not years, by first resetting the SkipRearm key.

The program could be scheduled to check Vista's activation deadline during every reboot, and to remind the user to reboot once a month if a deadline was nearing. The buyer of such a PC would never even see an activation reminder, much less be required to go through the activation process.

If you happen to buy a Vista PC from a little-known seller, and the price was too good to be true, use Vista's search function to look for the string SkipRearm in files. You may discover that your "bargain" computer will mysteriously start demanding activation in a year or two — but your product key won't be valid.

I asked Microsoft why SkipRearm is included in Vista if it can be used to create machines that appear not to need activation for long periods. A Microsoft spokewoman replied, "I connected with my colleagues and learned, unfortunately, we do not have information to share at this time." (I can't identify the speaker because the policy of Waggener Edstrom, Microsoft's public-relations firm, prohibits the naming of p.r. spokespersons.)

In my testing of Microsoft's back-door loophole, I've found that the technique can be used to postpone the activation deadline one year or longer. It may or may not, however, work forever, as I describe below.

Why does SkipRearm even exist in Vista?

The Vista development teaam apparently inserted the SkipRearm loophole to help major corporations work around Microsoft's new Volume Licensing Agreement. This new program, which the Redmond company calls "Volume Licensing 2.0," requires buyers to set up a Key Management Service (KMS) host, as described by a Microsoft FAQ. Companies must choose from two types of digital keys and three different methods of activation to validate thousands of individual Vista machines within the corporate LAN.

Activation of Windows XP, by comparison, requires merely that volume purchasers use a single product key. Corporate buyers obtain a unique key when signing a Volume Licensing Agreement. Microsoft has said, however, that most Windows XP piracy involves stolen product keys that are used by others to activate unauthorized machines.

The new KMS requirement is intended to discourage such piracy, but it places a heavy burden on corporate IT administrators. For example, Microsoft provides a tool called System Preparation (sysprep.exe) to prepare Vista machines for use. If a system can't be completely prepped within 30 days after installation, an admin can run the command sysprep /generalize to postpone the activation deadline another 30 days. However, like the slmgr -rearm command, sysprep /generalize will only succeed three times.

To work around this, as a Technet document states, "Microsoft recommends that you use the SkipRearm setting if you plan on running Sysprep multiple times on a computer." This is echoed by Microsoft Knowledge Base article 929828.

Contributing editor Susan Bradley points out, "The good guys have to go through this stupid implementation of a KMS deployment because of bad guys abusing the system." She strongly feels that users should comply with Microsoft's EULA provisions. "The operating system license has always been a one-machine install. ... Many of us forget the multiple-install rule [for Microsoft Office] since we are so used to the one license, one install rule," she adds.

In its TechNet documents, Microsoft recommends the repeated use of SkipRearm. How many times is "multiple times"? My testing revealed that the answer is, well, indefinite.

On a copy of Vista Ultimate that Microsoft released in New York City on Jan. 29, I found that changing SkipRearm from 0 to 1 allowed the command slmgr -rearm to postpone Vista's activation deadline eight separate times. After that, changing the 0 to 1 had no effect, preventing slmgr -rearm from moving the deadline. The use of slmgr -rearm 3 times, plus using SkipRearm 8 times would eliminate Vista's activation nag screens for about one year (12 periods of 30 days).

On a copy of the upgrade version of Vista Home Premium that I bought in a retail store on Jan. 30, slmgr -rearm also worked 3 times and SkipRearm worked 8 times before losing their effect. This combination would, as with Vista Ultimate, permit a one-year use of Vista without nag screens appearing.

On a copy of the full version of Vista Home Premium that I bought in a retail store on Mar. 14, SkipRearm had no effect on extending the use of slmgr -rearm at all. This suggests that Microsoft has slipstreamed a new version into stores, eliminating the SkipRearm feature in Vista Home. That could mean that changing the key from 0 to 1 will now work only in the business editions of Vista — Business, Enterprise, and Ultimate — so corporations can use the loophole.

Where is the usage count of slmgr -rearm stored? Where is the usage count of SkipRearm stored? These bytes won't be hard for expert users to find. The use restrictions may be easily lifted. If so, this would allow crooked PC sellers to truly create machines that would never need activation, ever.

The financial impact of SkipRearm on Microsoft

I'd like to repeat here that I'm not advocating that anyone use the above technique to violate Microsoft's EULA or avoid paying for Vista. Any company that used SkipRearm to install Vista on multiple machines for as long as possible would have little defense against a surprise inspection by the Business Software Alliance. This coalition of software makers, which includes Microsoft, investigates reports of unlicensed software and obtains warrants to conduct audits.

As a journalist, my job is to report the facts. SkipRearm was specifically built into Vista to be used. Microsoft executives made Vista's activation overly complex and cumbersome. So the development team apparently invented a Registry key to lift the burden of Vista's activation deadline, for at least a year and probably more.

The technique is so powerful and basic, however, that hackers around the world may soon use the feature to install millions of extra copies of Vista without buying them. This could have a major impact on Microsoft's revenues. The company's employees and shareholders might want to be aware of this.

Product activation does little or nothing to stop mass software piracy. It's become so convoluted, the way Microsoft has implemented it, that it's more of an irritation to legitimate users than a worthwhile antipiracy measure. In my opinion, Microsoft should concentrate on legal action against true pirates instead of inventing more ways to drive honorable users bonkers.

I invite my readers to send me information about SkipRearm using the Windows Secrets contact page. I'd like to thank my program director, Brent Scheffler, for tirelessly testing SkipRearm dozens of times, and reader Reine T. for being the first to point out the use of SkipRearm to me. He'll receive a gift certificate for a book, CD, or DVD of his choice for sending me a tip that I used.

Brian Livingston is editorial director of the Windows Secrets Newsletter and the co-author of Windows Vista Secrets and 10 other books.

Contents  Index

   
   
ADS

spacer   Easiest way to Back-Up
No backup is complete unless it is safely removed from the location. Automatically backup your important files and safely store them in a secure facility. Use your standard Internet connection — no additional hardware required. Special Pricing!
www.InnoBack.com

spacer   Simplify Windows server backup & restore
Easy to install, use & maintain Windows backup software. Supports Exchange, Active Directory, MS-SQL and Open Files. Client/server solution designed for small business, disk-based storage with drive spanning to grow with you. Free download.
www.Backup-for-Workgroups.com

spacer   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

See your ad here

   
   
LANGALIST TIPS

Improving your Windows networking defaults

spacer By Fred Langa

Free online tools can help speed your downloads and Web browsing.

First, use a free connection analyzer to find out exactly what your optimum settings should be. Then, use a free tweaking tool to actually make the changes.

Optimizing your network connections

Windows Secrets reader "abcalvin" wondered about some of the less obvious settings Windows uses for its networking setups:
  • "Depending on the type of connection — dial-up, broadband, etc. — some communications settings, such as 'Max transmission unit,' 'TCP receiving window,' 'selective acks,' and so on, have to be set for best results. What are these settings and how do we read the present settings, find the best values for the specific mode, and correctly set them?"
Windows uses generic default settings for its networking setups, and these settings usually work acceptably, but barely. Replacing the generic settings with settings that are custom tailored to your specific needs can yield a huge improvement in your online throughput speeds.

Several Web sites offer tools that can help you tune your online connections, but the one I use myself is Broadband Reports (formerly DSLReports). The site's Tools section is a gold mine. The Speed Test will let you compare your actual upload and download speeds to other users so you can get an idea of how well (or not) your system is doing online. The Tweak Test analyzes your online connection and makes specific recommendations as to what your ideal settings should be. Then, to implement the recommendations, you can download and use the free Dr. TCP tool, which provides an easy-to-use front end for modifying all of Windows' essential networking parameters.

spacer
Figure 1. The free Dr. TCP tool makes it easy to change Windows' essential networking parameters.

It's a great site. Highly recommended!

More on the Vista Express Upgrade

Today (Mar. 15) marks the end of the "Vista Express Upgrade" purchase program. Most Windows PCs purchased between Oct. 26, 2006 and today are eligible for a free upgrade to Vista. The only catches are: (1) You must submit your upgrade request and proof of purchase by the end of this month; and (2) the upgrade ordering process may not work very well, as was discussed in the Mar. 1 issue.

In my test case — trying to upgrade a new Acer laptop — I experienced almost a month of problems with the upgrade site, which prevented me from completing my order. Eventually, after a phone call to the site's tech support also failed, I tried to contact Acer by e-mail (the only contact mechanism the company offers). After a delay of about a week, Acer responded by sending me back to the upgrade site. But this time, the site's tech support was finally able to help. After several more rounds of e-mail, my upgrade CD supposedly will be on its way in four to six weeks. I'm not holding my breath, though.

Reader Charles Little asked an important question about the Vista upgrades:
  • "I read your article on the Windows Vista Express Upgrade, and it was an eye-opening read! I do have one question: When you upgrade, do you get any way to reinstall if you have a catastrophic failure of your PC and have to reformat? Can you use this license on another PC?"
Most OEM (original equipment manufacturer) licenses tie a specific copy of Windows to the machine it came on. This means that you cannot legally move a copy of Windows to another PC. Instead, the Windows license follows that one machine for its lifetime. (See Paul Thurrott's excellent explanation of Windows licensing.)

Licensing does allow for upgrades. If you have an original, OEM-licensed copy of Windows on your PC, you can upgrade it with a later version. The original version is the "qualifying product" that makes the upgrade legitimate. The upgrade inherits this legitimacy, but then remains tied to the original PC.

Because the Vista Express Upgrade program is an upgrade and not a brand-new installation of Vista, most vendors will simply send an upgrade CD. This means that you'd need a two-step process to do a complete restore of the PC's software, using the vendor tools. First, you'd use the original restore process that came with the PC (usually a restore CD or a restore program on the hard drive) to return the system to its as-shipped setup. Then, you'd run the Vista upgrade CD again to install the new OS.

A computer vendor could, in theory, choose to send out a complete new Vista-based recovery CD. This would give you a one-step total restore of the new (upgraded) OS and all the software normally bundled with a brand-new PC. But in every case I've seen to date, an "upgrade" means that you get an upgrade CD, period. The upgrade CD extends, but does not replace, the PC's original restore CD or process.

Two final notes: Most vendors' total-system-restore procedures wipe out all user data, settings and changes when returning a PC's software to its as-shipped condition. As a result, these restoration tools should be used only as a last resort. It's much better and much safer to use some other backup technique that will let you restore not only the original system files, but also your personal data and modifications. (See the next item for more information on backups.)

Lastly, it may be possible to use an OEM upgrade CD to produce a clean install of Vista, just as if you were starting fresh, by using the technique Brian Livingston described in the Feb. 1 and Feb. 8 issues. This doesn't affect the licensing, which remains tied to the original PC, but may be a way to produce a fresh, "clean" Vista setup.

The catch is that OEM upgrade CDs may or may not contain all the files in the retail upgrade CDs, and there's no way to know in advance. So by all means try Brian's technique if you wish, but (as always before any major work on your system) make a full backup first. That way, you can roll back your changes in the event that things don't work out.

Backing up encrypted password files

Reader Fred Stone crafted a way to selectively back up his files of passwords and, in doing so, nearly created a complete, do-it-yourself backup system:
  • "After reading your comments about RoboForm in the Jan. 4 issue, I decided it was worth my sanity to purchase. Since many of my passwords existed only in RoboForm, backup was a serious concern. My solution for backup: Copy the encrypted password files to another drive on a regular basis. I do it with a batch file [Note: The command that begins with c:\ should be all on one line—Ed.]:

    echo Backup RoboForm File
    echo Rev 20060404.0238

    rem Remove oldest file
    del J:\backups\robobkup\roboback5.zip

    rem Shift all files up by 1

    ren J:\backups\robobkup\roboback4.zip roboback5.zip
    ren J:\backups\robobkup\roboback3.zip roboback4.zip
    ren J:\backups\robobkup\roboback2.zip roboback3.zip
    ren J:\backups\robobkup\roboback1.zip roboback2.zip
    ren J:\backups\robobkup\roboback0.zip roboback1.zip

    rem All files have been shifted. Begin backup

    "c:\program files\pkware\pkzipc\pkzipc" -add -path=specify J:\backups\robobkup\ro
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.