3

Is there a way to connect to a remote Windows server and its files via RDP, but not graphically?

I could use the connection to transfer files via the \\TSCLIENT networking mapping or by actually dragging and dropping files. However, I'd like to know if it's possible to do something similar to an SCP connection or being able to map the remote connection's files to the local machine.

Some difficulties/parameters of the situation:

  • I have administrator access.
  • There is no VPN access.
  • I am not on the same network and file sharing ports such as 139 and 445 are blocked.
  • I am trying to do this without connecting via the graphical RDP client (although if was required it would be OK).
  • I cannot install additional services since I do not administer the network and ports are closed.
1
  • Is port 80 open for you? Can you run something on the server and access it on port 80, or some other port using HTTP? Oct 22, 2013 at 2:58

8 Answers 8

3

You can try installing Hamachi. It is a SSL VPN, and it should bypass the router configuration as it uses the traditional SSL port (443). Then you can use the generic Windows file sharing over that.

At my old workplace I used this all the time. I would remote my machine at home and surf the web from there.

1

This might not be an answer to your question, but you might try the administrative shares.

You say you have access to RDP and that you have administrative privileges, then this might work:

\\servername\c$ for accessing the C: drive.

\\{IP}\c$ in case the previous doesn't work.

1
  • 3
    But the ports needed to use those shares are blocked. Apr 13, 2010 at 18:07
1

Without administrator access to install some other services, e.g. VPN, this seems highly unlikely as RDP does not offer this sort of capability.

1
  • 1
    I think it does. At least later versions of Remote Desktop Connection. Jul 2, 2018 at 16:52
1

If you can get RDP access to a machine then you should be able to map a drive across the RDP connection.

You can do this in either direction. When you open the MSTSC up, click OptionsLocal ResourcesMore and tick "Local Drives" then the drives on your local PC should show up in the drive listing on the server.

You can use the \\tsclient\drive_letter, for example. \\tsclient\d to access your local drives from the remote machine. I've had to do this in the past when connecting to a server that was behind a firewall that didn't allow any of the normal Windows file transfer methods through.

Alternatively the normal Windows way to get a secure connection to a machine on a remote network would be a VPN connection, once you've got that you can map a drive as normal and use any of the normal command line tools.

2
  • 1
    I'm aware of being able to access my local drives on the remote connection. You mention I can do this in either direction. How do I map remote drives or folders to my local machine. This might be an acceptable workaround. I just don't want to have to do file management via the remote display. Mar 30, 2010 at 20:25
  • I think this is viable. How would it work if the remote computer is a Linux machine (not in the question, but it would make for a broader applicable answer). Jul 2, 2018 at 16:45
0

If you have administrator access you can access the drive directly if you have a VPN connection or are on the same network. \\servername\sharename and then copy or do whatever.

4
  • I'm not on the same network - this is via the internet. The router blocks file share 139, etc. Mar 30, 2010 at 20:19
  • No VPN? How would you use RDP
    – Dave M
    Mar 31, 2010 at 0:32
  • 1
    VPN isn't required. I use RDP by connecting to server IP. Apr 13, 2010 at 18:07
  • Any reason for down votes?
    – Dave M
    Oct 22, 2013 at 16:02
0

LogMeIn Pro has an option to access your PC both graphically and file transfers through your browser.

There is a free option, but I believe that only allows access to the RDP connection and not the file transfer. Subscription is USD $70 a year per PC. It works great. I use only the free option since I have no need to access the files, but this is a comparison of the free vs. pro options.

I know that this is a paid option, but it's also the easiest and can generally be done even if you don't have administrator access (but not always).

-1

You should use Terminal Server for this task.

Also try:

mstsc /v:SERVERNAME /console
2
  • 2
    and how do I copy files from the remote machine to my local machine using your command line suggestion? Mar 30, 2010 at 18:44
  • What is Terminal Server? Jul 2, 2018 at 16:40
-1

As others have suggested, you can set up a Windows file share.

Alternatively, you could set up an SSH server on the remote machine. One such server: http://sshwindows.sourceforge.net/

2
  • My question stated I cannot install extra services. Mar 30, 2010 at 20:24
  • 1
    How can it work if those two ports are blocked? Jul 2, 2018 at 16:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .