Windows Admin Script Tools 7.0
Home page:
http://www.westmesatech.com/wast.html
What Is It?
Windows Admin Script Tools is a set of utilities that I wrote to assist
Windows system administrators. I wrote these programs with logon
scripting in mind, but of course they have other uses as well. Many
logon scripting tools I have seen require the Windows NT platform to
run. I felt that support for the legacy platform was important, as
people interested in freeware tools often don't have the funds to
upgrade all of the client systems in their organizations. Only IsMember
requires Windows NT 4.0 or later; the rest all work fine on Windows 9x/Me.
This set of utilities is freeware.
What's New/Changed?
FVER.EXE has been replaced by FVerTest.exe FVER.EXE's file comparison
algorithm, which formerly used a single floating-point number, did not
work as expected; e.g., it would misreport version 6.9 as being less
than version 6.12. As a result, FVER.EXE has been replaced with
FVerTest.exe that uses full version numbers instead. Note that the
command-line syntax and exit codes are different than FVER.EXE. In
particular, note that -f is not used, -v must be specified before the
filename on the command line, and -q is required to make FVerTest run
quietly.
ISAdmin.exe can now detect when a user is a member of Administrators,
but the Administrators group is not enabled; this is the case when UAC
is active on Windows Vista and later.
What's Included?
FVerTest allows a batch file to perform version checking on a Win32
executable file, provided it contains version information.
IsAdmin checks if the currently logged-on user is an administrator
(Windows NT 4.0 and later). It runs fine on Windows 9x/Me, where the
current logged on user is always an administrator. It can also detect if
the current user is a member of Administrators but the group is not
enabled (e.g., when UAC is active on Windows Vista and later).
IsMember can check if the currently logged-on user is a member of one or
more groups that you can specify on the command line, and it can also
list group memberships. Requires Windows NT 4.0 or later.
MinWin minimizes the topmost window on the screen (useful in logon scripts).
NeedBoot determines if there are pending file rename/move/delete
operations for the next system boot. On Windows 9x/Me, it checks for the
existence of any entries in the [Rename] section of WININIT.INI; on the
Windows NT platform, it checks for the existence of the
PendingFileRenameOperations registry entry. It can also list the entries
in the [Rename] section or the contents of the registry entry.
NUPP lets you temporarily map a drive letter, do some things, then
restore the mapping to its previous value.
OSTest tests the current operating system to see if it meets one or more
criteria. You can check if the current platform is Windows 9x/Me or NT,
the version number, service pack number, and build number. It can also
detect whether the current OS is running a 'home' edition, whether it's
a server or workstation, and the Terminal Server mode (remote desktop or
application server).
RASConns allows a batch file to determine if one or more RAS connections
are active. It can also list active RAS connections and determine if a
named RAS connection is active.
WinMsg displays a Windows dialog box with a customizable message,
buttons and icon. A batch file can detect which button was pressed. You
can also read the dialog box text from a text file and specify a timeout
period.
--
Bill Stewart