B
Bill Stewart
Windows Admin Script Tools 6.2
Home page: http://home.comcast.net/~stewartb/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.EXE and OSVEREX.EXE require 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?
Added OSVEREX.EXE. It requires NT 4.0 SP6 or later. OSVEREX returns
separate exit codes for the various "flavors" of the operating system.
Now you can differentiate between XP Home and XP Pro, as well as the
various server editions (e.g. Enterprise vs. Standard).
What's Included?
FVER 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.
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.
OSVER allows a batch file to perform operating system platform checking.
It can differentiate between Windows 95, Windows 98, Windows Me, Windows
NT 4.0, Windows 2000, Windows XP, and Windows Server 2003. For NT-based
systems, it can also return the system's service pack level and role
(e.g. workstation, server, or domain controller). For Windows NT 4.0 SP6
and later, it can also detect whether the system is a Terminal Server
(either remote desktop or application server mode).
OSVEREX is an extended version of OSVER that only works on Windows NT
4.0 Service Pack 6 or later. It returns the current operating system as
an exit code and can also return its service pack level, role
(workstation, server, or domain controller). It can also identify the
Terminal Server mode (remote desktop or application server mode).
OSVEREX.EXE may be preferable when there are no down-level clients
because it relies solely on Windows API calls and does not read any
information from the registry (which might fail in rare cases due to
restrictive permissions).
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.
Home page: http://home.comcast.net/~stewartb/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.EXE and OSVEREX.EXE require 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?
Added OSVEREX.EXE. It requires NT 4.0 SP6 or later. OSVEREX returns
separate exit codes for the various "flavors" of the operating system.
Now you can differentiate between XP Home and XP Pro, as well as the
various server editions (e.g. Enterprise vs. Standard).
What's Included?
FVER 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.
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.
OSVER allows a batch file to perform operating system platform checking.
It can differentiate between Windows 95, Windows 98, Windows Me, Windows
NT 4.0, Windows 2000, Windows XP, and Windows Server 2003. For NT-based
systems, it can also return the system's service pack level and role
(e.g. workstation, server, or domain controller). For Windows NT 4.0 SP6
and later, it can also detect whether the system is a Terminal Server
(either remote desktop or application server mode).
OSVEREX is an extended version of OSVER that only works on Windows NT
4.0 Service Pack 6 or later. It returns the current operating system as
an exit code and can also return its service pack level, role
(workstation, server, or domain controller). It can also identify the
Terminal Server mode (remote desktop or application server mode).
OSVEREX.EXE may be preferable when there are no down-level clients
because it relies solely on Windows API calls and does not read any
information from the registry (which might fail in rare cases due to
restrictive permissions).
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.