参考资料:
https://www.codeproject.com/articles/4833/remote-program-execution
if your system is win7 or xp, you should change the registry.
The first step is to activate RemoteApp on Windows 7 by
setting the Registry key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList:
fDisabledAllowList change to 1
if your system is win server 2008, you should use remoteapp manager to
add the remoteapp to the allowedlist. After that, you can use ServerStartProgram function.