Wts | |
| Member name | Value | Description |
|---|---|---|
| LogOff | 1 | Forces all client sessions to log off (except the session calling ) and disables any subsequent remote logons. This can be used as a step before shutting down. Logons will be re-enabled when the Remote Desktop Services service is restarted. Use this value only on the Remote Desktop Services console. |
| Shutdown | 2 | Shuts down the system on the RD Session Host server. This is equivalent to calling the ExitWindowsEx function with EWX_SHUTDOWN. The calling process must have the SE_SHUTDOWN_NAME privilege enabled. |
| Reboot | 4 | Shuts down and then restarts the system on the RD Session Host server. This is equivalent to calling ExitWindowsEx with EWX_REBOOT. The calling process must have the SE_SHUTDOWN_NAME privilege enabled. |
| PowerOff | 8 | Shuts down the system on the RD Session Host server and, on computers that support software control of AC power, turns off the power. This is equivalent to calling ExitWindowsEx with EWX_SHUTDOWN and EWX_POWEROFF. The calling process must have the SE_SHUTDOWN_NAME privilege enabled. |
| FastReboot | 16 | This value is not supported currently. |