B
Bill Stewart
Windows Admin Script Tools 6.0
Home page: http://home.comcast.net/~stewartb/wast.html
What Is It?
Windows Admin Script Tools is a set of nine 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 requires Windows NT 4.0
or later; the rest all work fine on Windows 9x/Me.
What's New/Changed?
NEEDBOOT utility (new in 5.5). See description below.
OSVER can now detect if the current machine is a Terminal Server running in
either remote administration or application server mode. Also, -r returns
99 instead of 0 if the NT platform was not detected or if OSVER failed to
determine the system's role.
RASCONNS can now list active RAS connections, and it can also check if a
particular connection is currently connected.
WINMSG can now display a customized dialog box and returns which button was
pressed by the user. The dialog box text can also be read from a file.
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.
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 administration mode or application server mode).
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. It can also
read the dialog box text from a text file.
Hope these are useful.
Regards,
Bill
Home page: http://home.comcast.net/~stewartb/wast.html
What Is It?
Windows Admin Script Tools is a set of nine 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 requires Windows NT 4.0
or later; the rest all work fine on Windows 9x/Me.
What's New/Changed?
NEEDBOOT utility (new in 5.5). See description below.
OSVER can now detect if the current machine is a Terminal Server running in
either remote administration or application server mode. Also, -r returns
99 instead of 0 if the NT platform was not detected or if OSVER failed to
determine the system's role.
RASCONNS can now list active RAS connections, and it can also check if a
particular connection is currently connected.
WINMSG can now display a customized dialog box and returns which button was
pressed by the user. The dialog box text can also be read from a file.
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.
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 administration mode or application server mode).
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. It can also
read the dialog box text from a text file.
Hope these are useful.
Regards,
Bill