We need the Com port to remain the same even after disconnects. The serial adapter is "ATEN USB to Serial Bridge" GUC232A from IOGEAR being passed from a Linux client. If there were serial port redirection for the Linux client, we would use that instead of USB redirection.
We have tried the following in a "Commands to run on disconnect" script in this order:
devcon remove "*VID_0557&PID_2008"
net stop ser2at
We have granted authenticated users recursive full control of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB with a reg delete of that key
reg delete "HKLM\SYSTEM\CurrentControlSet\Enum\USB\VID_0557&PID_2008" /f
Nothing seems to work. Any advice? Peter?
On a running system, in this order:
the net stop ser2at responds "The requested pause, continue, or stop is not valid for this service."
reg delete responds "ERROR: Delete request is partially completed."
Devcon responds "USB\VID_0557&PID_2008\6&22B51DFA&0&4: Removed \n 1 device(s) were removed."
Could someone please elaborate when "Commands to run on disconnect" runs and under what user context? Will it run if I just unplug the physical computer or will it run only if I use the horizon view menu to disconnect? What about unplugging the network connection?
Message was edited by: EricNichols added response errors and questions about when it runs.
Message was edited by: EricNichols