October 1999
Figure 3   Session Object Security Defaults

User or Group
Access to Session Object
Local Guest Group
Logon
Local Users Group
Logon, Message, Connect, Query Information
Local Administrators Group
Logon, Message, Connect, Query Information, Set Information, Reset, Shadow, Logoff, Disconnect
LocalSystem
Same as Local Administrators Group


Figure 7   WTS_CONFIG_CLASS


typedef enum _WTS_CONFIG_CLASS {
    WTSUserConfigInitialProgram,             
    WTSUserConfigWorkingDirectory,           
    WTSUserConfigfInheritInitialProgram,     
    WTSUserConfigfAllowLogonTerminalServer, 
    WTSUserConfigTimeoutSettingsConnections,     
    WTSUserConfigTimeoutSettingsDisconnections, 
    WTSUserConfigTimeoutSettingsIdle,           
    WTSUserConfigfDeviceClientDrives,          
    WTSUserConfigfDeviceClientPrinters,         
    WTSUserConfigfDeviceClientDefaultPrinter,   
    WTSUserConfigBrokenTimeoutSettings,         
    WTSUserConfigReconnectSettings,             
    WTSUserConfigModemCallbackSettings,         
    WTSUserConfigModemCallbackPhoneNumber,      
    WTSUserConfigShadowingSettings,             
    WTSUserConfigTerminalServerProfilePath,     
    WTSUserConfigTerminalServerHomeDir,       
    WTSUserConfigTerminalServerHomeDirDrive,    
    WTSUserConfigfTerminalServerRemoteHomeDir,  
} WTS_CONFIG_CLASS;

Figure 8   Shutdown APIs

API
Specify a Remote Server?
Cancel Shutdown?
Special Features
ExitWindowsEx
No
No
Logoff interactive user
InitiateSystemShutdown
Yes
Yes, via AbortSystemShutdown
Specify a timeout before proceeding with shutdown and send a message to the interactive user
WTSShutdownSystem
Yes
No
Logoff all interactive users and not allow them to logon until a reboot