Click here to go the Frozen Squirrel web site.

Frozen Squirrel's ScriptStick.

What's a ScriptStick?


ScriptStick™ in a nutshell.

The ScriptStick™ is designed to make your job as a network administrator and computer professional easier.  It started because we needed an easier way to gather information before flattening a computer.  We also needed to have the servers we manage report back to us and we needed some easier tools to help more easily diagnose problems.  While SBS servers have reporting built in, we needed more concise reports that are more easily read on a handheld and we needed reporting for servers like Terminal Servers that are not SBS boxes.  Lastly, some of the scripts are just for fun that only a geek could enjoy.

Before flattening a computer, we need to get the Microsoft Office and operating system keys as well the user's IE favorites, Outlook accounts, rules, and auto-filled e-mail information (NK2 files).  We also want a complete listing of the hardware and installed software in case we need a driver for hardware during reinstallation and to assist in reinstalling the user's software.  We also get the files that store the activation keys for XP or W7.

For reporting, we needed an easier way to review the event logs daily, make sure we were not about to run out of hard drive space on any computer on the network, and to know if the nightly ExMerge of PST files failed in any way.  The Event Log reporting is e-mailed in both HTML and text format; it can more easily read it in text on a phone.  The ExMerge reporting also comes in text format for easy reading on a handheld.

Diagnostic tools include the ability to easily test an SMTP server using Telnet, delete log files older than a certain number of days, search the Event Logs for specific codes, and clear temp files on a regular basis.

All of the programs are written in VBScript.  Some have an HTA for initialization.  I use
TextPad to edit and highly recommend it if you are doing a great deal of text editing.  Most of the scripts are compiled using xNeat Application Builder.  If you want to see the source code, send me an e-mail.  There are two programs (IEPV.exe & ProduKey.exe) on the ScriptStick™ that were not created by Frozen Squirrel.  They are from NirSoft.net and are used by GetUserData.exe.  (If you have never used ProduKey.exe, try running it from a Server and use the command line switch "/remoteall".  It’ll gather the Microsoft product keys from each computer on your network.)

These were first created for Windows 2003 servers and Windows XP.  They have been updated for Windows 7.  The updates for Windows Server 2008 are in process and will be released free of charge as soon as they are ready.

Purchasing the ScriptStick.™

To purchase the ScriptStick™ program, please click here to send me your USB serial number and click here to order the program.  In 48 hours, you’ll have the installation program.  It’s self-extracting zip file that will create a Frozen Squirrel folder on the USB stick you have designated.  Once installed, you can run them directly from the USB stick, create a shortcut on your desktop or call them from a login script. As long as the USB stick that holds the ScriptStick™ programs is shared from the server, the workstations can use the scripts as well.

ScriptStick™ is licensed to a user for a specific USB stick.  Feel free to use the USB stick in any or as many computers that you choose.  You are not allowed to copy the programs to another USB stick or copy the programs to a hard drive, floppy, CD, or any other medium.  They must be run from the stick to which they are licensed.

What's on the ScriptStick?™

EventLog-Today.exe Each day that it runs, it will scan each of the event log(s) that you have selected and send you the last 24 hours worth of errors.  It sends only Errors and Warnings and ignores the code(s) that you have requested it to ignore.  The e-mail will contain a text version you can read on your mobile device and an attached web page more suited for your PC.  Add it to the Scheduled Tasks.  (Send me an e-mail if you are interested in creating a rule in Outlook that automatically saves the attachments in a directory every day that they arrive.  Highlighting all of the files in the directory and hitting enter loads them in to tabs in IE or Firefox and makes for quick and easy reading.)
EventLog-Today.hta The setup program for the EventLog-Today.exe program.  It will allow you to select which event log(s) you want to have e-mailed and which code(s) to ignore from each of the selected log(s).  It will also setup the SMTP server name, port, From: and To: addresses for the e-mails.  This will create the EVSkipCodes.ini file that will store the pertinent information.  You can run it again at anytime to update your settings.
SendDiskSpaceE-Mail.exe Each day that it runs, it will use WMI to scan each computer on the network and check the free space on each of the fixed hard drives.  It will recognize an attached USB hard drive as a fixed drive but should not recognize a USB stick.  For each computer that has a hard drive with less space than you specified during setup using the SendDiskSpaceE-Mail.hta setup program, it will generate am item in the e-mailed report.  If you find you are getting error 70 or error 462 in your e-mailed report, please check our included documentation file, OpenFirewallForDCOM.pdf, for the solution.  Add this program to the Scheduled Tasks.
SendDiskSpaceE-Mail.hta The setup file for SendDiskSpaceE-Mail.exe.  You will use this to setup the SMTP server name, port, From: and To: addresses for the e-mails.  You will also choose the threshold for the space left on the hard drive.  It will create the SendDiskSpaceE-Mail.ini file that will store the pertinent information.  You can run it again at anytime to update your settings.
GetUserData.exe Works in conjunction with GetUserHardware.exe.  The GetUserData.exe uses a combination of VB Script and two programs from NirSoft.net to gather user information.  It works under XP, Vista and Windows 7.

