I locked my team out of a terminal services session when I stopped the terminal server. I am on a Mac and could not restart the service using the MMC snap-in.
I installed Samba4 – samba4-common and used the net rpc service start on TermService and bam… back in business.
[root@hostname ~]# net rpc service start TermService -I 22.214.171.124 --user Administrator Enter Administrator's password: ... Successfully started service: TermService