: I want to run the following command to log a user off a Terminal Services session once
they have finished running my app. "%windir%\system32\cmd.exe /clogoff"
: Any ideas how I do this?
You could try ShellExecute. I saw lots of related info on this site, try the Search function in the navigation :)