Terminal Services Scripting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H
I've got following task. There is win2003 server with Terminal Service enabled and winXP client. I need to copy few files from server to client by means of RDP (on the server side only RDP port opened so no shares - additional ports are not allowed). And I need it every day, so I'm searching a way to automate this task. I've read Windows 2000 Scripting Guide, WMI SDK, ADSI SDK, WSH docs and still don't have an answer. Any suggestions? Thanks in advance.
 
Is there a reason why you can't do this with a logon or logoff script, i.e. copy files \\tsclient\C\Pat

Patrick Rous
Microsoft MVP - Terminal Serve
http://www.workthin.co

----- Alex Hammer wrote: ----

H
I've got following task. There is win2003 server with Terminal Service enabled and winXP client. I need to copy few files from server to client by means of RDP (on the server side only RDP port opened so no shares - additional ports are not allowed). And I need it every day, so I'm searching a way to automate this task. I've read Windows 2000 Scripting Guide, WMI SDK, ADSI SDK, WSH docs and still don't have an answer. Any suggestions? Thanks in advance.
 
Yes, there is. Can't open additional ports and network adapter bindings - tcp/ip only allowed.
 
This command runs over RDP on Port 3389

Patrick Rous
Microsoft MVP - Terminal Serve
http://www.workthin.co

----- Alex Hammer wrote: ----

Yes, there is. Can't open additional ports and network adapter bindings - tcp/ip only allowed.
 
Is it means that 3389 is the only port will be used for copying files in this case? And no 137,445,etc?
 
That is correct. ALL traffic goes over TCP port 3389, screen paint, keyboard & mouse clicks, print jobs, audio, file copy/paste. Pretty cool huh

Terminal Server & Remote Desktop how tos
http://www.workthin.com/tshta.ht

Patrick Rous
Microsoft MVP - Terminal Serve
http://www.workthin.co

----- Alex Hammer wrote: ----

Is it means that 3389 is the only port will be used for copying files in this case? And no 137,445,etc?
 
Back
Top