Download Article Download Article

This wikiHow teaches you how to connect two computers. You can connect two Mac or PC computers using an ethernet cable to share files or internet access between the two computers. You can also share files between computers using either an ethernet connection or Wi-Fi.

Things You Should Know

  • Use Wi-Fi to share between two Windows computers or two Macs.
  • Use an Ethernet cable to connect Mac-to-Mac, Windows-to-Windows, or Mac-to-Windows.
  • Use a USB-to-USB Data Transfer Cable. Make sure both of your computers have appropriate USB ports to complete the transfer.
Method 1
Method 1 of 8:

Sharing and Accessing Files on Windows Using Wi-Fi

Download Article
  1. In order to share and access files over Wi-Fi, both computers need to be connected to the same wireless network. You can share files between both Mac and Windows computers.
  2. Use the following steps to open Advanced Sharing Settings menu:
    • Click the Windows Start button.
    • Click the Settings/Gear icon.
    • Click the Network & Internet icon.
    • Click Ethernet in the menu bar to the left.
    • Click Change advanced sharing settings below "Related Settings" on the right.
    Advertisement
  3. This displays the network sharing options for Private networks.
  4. To do so, click the radio option next to "Turn on network discovery," and "Turn on file and printer sharing."
    • Network discovery allows your computer to been seen and see other computers using private accounts on your computer.
    • File and printer sharing allows you to share files and printers over a network.
  5. This is the second sharing option below "Private" in the Advanced Sharing Settings menu. This displays the network sharing options for guest and public accounts on your computer.
  6. To do so, click the radio option next to "Turn on network discovery," and "Turn on file and printer sharing."
  7. This is the third sharing option below "Guest and Public." This displays the advanced sharing options for all networks your computer is connected to.
  8. To do so, click the radio option next to "Turn on sharing so anyone can read and write files in the public folders." This allows you to share files over the network.
  9. If password-protected sharing is turned on, other users will need to enter your computer username and password to access your shared folders. If it is turned off, anyone on the network can access your shared folder. To turn it on, click the radio option next to "Turn password protected sharing on." If you are okay leaving it turned off, click the radio option next to "Turn password protected sharing off."
  10. In order for the other computer to be able to access your files, you need to share them. Use the following steps to share a folder:
    • Press Windows Key + E to open File Explorer.
    • Right-click a file or folder you want to share.
    • Click Properties.
    • Click the Sharing tab at the top.
    • Click Share.
    • Select Everyone in the drop-down menu and click Add.
    • Set the permission level to "Read/Write" (or just "Read" if you don't want the other computer to be able to modify the files).
    • Click Share.
  11. In order to access shared files on another computer, you will need to know the login username and password for the other computer. You can access files on another Windows computer or a Mac. Use the following steps to access shared files from another computer:[1]
    • Press Windows key + E to open File Explorer.
    • Click Network in the panel to the left.
    • Click the computer you want to access. If you don't see the computer listed, type "\\" followed by the computer name in the address bar at the top.
    • Enter the computer's username and password and click Ok.
    • Click the user whose files you want to access.
    • Open the folder with the files you want to access.
  12. Advertisement
Method 2
Method 2 of 8:

Sharing Files from Windows to Windows Via Ethernet Cable

Download Article
  1. Use an Ethernet cable to connect your two computers to one another.
  2. You'll need to do this on both computers to ensure they are configured properly. Use the following steps to open the "Network & Sharing Center" on a Windows 10 computer:
    • Click the Windows Start button.
    • Click the Settings/Gear icon.
    • Click the Network & Internet icon.
    • Click Ethernet in the menu bar to the left.
    • Click Network and Sharing Center below "Related Settings" on the right.
  3. It's below "Internet" on the right side. This displays your Ethernet status.
    • If you don't see "Ethernet" on the right side, click Change adapters settings on the left and right-click the connected "Ethernet" connection. Then click Properties.
  4. It's the first button at the bottom of the Status window.
  5. This displays the internet protocol properties. Do this for both computers.
  6. This allows you to manually input a unique IP address for both computers.
  7. You can leave the subnet mask as "255.255.255.0" for both computers. Enter the following IP addresses on each computer:[2]
    • Computer 1: 192.168.1.2
    • Computer 2: 192.168.1.1
  8. You'll need to edit the privacy settings for your Ethernet connection. If you are using Windows 10 Pro or Enterprise Edition, you can skip this step. However, if you are using Windows 10 Home Edition, you will need to download a batch file is used to enable Local Security Policy editor.[3]
    • Go to https://www.itechtics.com/enable-secpol-msc/ in a web browser.
    • Scroll down and click "GPEdit Enabler for Windows 10 Home Edition." You may receive a warning from your antivirus software. It's safe to download.
    • Right-click the downloaded file in your Downloads folder and click Run as Administrator.
    • Wait for the script to finish processing.
  9. In order to be able to share files between the two computers, the ethernet connection must be set to "Private." This needs to be done on both computers. Use the following steps to open the Local Security Policy editor.
    • Click the Windows search bar in the taskbar at the bottom.
    • Type secpol.msc.
    • Click the "secpol.msc" file.
  10. It's the fourth option in the Local Group Policy editor. It's the option that doesn't have any sub-folders. Do this on both computers.
  11. This displays the properties window for your unidentified networks.
  12. This sets your unidentified networks to Private. The Ethernet connection should now read as "Private" in the "Network and Sharing Center." Again, this needs to be done on both computers.
  13. In order for the other computer to be able to access your files, you need to share them. Use the following steps to share a folder:
    • Press Windows Key + E to open File Explorer.
    • Right-click a file or folder you want to share.
    • Click Properties.
    • Click the Sharing tab at the top.
    • Click Share.
    • Select Everyone in the drop-down menu and click Add.
    • Set the permission level to "Read/Write" (or just "Read" if you don't want the other computer to be able to modify the files).
    • Click Share.
  14. In order to access shared files on another computer, you will need to know the login username and password for the other computer. Use the following steps to access shared files from another computer:
    • Press Windows key + E to open File Explorer.
    • Click Network in the panel to the left.
    • Click the computer you want to access. If you don't see the computer listed, type \\[computer-name] in the address bar at the top.
    • Enter an username and password and click Ok.
    • Click the user whose file you want to access.
    • Open the folder with the files you want to access.
  15. Advertisement
Method 3
Method 3 of 8:

Sharing and Accessing Files on a Mac Using Wi-Fi

Download Article
  1. In order to be able to share files over Wi-Fi, both computers must be connected to the same wireless network. You can share files using both Mac and Windows computers.
  2. You'll find this option in the drop-down menu. Doing so opens the System Preferences window.
  3. It's in the System Preferences window. A new window will open.
  4. Ensure the checkbox next to "File Sharing" in the menu to the left is checked. This enables Files Sharing. Then click File Sharing in the menu to display the File Sharing menu.
  5. This opens a Finder window that allows you to select a folder you want to share.
  6. Use the Finder window to navigate to a folder you want to share. Click it to select it. Then click Add in the lower-right corner.
  7. To set the folder permissions click the user you want to access the folder (or click everyone). Then use the drop-down menu to select "read/write" or "read only". Read/write allows other users to access and modify the files in the folder. Read only only allows users to view the files but not modify them.
  8. You'll need to know the name of the computer you want to access and the username and password if they have password protection turned. You can do this with both Windows and Mac computers. You'll also need to know the name of the computer you want to access. Use the following steps to access a shared folder via Wi-Fi on a Mac:
    • Open the Finder.
    • Click Go in the menu bar at the top.
    • Click Connect to Server at the bottom of the drop-down menu.
    • Click Browse and select the computer you want to access. If you don't see the computer you want to access, enter smb://[computer-name]/ below "Server address" and click Ok.
    • Enter the username and password and click Ok.
    • Click the folder you want to access and click Ok.
  9. Advertisement
Method 4
Method 4 of 8:

Sharing Files from Mac to Mac Via Ethernet

Download Article
  1. Use an Ethernet cable to connect your two Mac computers to one another.
    • Unless one or both of the Macs are iMacs (desktop computers), you'll need two Ethernet to USB-C adapters to plug into your Macs' Thunderbolt 3 ports before you can connect them via Ethernet. The Thunderbolt port is a small pill-shaped port that has an icon that resembles a lightning bolt.
    • If there is no ethernet port on the computer you want to connect, you may need to use an ethernet-to-USB adapter.
  2. Clicking it prompts a drop-down menu.
    • If you don't see Go, click the desktop to force it to appear.
    • Make sure that you're doing this on the Mac from which you want to transfer files.
  3. You'll find this option near the bottom of the drop-down menu.
  4. It's near the bottom of the Connect to Server window. A pop-up window with nearby computers will appear.
    • If you aren't able to find the other computer through "Browse," enter smb://[computer-name] below "Server address" to connect to it manually.
  5. You'll find this in the pop-up window.
  6. This will allow you to connect to the second computer.
  7. It's in the lower-right side of the pop-up window.
  8. 9
    Select the computer you want to access. It should be listed in the side panel to the left in the Finder under "Shared."
  9. This copies the files you selected from the other Mac.
  10. This pastes the files on the current Mac.
  11. Advertisement
Method 5
Method 5 of 8:

Sharing Files Between Windows and Mac Via Ethernet

Download Article
  1. Use an Ethernet cable to connect your two computers to one another.
    • You'll need an Ethernet to USB-C adapter to plug into your Mac's Thunderbolt 3 port before you can attach an Ethernet cable to the Mac. The Thunderbolt port is a small pill-shaped port that has an icon that resembles a lightning bolt.
    • If there is no ethernet port on the computer you want to connect, you may need to use an ethernet-to-USB adapter.
  2. Use the following steps to enable File Sharing on Windows:
    • Click the Windows Start menu.
    • Click the Gear/Settings icon.
    • Click Network & Internet.
    • Click Ethernet in the menu on the left.
    • Click Network and Sharing Center below "Related Settings" on the right.
    • Click Change advanced sharing settings.
    • Click Turn on network discovery. for both private and public networks.
    • Click Turn on file and printer sharing for both private and public networks.
    • Click Save changes.
  3. Use the following steps to share a folder on Windows:
    • Press Windows Key + E to open File Explorer.
    • Right-click a folder you want to share and click Properties.
    • Click the Share tab.
    • Click Share.
    • Select Everyone from the drop-down menu and click Add.
    • Select Read/Write as the permission level.
    • Click Share.
  4. Use the following steps to enable File Sharing on a Mac:
    • Open the Apple menu
    • Click System Preferences...
    • Click Sharing
    • Check the "File Sharing" box.
    • Change the "Everyone" permissions from "Read Only" to "Read & Write".
  5. Click the + icon below the list of shared folders, then double-click the folder that you want to share.
    • You may have to click Add to add the folder to the list of shared folders.
  6. You can do this from within the File Explorer:
    • Open Start.
    • Click File Explorer.
    • Click the Mac's name below the Network heading on the left side of the File Explorer.
    • Open the shared folder.
    • Select the files that you want to save, then press Ctrl+C
    • Go to a folder on your computer and then press Ctrl+V.
  7. You can do this from within the Finder using the following steps:
    • Open the Finder.
    • Click your Windows computer's name in the lower-left side of the window.
    • Open the shared folder.
    • Select the files that you want to save, then press ⌘ Command+C
    • Go to a folder on your Mac and then press ⌘ Command+V.
  8. Advertisement
Method 6
Method 6 of 8:

Transfering Files Using a USB-to-USB Data Transfer Cable

Download Article
  1. 1
    Purchase a USB-to-USB data transfer cable. USB-to-USB data transfer cables have a USB-A connector on both ends. They allow you to transfer data between two computers. To do this, you will need special data transfer software. This may come with the USB-to-USB data transfer cable, or it can be purchased or downloaded online.
    • Check to make sure the software you are using to transfer files is compatible with your operating system. Especially if you are using a Mac computer or an older operating system.[4]
    • You will need to use the same data transfer software on both computers.
  2. 2
    Install the data transfer software on both computers. If the data transfer cable you purchased came with a CD or DVD, you can use that to install the data transfer software on both computers. If it did not come with a CD or DVD, or your computer(s) don't have an optical disk drive, consult the user's manual that came with the data transfer cable for instructions on how to download the software online.
  3. 3
    Connect the USB-to-USB data transfer cable to both computers. Plug one end of the USB cable to a free USB port on one computer. Then connect the other end of the USB cable to a free USB port on the second computer.
  4. 4
    Start the data transfer software on both computers. Click the icon for your data transfer software on both computers to launch it. It may be on your desktop, Windows Start menu, or Applications folder on Mac.
  5. 5
    Select the option to transfer files. Each file transfer program may be a little different. Some may have the option to sync all files between both computers so that both computers have the same files. There may also be an option to transfer everything from one computer to another. Select the option that allows you to choose which files you want to transfer. This may be a drag-and-drop option or an option to allows you to click the files you want to transfer in File Explorer or the Finder.
  6. 6
    Select the files you want to transfer. Either navigate to and click the files you want to transfer to select them, or use the drag-and-drop interface to click and drag the files you want to transfer into the data transfer software.
  7. 7
    Transfer the files you select. After selecting the files you want to transfer, click Ok, Send, Transfer or similar to send the files to the other computer.[5]
  8. Advertisement
Method 7
Method 7 of 8:

Sharing Internet from Windows

Download Article
  1. Use an Ethernet cable to connect your two computers to one another.
    • You'll need an Ethernet to USB-C adapter to plug into your Mac's Thunderbolt 3 port before you can attach an Ethernet cable to a Mac. The Thunderbolt 3 port is a small, pill-shaped port that has a lightning bolt icon above it. On Macbooks, it is generally found on the side. On iMacs, it is generally found on the back.
    • If your computer does not have an ethernet port, you may need to get an ethernet-to-USB adapter for your computer.
  2. Use the following steps to open the "Network Connections" window on the host computer:
    • Click the Windows Start button.
    • Type "Network Connections."
    • Click View Network Connections.
  3. Doing so prompts a drop-down menu to appear. Click Properties at the bottom of that menu.
  4. This allows you to set your sharing options for your computer.
  5. It's the checkbox next to "Allow other network users to connect through this computer's internet connection." It's the first option at the top of the window.
  6. Use the drop-down menu below "Home network connection:" to select how you will be sharing your internet. If you are using an ethernet cable, you will need to select "Ethernet."
  7. This saves your internet sharing settings.
  8. This displays the Properties menu for the Ethernet connection.
  9. This displays the internet protocol properties.
  10. This allows you to manually assign an IP address for the host computer.
  11. Enter the IP address in the spaces next to "IP Address." You can leave the Subnet Mask as "255.255.255.0." Click Ok when you are finished. This is all you need to configure on the computer that is hosting an internet connection.[6]
  12. Now jump on the computer that is receiving an internet connection (the client computer) and use the following steps to open the "Network Connections".
    • Click the Windows Start menu.
    • Type "Network Connections."
    • Click View Network Connections.
  13. This displays the Properties menu for the Ethernet connection.
  14. This displays the internet protocol properties.
  15. This allows you to manually assign an IP address for the client computer as well as enter the IP address for the host computer.
  16. You can leave the Subnet mask as it is, but the IP address must be unique from the host computer. You also need to include the host computer's IP address as the default gateway and DNS server. This allows the client computer to access the internet through the host computer's internet access. Assign the following information to the second computer:
    • IP address: 192.168.0.2
    • Subnet Mask: 255.255.255.0
    • Default Gateway: 192.168.0.1
    • Preferred DNS server: 192.168.0.1
  17. Advertisement


Method 8
Method 8 of 8:

Sharing Internet from a Mac

Download Article
  1. Use an Ethernet cable to connect your two Mac computers to one another.
    • If connecting a Mac to another Mac, you'll need two Ethernet to USB-C adapters to plug into your Macs' Thunderbolt 3 ports before you can connect them via Ethernet. The Thunderbolt port is a small pill-shaped port with a lightning bolt icon above it.
    • If you cannot connect an ethernet cable to one of the computers, you may need an ethernet-to-USB adapter.
  2. The host computer is the computer that is sharing it's internet connection with another computer. The host computer should be connected to the internet either via Wi-Fi or another ethernet connection. Click the Apple logo in the top-left corner of the screen. A drop-down menu will appear.
  3. You'll find this option in the drop-down menu. Doing so opens the System Preferences window.
  4. It's in the System Preferences window. A new window will open.
  5. This option is in the list on the left side.
  6. It's in the middle of the window. A drop-down menu will appear.
  7. This option is in the drop-down menu.
    • If your computer is connected to the internet through a connection other than Wi-Fi, be sure to select the connection type you are using to access the internet instead.
  8. Doing so shares your Mac's Internet connection with the computer to which it is currently connected via Wi-Fi.
  9. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Is it possible to connect computers with different operating systems to a network?
    Community Answer
    Community Answer
    Yes, absolutely. It may be a little more work to share files and resources, but this is a very common home network situation.
  • Question
    How do I share one PC's internet to another PC that doesn't have an internet connection?
    Community Answer
    Community Answer
    Follow the instructions above. This clearly indicates how to use a twisted pair wire to communicate between the two machines.
  • Question
    How do I connect computers together that are on different levels of the house?
    Community Answer
    Community Answer
    That depends on how your house was wired. If it is a modern house, the cables built into or near the electrical outlets should be your answer. Find the correct adapter and plug in the first computer. Then hook up the second with a reverse connector. Plug the second machine into that connector. Then boot up the first machine while the second machine is still on; one is always the master, the others are just pawns.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Show More Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Transferring files over Wi-Fi is almost always slower than using a cable.
  • You can only transfer files and folders from one computer to another. You cannot transfer installed programs and applications.
Advertisement

You Might Also Like

Combine Two Internet ConnectionsCombine Two Internet Connections
Make a Network CableMake a Network Cable
Set up a Wireless Network (WiFi) ConnectionHow to Set Up and Connect to a Wi-Fi Network: Easy Guide
How to Check if a Port is Open: 5 Quick Ways
Find the MAC Address of Your ComputerFind the MAC Address of Your Computer
Change a Computer's Mac Address in Windows3 Ways to Change a Computer's Mac Address in Windows
Connect One Router to Another to Expand a NetworkConnect One Router to Another to Expand a Network
Get a MAC Address from an IP RemotelyGet a MAC Address from an IP Remotely
Set Up Port Forwarding on a RouterHow to Forward a Port on Any Router: Easy Guide
Create a Local Area Network (LAN)Create a Local Area Network (LAN)
Join a Computer to a DomainHow to Join a Domain on a Windows Computer or Mac
Track a PersonTrack a Person
Set up a Network DriveHow to Set up a Shared Network Drive
Flush DNS4 Ways to Flush the DNS Cache to Fix Web Browsing Errors
Advertisement

About This Article

Travis Boylls
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Travis Boylls. Travis Boylls is a Technology Writer and Editor for wikiHow. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College. This article has been viewed 3,212,096 times.
How helpful is this?
Co-authors: 84
Updated: December 21, 2023
Views: 3,212,096
Article SummaryX

1. Connect the two computers with an Ethernet cable.
2. Open the search bar and type ″control panel.″
3. Click Control Panel.
4. Click Network and Internet.
5. Click Network and Sharing Center.
6. Click Change adapter settings.
7. Select the Wi-Fi and Ethernet connections.
8. Right-click the Wi-Fi connection.
9. Click Bridge Connections.

Did this summary help you?

Thanks to all authors for creating a page that has been read 3,212,096 times.

Is this article up to date?

Advertisement