28 February 2012

Connect two computers over Internet and Access Drivers



You can connect two computers over the Internet and use a given computer's drives just like you'd use local drives. You can run programs, copy, get a list of files, etc.

 

connect two computers

Follow the Steps:

  • Make sure that both computers (computer A and B ) have "TCP/IP" and "NetBEUI" protocols installed and properly functioning.
  • Make sure that the "Remote Access Serives" are setup and properly functioning.

1. Find out the IP address of computer A.

You can do this by going to the network icon in the "Control Panel"

For example, let's assume that "205.159.67.4" is the IP address of computer A.

2. Enable file sharing and share a path of your choice on computer A.

For example, share "C:\" as "INTERNET_DRIVE"

3. Log both computers on to the Internet (dial and connect to your internet service provider for example). If you're on an Intranet, you don't have to connect to the Internet.

4. Go to computer B's "DOS/Command Prompt" and type:

NET USE X: \\205.159.67.4\INTERNET_DRIVE

If you get an user name/password or logon error, use the following command instead (after replacing uname with the actual user name and pword with the matching password):

NET USE X: \\205.159.67.4\INTERNET_DRIVE /USER:uname pword

This will map computer B's drive X to computer A's shared path INTERNET_DRIVE, which is computer A's C: drive.

Now you can use drive X over the Internet just like any other drive on your local computer.

Hv gr8 day!

ABOUT THE AUTHOR
AbhiShek SinGh
Founder of 'TheHackingArticles'. Cyber Security Analyst, Cyber Security Researcher, and Software Engineer. Follow 'AbhiShek SinGh' on Facebook , Twitter or Google+ or via Email

Subscribe to stay up to date