The script gets the user's Outlook "fill-in" data (the NK2 files, rules and accounts), Favorites, IE passwords and Microsoft product keys and stores them on the USB drive in a %UserName% folder.  Also gathers the file(s) that store the Windows activation key data.

In Windows XP, a dialog box will appear at the end that shows you the sizes of Desktop and My Documents folders as well as the free space available on the USB drive.  When you are flattening the computer of the owner’s kid, you don’t want to miss those all important music files.  Under Windows 7, the sizes of the Desktop and My Documents folders may not be displayed.

Nor do you want to miss the critical files that the user has stored on the Desktop which you have asked them repeatedly not to use.  Yes, it’s their fault for storing files where they are not supposed to store them, but why put up with the hassle?  And it’s usually the owner who is violating the rule anyway.
Customer Service Rule # 1 - The customer is always right.  Customer Service Rule # 2 - If the customer is wrong, see rule # 1.

The %UserName% folder will contain the following files:
At least one *.NK2 file if the user uses Outlook.
OutlookAccounts.reg - contains the registry key that holds accounts and rules for Outlook.
AllKeys.tab - contains Microsoft product keys.  Opens in Excel like a CSV file.
IEPass.tab - contains IE user names and passwords.  Opens in Excel like a CSV file.
A Favorites folder with the user's IE Favorites.
A Keys folder that has the Windows activation key data.

