Novell Cool Solutions: Cool Tool
Simple verification process after patching for Daylight Saving. End Users click a button to report back with a 'Success' or 'Failure' notice.
|Posted:||1 Mar 2007|
Please read the note from our friends in legal before using this file.
TZI-verify contains two files:
- 1. TZIverify.hta
- 2. TZIverify.vbs
Either can be called via a NAL icon, or any other delivery mechanism you like. Either will verify DST settings for English builds of Windows for EST, CST, MST and PST as of February 2007. script applies to:
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
- Microsoft Windows 2000 Professional Edition
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
I wanted to give the end user a simple verification process they could run after we finished patching for Daylight Saving. Instead of directing him or her to 'Add/Remove Programs', the registry, or elsewhere for verification, I wanted a simple button to click to report back with a 'Success' or 'Failure' notice, so i wrote a VB script to give me that functionality.
This is NOT an exhaustive check for US & Canada 2007 DST compliance. Instead it provides an educated guess that the tested system is compliant. The script will compare four distinct TZI binary values that should have been modified for US & Canada 2007 DST compliance. My user runs the script from a NAL icon and instantly knows his PC is OK.
When run, the TZIverify.vbs checks these binary values:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Eastern Standard Time\TZI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Central Standard Time\TZI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mountain Standard Time\TZI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Pacific Standard Time\TZI
It then compares them to the values defined by Microsoft in their article, http://support.microsoft.com/kb/914387, "How to configure daylight saving time for the United States in 2007". The results are then output to a message box. As is, the script reports failure in the message box, with the text: "Please contact the Help Desk for assistance."
The HTA (HTML Application) does everything the VBS does, but allows some more polish. Being HTML, it allows for a more detailed message to be displayed to my user and directs her to verify her system by clicking the 'Verify' button.
Administrators can edit either the VBS or HTA in notepad or some other editor and customize the messages to be displayed to the end user.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com