"We are back" « oc.at

Win2k Server / Remotedesktop

ColdFire 28.03.2007 - 13:20 1291 17
Posts

ColdFire

Addicted
Avatar
Registered: Feb 2005
Location: OÖ / Linz
Posts: 360
push _?!

FrankEdwinWrigh

stuck on the outside
Avatar
Registered: Nov 2002
Location: im 21. Jhdt.
Posts: 2507
google sagt der syntax lautet nicht

net use com1 \\client\com1

sondern

net use com1 \\client\com1:


ausserdem musst du wirklich \\Client schreiben, nicht denn namen deines Clients, das ist keine Variable

check das bitte mal :D
Bearbeitet von FrankEdwinWrigh am 29.03.2007, 13:33

ColdFire

Addicted
Avatar
Registered: Feb 2005
Location: OÖ / Linz
Posts: 360
Soooo... mittlerweile hab ich einiges weitere erfahren...

Ich suche nun ein programm dasmit das redirekt korrekt macht redirekt einer seriellen schnittstelle.

change port /query bringt keine session bei meinen ports. sollte aber sein:

Zitat
UpdateHow can I verify that my local COM ports are redirected?

Last modified: February 4, 2007

Start a command window and type the following command at the prompt:

change port /query

The output will look something like this:

AUX = \DosDevices\COM1 COM1 = \Device\RdpDrPort\;COM1:15\tsclient\COM1
COM2 = \Device\RdpDrPort\;COM2:15\tsclient\COM2
COM3 = \Device\RdpDrPort\;COM3:15\tsclient\COM3
LPT1 = \Device\RdpDrPort\;LPT1:15\tsclient\LPT1
PRN = \DosDevices\LPT1

From the above, you can see that COM1-3 and LPT1 are redirected. The number 15 is the session id, so that will change depending on the current session id.

If they are not redirected, the output will look something like this:

AUX = \DosDevices\COM1
COM1 = \Device\Serial0
COM2 = \Device\Serial1

For a different solution, check:
314354 - How To Programmatically Determine Whether Serial Ports Are Redirected to a Terminal Server Client Computer

Back to top
Link -->

Vill kann mir noch jemand nen tipp nenen !?

glg CF
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz