Skip navigation

JSI Tip 5772. Bill Stewart's freeware 'Windows Admin Script Tools'.

Download Bill Stewart's 'Windows Admin Script Tools' from

The Readme.txt file contains:

Windows Admin Script Tools
(C) 2001-2005 by Bill Stewart ([email protected])

These utilities provide a Windows system administrator with several
essential functions that can be particularly useful in logon scripts.

    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

    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.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.