Term Server & Install vs Execute mode

Most of my SBS sites have a second server that runs as a Terminal Server, since SBS2003 only supports Term Server on SBS in Admin mode, and not Application mode (see KB 828056). At times when in installing a utiliy piece of software, I need to switch the Term Server into “install” mode. KB 186498 talks about the Execute/Install mode.

Awhile back, I wrote a quick little batch file that let’s me switch between install and execute mode, and to query the mode. Perhaps someone else will find this useful!  Just copy and paste the following into a .bat file:

echo off
echo —————————————-
echo Select the Change User command to be run
echo —————————————-
echo 1 = Display current setting (Query)
echo 2 = Install mode
echo 3 = Execute mode
echo 4 = Quit
choice /C 1234QE /N /M Choice:
if %ERRORLEVEL% GEQ 4 goto answer4
goto answer%ERRORLEVEL%

echo Error encountered!
goto START

change user /query
goto START

change user /install
goto START

change user /execute
goto START

echo Exiting script


One thought on “Term Server & Install vs Execute mode

  1. Thanks for the script! When i try to run it, though, i get “‘Choice’ is not recognized as an internal or external command, operable program or batch file” Thanks for any help!

Leave a Reply

Your email address will not be published. Required fields are marked *