From http://community.spiceworks.com/scripts/show/1702-log-off-remote-user-session