Well - more investigation - it is not a drive letter like "E:" on the
mapped server side. It is "\\tsclient\e" for mapped terminal drive
letter "e".
And the message "New USB Drive" in WIndows 10 came from the client
computer and is not within the session - this miss-lead me to the
assumption that it is a drive letter.... The message overlayed the
full-screen session....
This post tells how to enumerate this on the C level:
http://www.44342.com/Windows-Terminal-Services-f1018-t1029-p1.htm
I will try it now.
Second challenge is to eject the USB Stick on the terminal from the
program running in remote - we will see.
Thanks,
Harald