Does the maximum account apply for a single Terminal Server? Or is the limit to be applied over multiple terminal server (for instance a network load balanced (nlb) farm)?
Why not use Terminal Server
API (WTSEnumerateProcesses) and count the number of times the exe is started? Or are you afraid it will be renamed?
PS can you (or a moderator) correct the topic title (typo Sever instead of Server)?