TermRun32 - Run a Windows program only when logged in at the console


Legal stuff

This page, and the software it references are Copyright (c) 2002-2009 Andre Guibert de Bruet.
Let's keep this quick and simple... USE THIS PROGRAM AT YOUR OWN RISK.

Why this program came to be

After using Windows Terminal Services ("Remote Desktop") for a little while, I really started getting annoyed with a program called "point32.exe" which is bundled with the Microsoft(r) IntelliMouse(tm) software. Though very useful (for binding the mousewheel to double-click, for example), this program would disable itself when a user would log into the Terminal Server remotely. After close investigation, I found out that having two instances of the program would hang point32 and cause this loss of functionality. I needed a way to make this program run only when I was at the Console. TermRun32 was born...

Program use

TermRun32's use is rather simple. It tries to create a process with the arguments that you pass to it at the command line. Please note that you must pass the program path as well if the program to be run is not in the current directory. For example:
   TermRun32 %windir%\notepad.exe
   Opens up a copy of notepad, no matter where TermRun32.exe is located.

   TermRun32 c:\winnt\explorer.exe
   Launches a copy of Windows Explorer, regardless of TermRun32.exe's location.

   TermRun32 calc.exe
   Will only launch calc.exe if it is in TermRun32's current directory. A
   message is generated if TermRun32 cannot find the file to be run.
TermRun32 is intended to be run from the registry but can be used as a wrapper from within another program or even the command line.

Updates

New releases of TermRun32 will be made available on the World Wide Web at: http://siliconlandmark.com/staff/andre/TermRun32/.

About the author

Andre Guibert de Bruet is a 28-year-old programmer with a passion for computing. His programming talent landed him a job at Silicon Landmark, a consulting firm based in Ann Arbor, Michigan. Silicon Landmark provides software and consulting services to a variety of customers, big and small. If you would like to request a copy of the source code to this program, or have any questions or comments, please send email to: Andre Guibert de Bruet

Download!