rmontz
New member
I have posted the details of what we are trying to do below. I would be happy with any and all suggestions.
Server: Windows 2008 R2 sp1, Remote desktop works however my Batch file for redirecting Serial Ports does NOT (see Below)
Client: Windows XP, MSTSC is set to allow serial port over network
BATCH FILE COMMANDS
Echo off
Cls
Echo Deleting old serial mappings
net use com5 /delete
net use com6 /delete
net use com7 /delete
net use com8 /delete
Echo Establishing new serial mappings
net use com5 \\tsclient\com1
net use com6 \\tsclient\com2
net use com7 \\tsclient\com3
net use com8 \\tsclient\com4
RESULTS
Echo Deleting old serial mappings.
Deleting old serial mappings.
net use com5 /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
net use com6 /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
net use com7 /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
net use com8 /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
Echo Establishing new serial mappings.
Establishing new serial mappings.
net use com5 \\tsclient\com1
System error 1200 has occurred.
The specified device name is invalid.
net use com6 \\tsclient\com2
System error 1200 has occurred.
The specified device name is invalid..
net use com7 \\tsclient\com3
System error 1200 has occurred.
The specified device name is invalid.
net use com8 \\tsclient\com4
System error 1200 has occurred.
Server: Windows 2008 R2 sp1, Remote desktop works however my Batch file for redirecting Serial Ports does NOT (see Below)
Client: Windows XP, MSTSC is set to allow serial port over network
BATCH FILE COMMANDS
Echo off
Cls
Echo Deleting old serial mappings
net use com5 /delete
net use com6 /delete
net use com7 /delete
net use com8 /delete
Echo Establishing new serial mappings
net use com5 \\tsclient\com1
net use com6 \\tsclient\com2
net use com7 \\tsclient\com3
net use com8 \\tsclient\com4
RESULTS
Echo Deleting old serial mappings.
Deleting old serial mappings.
net use com5 /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
net use com6 /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
net use com7 /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
net use com8 /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
Echo Establishing new serial mappings.
Establishing new serial mappings.
net use com5 \\tsclient\com1
System error 1200 has occurred.
The specified device name is invalid.
net use com6 \\tsclient\com2
System error 1200 has occurred.
The specified device name is invalid..
net use com7 \\tsclient\com3
System error 1200 has occurred.
The specified device name is invalid.
net use com8 \\tsclient\com4
System error 1200 has occurred.