Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening a remote machine's Windows C drive [closed]

I'm trying to locally mount a machine's C drive that is on my LAN. I need to able to browse the contents of the other machine when tracing through code. I once saw a sys admin do some crazy windows incantation from the cmd prompt. Something like $remote_machine/local_access/C

Is anyone familiar with how this is done?

like image 211
Ross Rogers Avatar asked Mar 03 '09 14:03

Ross Rogers


People also ask

How do I access C drive remotely from command prompt?

Press the Windows key+r together to bring up Run, type "cmd" in the field, and press Enter. The command for the Remote Desktop connection app is "mstsc," which you use to launch the program. You are then prompted for the computer's name and your username.

How do I access C drive remotely Windows 10?

On the client computer, go to "Device", locate and click the PC that you need to control. And then click "Remote control" to achieve remote connection with one click. After that, you can access C Drive easily.


2 Answers

If it's not the Home edition of XP, you can use \\servername\c$

Mark Brackett's comment:

Note that you need to be an Administrator on the local machine, as the share permissions are locked down

like image 156
Ryan Emerle Avatar answered Sep 22 '22 00:09

Ryan Emerle


If you need a drive letter (some applications don't like UNC style paths that start with a machine-name) you can "map a drive" to a UNC path. Right-click on "My Computer" and select Map Network Drive... or use this command line:

NET USE z: \server\c$\folder1\folder2

NET USE y: \server\d$

Note that you can map drive-to-drive or drill down and map to sub-folder.

like image 20
Mark Avatar answered Sep 18 '22 00:09

Mark