Is there a way to use a remote desktop connection to access the remote computers files via a share?

2

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.

mindless.panda

Posted 2010-03-30T18:32:24.297

Reputation: 6 642

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? – Matthew Lock – 2013-10-22T02:58:23.523

Answers

2

You can try installing Hamachi. It is a SSLVPN, 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.

qroberts

Posted 2010-03-30T18:32:24.297

Reputation: 4 609

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.

Kent

Posted 2010-03-30T18:32:24.297

Reputation: 147

3But the ports needed to use those shares are blocked. – mindless.panda – 2010-04-13T18:07:52.023

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.

mindless.panda

Posted 2010-03-30T18:32:24.297

Reputation: 6 642

I think it does. At least later versions of Remote Desktop Connection. – Peter Mortensen – 2018-07-02T16:52:02.620

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.

Dave M

Posted 2010-03-30T18:32:24.297

Reputation: 12 811

I'm not on the same network - this is via the internet. The router blocks file share 139, etc. – mindless.panda – 2010-03-30T20:19:37.733

No VPN? How would you use RDP – Dave M – 2010-03-31T00:32:26.183

1VPN isn't required. I use RDP by connecting to server IP. – mindless.panda – 2010-04-13T18:07:16.707

Any reason for down votes? – Dave M – 2013-10-22T16:02:53.613

0

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.

GAThrawn

Posted 2010-03-30T18:32:24.297

Reputation: 4 176

1I'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. – mindless.panda – 2010-03-30T20:25:17.817

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). – Peter Mortensen – 2018-07-02T16:45:50.297

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).

James Mertz

Posted 2010-03-30T18:32:24.297

Reputation: 24 787

-2

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/

Mr Fooz

Posted 2010-03-30T18:32:24.297

Reputation: 3 324

My question stated I cannot install extra services. – mindless.panda – 2010-03-30T20:24:45.087

How can it work if those two ports are blocked? – Peter Mortensen – 2018-07-02T16:42:37.430

-3

You should use Terminal Server for this task.

Also try:

mstsc /v:SERVERNAME /console

Art W

Posted 2010-03-30T18:32:24.297

Reputation: 99

2and how do I copy files from the remote machine to my local machine using your command line suggestion? – mindless.panda – 2010-03-30T18:44:17.060

What is Terminal Server? – Peter Mortensen – 2018-07-02T16:40:01.617