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