I know I know XP is old. Have a "must use" app that only runs on XP. On windows 7 we would use XPMode, no issues.
Upgraded to windows 10, now i have XP running in Hyper-V.
I read a couple of blogs about setting up remote apps on the XP machine. I can get notepad to launch, paint to launch, but not my program. This is all done in the registry key HLM\Software\Microsoft\Windows NT\Current Version\Terminal Server\TsAppAllowList\
for paint i add a key under Applications\ called mspaint under that key i create 2 string values, one for path and one for name, path is set to C:\WINDOWS\system32\mspaint.exe and name is set to mspaint.
On the host machine i modify the RDP file adding
devicestoredirect:s:
drivestoredirect:s:
redirectdrives:i:1
disableremoteappcapscheck:i:1
remoteapplicationprogram:s:mspaint
my application requires some command line parameters so i did a lot of testing with notepad opening with a file... like path=c:\windows\notepad.exe c:\test.txt
Cannot get that to work.
I even created a bat file called notepad.bat and in the bat file put "START c:\windows\notepad.exe c:\test.exe"
That works, but it ignores the command line argument, which i don't understand how it is possible.
Also in my testing i have noticed that for mspaint and notepad the key name or the name string value must match the name of the executable (without the exe) which i don't understand fully understand either.
Any thoughts/Tips?
I have some old keys in the registry from XPMode and that have string values for command line arguments and I tried that but TS RemoteApps must not recognize those string values.