Terminal Server Install Mode

Microsoft Windows Terminal Server has a strange “install mode” that is required to add programs to the system.

Use the following commands to manage your “user mode” (install vs execute):

REM - List options for changing terminal server user mode
CHANGE USER /?

REM - Check current user mode
CHANGE USER /QUERY

REM - Start user "install mode"
CHANGE USER /INSTALL

REM - Reboot after an install will automatically switch back to user "execute mode"
shutdown /r

REM - If an install doesn't require reboot, you can go back to "execute mode" manually
CHANGE USER /EXECUTE

REM - After install is completed and system has rebooted, you can always check the mode
REM - Normal operation *requires* user mode to be "execute"
CHANGE USER /QUERY

Related commands allow you to view Remote Desktop / Terminal Services sessions and users from the command line.

QUERY USER
QUERY SESSION
Advertisements

About notesbytom

Keeping technology notes on WordPress.com to free up my mind to solve new problems rather than figuring out the same ones repeatedly :-).
This entry was posted in System Administration and tagged , . Bookmark the permalink.

One Response to Terminal Server Install Mode

  1. guruleenyc says:

    Thanks for helpful notes!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s