Skip to main content

How To Connect Two Computers Using LAN Cable

If you don't have access to network and need to transfer files from your old desktop computer to a new laptop, you may connect both of your computers using a crossover Ethernet cable. You will need to further modify some network settings in both of your computers in order to be able to share or transfer files between them. Follow the steps below to connect your two computers and transfer files between them. This process involves two steps - first step is to connect two computers and second is to share the folder.


Step 1: Preparation to Network two computers with crossover cable

 1. Make sure both of the computers have NIC card (i.e. Network Interface Card) and Network interface is enabled (to enable Network Interface, go to Start -> Control Panel and click on Network Connections then Right Click on Local Area Connection and click on Enable).

2. Make sure you have Cross Over Cable with you (It is different from Straight through Cable and can be available at the same computer store where you get Straight Cable).

3. Connect both computers with cross over cable (i.e. connect crossover cable to Ethernet Port of each computers).


You have to assign permanent (Static) IP address. Here are step-by-step instructions showing you how to set permanent IP address and other network information:

1. Go to Start and click on Control Panel.

2. Control Panel window will appear. Double click on Network Connections.

3. Network Connections window will appear. Right click correct Local Area Connection by identifying correct network card and click Properties.

4. Select Internet Protocol (TCP/IP) and click on Properties.

5. Click on the Network Protocol (TCP/IP) -> Properties and then Click Use the following IP address. After that, enter the values shown below for each of the computer described as computer A and Computer B and then press OK.

Computer A:
IP Address:
Subnet mask:
DNS Servers: Leave it blank

Computer B:
IP Address:
Subnet mask:
DNS Servers: Leave it blank

Test the connection

Since your configuration is over so lets test the connectivity between two computers. Click on Start ->Cmd and then Type ping from Computer A and check to see if you are getting reply or not. It should be like -
Reply from bytes=32 time -<1ms


Step 2: Share the file in Computer A

1. Right click on the folder you want to share and click on Sharing and Security.

2. Select Share this folder and click OK. You will see hand underneath the folder if it is shared correctly.


If you don’t see the Share this folder after you click on Sharing and Security, then you have to run Network Setup Wizard. Go to Start -> Control Panel and click on Network Setup Wizard. Run the Wizard and enable the Print and File Sharing.

Search the Shared Folder on Computer A from Computer B

1. Go to Start -> Search -> Click on Computer or People -> Click on Computer on the Network -> Type in Computer Name search Box.

2. It will search the computer and display that in the right pane. Click on that and you will see your shared folder in that.

3. Now copy your files and folder from that shared folder to Computer B.