Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


November 14, 2005

Turn Off WPA Balloons

RSS
Subscribe to Windows IT Pro | See More Task Automation Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

When you set up a temporary test Windows Server 2003 or Windows XP system, Windows continually displays Windows Product Activation (WPA) balloons that prompt you to activate the product. In this circumstance, you'll likely want to get rid of this activation reminder without activating the product.

When I need to remove activation reminder balloons, I use a short Windows Script Host (WSH) script named DisableWpaNotification.vbs. I keep this script in my network tools collection so that I can quickly browse to it and use it to disable notifications when necessary.

Listing 1 shows DisableWpaNotification.vbs. The script begins by creating an instance of the Windows Management Instrumentation (WMI) Win32_WindowsProductActivation class. As callout A in Listing 1 shows, you set the Win32_WindowsProductActivation class's SetNotification method to a value of 0 to disable the notification prompts and remove the activation icon from the tray.

After I'm done testing a Windows 2003 or XP system and I'm certain it's stable, I use the EnableWpaNotification.vbs script, which Listing 2 shows, to re-enable the notification balloons. EnableWpaNotification.vbs is similar to DisableWpaNotification.vbs, except that EnableWpaNotification.vbs sets the SetNotification method to a value of 1, as callout A in Listing 2 shows. Setting the method to 1 enables the notification prompts and adds the activation icon to the tray.

You can download DisableWpaNotification.vbs and EnableWpaNotification.vbs from the Windows Scripting Solutions Web site. Go to http://www.windowsitpro.com/windowsscripting, enter 48312 in the InstantDoc ID text box, then click the 48312.zip hotlink. Note that this script works only on Windows 2003 and XP because the Win32_WindowsProductActivation class isn't available in earlier OSs. If you use DisableWpaNotification.vbs to suppress activation prompts, make sure you add to your calendar or personal planner a deadline for re-activation that's before the product's expiration date. There will be logon notification reminders beginning 7 days before product expiration, but I don't recommend that you rely on this final warning. If you run the system unattended or send it to a remote site, you might not see that reminder in time to prevent a crisis.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


Task Automation Whitepapers From Development to Production: Streamlining SharePoint Deployment with DocAve Deployment Manager

From Development to Production: Streamlining SharePoint Deployment with DocAve Deployment Manager

Related Events Don't Miss Windows Server 2008 Virtual Event

Successful SharePoint 2007 Deployment and Administration – Truly Centralizing Your SharePoint Back-End Management

Protecting Mobile Users' Data

Check out our list of Free Email Newsletters!

Task Automation eBooks Spam Fighting and Email Security for the 21st Century

A Guide to Windows Certification and Public Keys

Keeping Your Business Safe from Attack: Patch Management

Related Task Automation Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement