Browse Ask a Question
Rss Categories

How to progammatically turn ThinDesktop On/Off

Author: ThinLaunch Support Reference Number: AA-00224 Views: 3585 Created: 2015-03-10 02:14 Last Updated: 2015-03-10 02:14 0 Rating/ Voters

There may be times when you need to disable ThinDesktop without the ability to run TD Builder and click "Off".

The TDCMD command line tool can easily accommodate this request.

From C:\Program Files\ThinLaunch\ThinDesktop  (C:\Program Files (x86)\ThinLaunch\ThinDesktop on 64-bit system), execute tdcmd.exe -off.

There are many ways to execute a process remotely. You can use Microsoft's PSEXEC tool or WinRS  for Windows 7+ operating systems provided your client has enabled WinRM.

For more information on WinRM, visit:

For information on PSEXEC, visit

You can download psexec.exe from:

Example WinRS Command

winrs -R:COMPUTER1 "c:\program files\thinlaunch\thindesktop\tdcmd.exe" -off

Example PSEXEC Command

psexec \\COMPUTER -u COMPUTER\admin_user "c:\program files\thinlaunch\thindesktop\tdcmd.exe" -off -accepteula