문제

Part of my daily work involves transferring of data from my system to client system using MSTSC, is it possible to automate this transfer or is there any command line that i can use instead of connecting to the Jumpbox and then manually moving the files.

도움이 되었습니까?

해결책

There is no command line switch or Remote Desktop Services API to let you to access the remote session.

You can write a file server (e.g. FTP) or a virtual channel to transfer the files.

다른 팁

You said 'jump box' so I'm assuming you need to connect to your jump server and then start your rdp session.

How are you copying the files once you logon to the remote server? Drag and drop (copy/paste) via Explorer? If so this can be hideously slow through a jump server. It's best to use a command line copy utility and the \tsclient mappings.

robocopy \\tsclient\C\somefolder C:\temp *.exe or whatever. Unfortunately this is all predicated on establishing the remote desktop session first so there is no way I'm aware of to initiate a copy from your local workstation to the remote host using a jump server.

One thing we're trying to do is to get our security people to allow firewall rules into our secured zones so we can automate BITS to do the copies for us.

You can use freerdp or rdesktop Linux aplications (for example under virtual server environment if you have not one already) to map remote dirs on local pathes and then copy to it.

There also tool for windows - http://www.analogx.com/contents/download/System/tsdc/Freeware.htm but I had not test it.

Can't you use a Scheduled Task? I'll generally try and use a batch file or something simple, or you can use robocopy etc.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top