Bill Stewart's Site

Miscellaneous Tools

Program Description
CachedExchange1.zip Queries, enables, and disables Cached Exchange Mode for Outlook 2003. I haven't tested it on later versions. (27,396 bytes; 02 May 2007)
dclist.zip Outputs a list of domain controllers for the current or a specified domain. On an NT 4.0 domain, it can also display just the name of the PDC. (On an AD domain, this option produces the name of the PDC emulator.) Delphi source code is included. (31,183 bytes; 30 Apr 2002)
ElevationToolkit1.zip Elevate32.exe (x86) and Elevate64.exe (x64) let you run a program elevated in Windows Vista and later, optionally wait for it to complete, and get the program's exit code. IsElevated32.exe (x86) and IsElevated64.exe (x64) lets you test whether you're running elevated. (127,964 bytes; 21 Apr 2010)
epath2.zip Add and remove individual directories from the system or current user path. (42,338 bytes; 25 Mar 2012)
exec15.zip Executes a program using the Win32 CreateProcess API. It can optionally wait for a process to finish and also display the program's elapsed time. Exec doesn't have a problem with quoted paths or command-line arguments. Both console and GUI versions are provided. Works on Windows 9x/Me as well. (79,562 bytes; 07 Apr 2006)
fixpath4.zip Attempts to fix the Path environment variable. See "Why don't my commands work?" for more information about this program. Runs in Windows 2000 and later. The Free Pascal source code and documentation are included. (26,700 bytes; 11 Aug 2012)
getdcs.zip An ActiveX DLL (COM object) that returns a semicolon-delimited list of domain controllers for the current or a specified domain. It can also return just the name of the PDC on an NT 4.0 domain (or the PDC emulator in an AD domain). Visual Basic 5 source is included. (9,254 bytes; 26 Apr 2002)
PassDlg23.msi An ActiveX DLL component (COM object) that provides several different password dialog boxes. Very useful with WSH scripts. The component works on Windows 98 and later. The documentation is also available here. (1,385,472 bytes; 4 Jun 2009)
NetServerEnum1.zip An ActiveX object (aka COM component) that implements the NetServerEnum Win32 API. Visual Basic 6 source code is included. (15,097 bytes; 11 Nov 2006)
ps1exec_1.zip ps1exec lets you easily execute a PowerShell script without having to worry about getting the quoting correct on the powershell.exe command line. (This is more of a problem in PowerShell v1, which doesn't have the -file option.) ps1exec also allows you to configure the PowerShell console window's initial state (e.g., hidden or minimized) and window title. Useful for scheduling PowerShell scripts. Both 32-bit (ps1exe32) and 64-bit (ps1exe64) versions are provided. (47,969 bytes; 8 July 2009)
tapeutil.zip Win32 console (command-line) program that detects, ejects, or retensions a tape in a tape drive. (15,067 bytes; 28 Apr 2004)
truelast.zip Outputs the "true" last logon time a particular user logged onto the current or a specified domain. It searches all domain controllers and outputs only the most recent time. Delphi source code is included. (43,512 bytes; 30 Apr 2002)