The NirSoft.net programs,
IEPV.exe and Produkey.exe may be detected as viruses by your AV program.  If they are, and they get deleted, you can download them again by clicking their names here or going to NirSoft.net.
GetUserHardware.exe Works in conjunction with GetUserData.exe.  The GetUserHardware.exe uses a combination of VB Script and WMI to gather hardware and software information from the computer on which it is run.  When finished, you will have a file named %ComputerName%.ComputerInfo.csv on the USB drive in a %UserName% folder.  It works under XP, Vista Windows 7, Server 2000, Server 2003, and Server 2008.
SendExMergeE-Mail.exe Similar to the SendDiskSpaceE-Mail.  If you ExMerge your Exchange 2003 data to PST files on a regular basis, how do you know if it ran correctly?  It’s a pain in the neck to read through the ExMerge.log file and related ExMerge-(Thread#).log files to find the errors.  This scans the ExMerge.log files, gathers any errors, reads the correct ExMerge-(Thread#).log file for the details, and sends you an e-mail.
SendExMergeE-Mail.hta The setup file for SendExMergeE-Mail.exe.  You will use this to setup the SMTP server name, port, From: and To: addresses for the e-mails.  You will also choose whether the ExMerge.log and the ExMerge-(Thread#).log files should be attached to the e-mail.
EventLog-Specific.exe Searches the specified event log(s) for the code(s) you choose.  The results are displayed in a message box and written to a CSV file.
EventLog-Specific.hta The setup program for EventLog-Specific.exe.  You choose the event log(s) and any error code(s) for which you want to search.  You do not need to launch this program separately from the executable.  The executable will launch this file every time that it is run.
DelLogFiles.exe Asks you for a number of days to use.  Then it recursively deletes the files dated older than the number of days you selected that are in the directory %windir%\system32\LogFiles and the subdirectories.
DelLogFilesNF.exe Delete old log files automatically.  This uses an INI file to determine the number of days to use.  It recursively deletes the files dated older than the number of days you selected that are in the directory %windir%\system32\LogFiles and the subdirectories.  Writes an "Information" entry to the Application Event Log when finished.
DelTempFiles.exe Deletes the Windows Updates directories in the %WinDir% directory as well as the files and folders in the %WinDir%\Temp, %Temp%, and %Tmp% folders. You will be given the option to delete the Windows Update files; displays a dialog box with the results - free space before vs. after - when finished.
DelTempFilesNF.exe Automatically deletes the $NT*.* directories in the %WinDir% directory as well as the files and folders in the %WinDir%\Temp, %Temp%, and %Tmp% folders. The default entry in the included INI file is to keep the Windows Update files.  Writes an "Information" entry to the Application Event Log when finished.
TestSMTP.vbs This is an un-compiled VB Script that uses a combination of VB Script and "Telnet.exe".  I got tired of trying to remember the exact syntax of Telnet to test an SMTP server and I often mistyped as I was testing.  This will test your SMTP server from inside our outside your network.  Edit the script in Notepad or any text editor and make the changes to suit your network.  A more detailed explanation can be found in the notes section of the script.  If you want to run this from a Vista or Windows 7 computer, you need to add the "Telnet Client" from the add/remove Windows Components.
RenameMappedDrives.vbs An un-compiled VB Script that renames mapped drives to have more recognizable user-friendly names.  I find it much easier for users to understand "Data on the Server" than "company on 'SBS 2003 (Server01)' (M:)".  Edit the script in Notepad or any text editor and make the changes to suit your network.  A more detailed explanation can be found in the notes section of the script.  Add it to the server's login script and the drive names will be more user-friendly each and every time they log in.
ProcessKiller.vbs An un-compiled VB Script that lists the running processes one at a time and asks if you want to kill the process.  If you are battling running spyware that has disabled the Task Manager and RegEdit, this may be the only way you can kill the spyware program that’s running.
SendSMTPE-Mail.vbs This is an un-compiled VB Script to send an e-mail using an SMTP server.  This is best run from the SMTP server itself.  Instructions for editing the VBS file for your own use are inside the script.
SendSMTPG-Mail.vbs This is an un-compiled VB Script to send an e-mail using GMail’s SMTP server.  You must have a GMail account to use this.  Instructions for editing the VBS file for your own use are inside the script.
LoginText.vbs An un-compiled VB Script that renames adds text to the Windows login screen under Windows XP, Server 2000, and Server 2003.  Why?  Just because we can.
HPMsg.exe An April Fool's joke that only a geek can really appreciate.  It will change the display screen on most HP LaserJet printers to display what you tell it.  Two of my favorites are "Out of cheese" and "Please insert coin".  It uses a combination of VB Script and "Telnet.exe".  If you want to run this from a Vista or Windows 7 computer, you need to add the "Telnet Client" from the add/remove Windows Components.
CheckSerial.exe Checks that these programs are running from the USB stick to which the ScriptStick™ software is licensed.


On the web.

E-MailDellServiceTag.hta This uses WMI to extract the Dell serial number from the BIOS and send it to me.  If you want the source code, send me an e-mail.
GetUserHardwareE-Mail.exe This is the same code as the one on the ScriptStick™ only it e-mails me the results.  It’s nice to know what the computer looks like before you arrive at the new client site.
LoginText.vbs This will add / change the text a user sees when he logs in to XP or 2003 using a Ctrl-Alt-Del.  Change it to whatever you’d like them to see.
MyComputer.hta This will change the user's "MyComputer" to the actual name of the computer.  If you want to know the name of the computer you just remoted in to so you could fix it, it’s nice to know what the actual name is instead of the generic "MyComputer."  It works on XP, Vista, Windows 7, Server 2000, Server 2003, and Server 2008.
ShowDellServiceTag.hta This uses WMI to extract the Dell serial number from the BIOS and show it on the screen.



Return to Frozen Squirrel