Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

November 14, 2005 12:00 AM

Turn Off WPA Balloons

Windows IT Pro
InstantDoc ID #48312
Rating: (0)
Downloads
48312.zip

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.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.