====== Log Off (Sign Out) Issues ====== ===== Force Log Off ===== We have noticed a problem with RDS (Remote Desktop) sessions when using certain applications: * **Microsoft Office Applications** {{ :networking:windows:rds_logoff_hangs.png?300|Hung at Signing Out}} * Word * Excel * Outlook * **ServiceCEO** When a user leaves certain applications running when they click ''Sign Out'', the RDS session may be disconnected but left in a state of ''Signing Out''...forever. Here is a simple way to kill the running apps causing the problem: taskkill.exe /F /IM ServiceCEO.exe /IM excel.exe /IM outlook.exe /IM winword.exe The session will normally complete the ''Sign Out'' once the problem apps are closed. In the Parallels RAS environment, we have also found that you can simply publish a remote app that does this remotely. {{ :networking:windows:parallels_ras_publish_logoff.png?750 |Published Force Logoff}} To use the published ''Force Logoff'' app, one will probably need to **minimize the ''Signing Off'' screen**, then execute the ''Force Logoff'' published application. {{ :networking:windows:remote_desktop_connection_bar.png?700 |Minimize Full-Screen RDS Session}} {{ :networking:windows:parallels_ras_client_logoff.png?650 |Then Run the Force Logoff Published App}} ===== Automatically Log Off Idle Users ===== https://4sysops.com/archives/automatically-log-off-idle-users-in-windows/