Share via

A step-by-step procedure for creating a two-computer Ethernet cable network between Windows 7 & Windows XP with ICS

Anonymous
2012-02-20T02:24:50+00:00

Introduction

1     I compiled this complete procedure because it was becoming very complicated advising someone who was halfway through setting up a network as it was so difficult to tell which of the preparatory stages had been completed. 

2     The two computers were

“PCXP” - Windows XP Pro SP3 with Windows Firewall.  [section 1]

[added 17 August 2017 - with an alternative in the lower half of section 1 for the case of the first computer also being Win7]

“PC7” - Windows 7 Home Premium x64 SP1 with McAfee Security Center [section 2]

3     The network was set up with an Ethernet “Crossover” Cable but a Standard Ethernet Cable was tried afterwards & the network seemed to work as well as it had done before [I understand that the speed of response will be slightly slower when using a Standard cable but I could not see any difference.]

4     PC7 has a USB Broadband Modem & the procedure includes setting this up as a shared internet connection for the two machines.  [“ICS” = Internet Connection Sharing]


5     I have written instructions in normal font *with explanatory remarks in italics as they can otherwise confuse rather than inform.*I have assumed no network knowledge on the part of the reader.  All the clever stuff in this procedure was worked out by others such as the excellent Steve Winograd.  All I have done is put it all together into a complete procedure.

6     In the procedure, I refer to one machine & its user as “PCXP” & “UserXP” and the others as “PC7” & “User7”.  I refer to their common Workgroup as “XP-7Net”.  One other user account is referred to, “XP-7NetAdmin”.  The actual names used can be virtually anything as long as they are used consistently but avoid using spaces in the PC, User & Workgroup names. 

7     In one part of the procedure, I list settings that Vista PCs would need for a Windows 7 to Windows Vista network.  This is merely because I believe that the whole procedure apart from that one line applies to Vista PCs as well so this small modification might be helpful for some people.

8     The procedure does not include the Windows XP LLTD patch for network mapping because it achieves nothing in this situation.  I tested the LLTD patch & it does work.

9     **Make system images before you start.**Setting up a network involves a lot of individual settings & you could find it difficult to reset everything manually if you want to start again so a system image would save a lot of confusion.  Windows 7 includes a System image facility within Backup & Restore.  For Windows XP, third-party utilities are needed.  On my XP, I use Paragon Backup & Recovery Free Edition 2012 for my system images. 


10     The procedure is divided into a separate post for each major stage of the task

     1 Prepare PCXP

     2 Prepare PC7

     3 Connect

     4 Test & adjust

     5 Posting links to this procedure

[v1.1 dated 6 July 2013]

Windows for home | Previous Windows versions | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Anonymous
    2012-02-20T02:28:53+00:00

    If you want to propose changes to this procedure then by all means post on this thread.

    If you have a problem with setting up a network then you will be better off creating your own thread and just putting in a link to this thread  A step-by-step procedure for creating a two-computer Ethernet cable network between Windows 7 & Windows XP with ICS  [you can select & copy this link straight into your own thread].  The reason for this is that the procedure’s thread is already extremely long & trawling through its many pages will just be too awkward for any meaningful dialog [I have seen this happen with other long threads & they just become impossible to work with so any new posts are often just left without any responses or are misunderstood & incorrect responses given].

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2012-02-20T02:28:29+00:00

    4 Test & adjust

    1    Check network connectivity.

    1.1     On PC7, open a Command prompt window [you can type cmd in the Start menu search box to start it].  Type in <ping PCXP> then press Return.  You should get this response

    Pinging PCXP [192.168.137.2] with 32 bytes of data:

    Reply from 192.168.137.2: bytes=32 time<1ms TTL=128

    Reply from 192.168.137.2: bytes=32 time<1ms TTL=128

    Reply from 192.168.137.2: bytes=32 time<1ms TTL=128

    Reply from 192.168.137.2: bytes=32 time<1ms TTL=128

    Ping statistics for 192.168.137.2:

        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

    Approximate round trip times in milli-seconds:

        Minimum = 0ms, Maximum = 0ms, Average = 0ms

    1.2     On PCXP, open a Command prompt window [you can type cmd in the Start menu Run box to start it].  Type in <ping PC7> then press Return.  You should get a similar response.

    1.3     If you get an error message, “Ping request could not find host PCXP.  Please check the name & try again.”, then you will need to check your cable connection, check your hardware & check all the settings you have put on the PCs.  As a first step, still in the Command prompt on each PC, Type in <ipconfig> then press Return.  Look in the LAN card entry & check the IP address, the SubNet mask & the Default gateway settings.

    2    Check folder sharing

    2.1     On PC7, check that you can see the shared folder on PCXP.  Open Windows explorer, look in the left-hand pane [the “Navigation pane”], click on the arrow next to the entry for Network, click on the arrow next to the entry for PCXP, select the folder you set to be shared on PCXP.  You should be able to see its contents. 

    2.2     On PC7, now select PCXP in the Navigation pane again.  In the right-hand pane, select then right-click on the shared folder & select Create shortcut.  It will put a shortcut on your Desktop.  Have a look in the shortcut’s properties if you want to see how network folder paths are referenced without any need for mounting them as specific drive letters - you can use this path in a batch file or similar.

    2.3    For PC7, you could put this shortcut in your context menu SendTo commands by copying it to

    C:\Users\YourUserName\AppData\Roaming\Microsoft\Windows\SendTo

    2.4     On PC7, if you get an error message “\PCXP... is not accessible.  You might not have permission to use this network resource.  Contact the administrator of this server to find out if you have access permissions.  Not enough server storage is available to process this command” then check this link Antivirus software may cause Event ID 2011 [it contains a reference to Symantec products but the Symantec link was broken when I tried it]. I saw this warning during earlier testing when I shared large external hard drives & it turned out to be caused by remnants from an earlier installation of Symantec AV utilities on PCXP. I downloaded & ran Symantec’s uninstaller / cleanup toolfrom their support site & the problem was fixed.

    2.5     On PCXP, check that you can see the shared folder on PC7.  Open Windows explorer, look in the left-hand pane [the “Navigation pane”], click on the + symbol next to the entry for My Network Places, then Entire Network, then Microsoft Windows Network, then XP-7Net [the workgroup name], then PC7 [Don’t worry if  this seems to take an age, it is not indicative of the speed of response you are going to be getting from the network in normal operations.] & then the shared folder.  You should be able to see its contents. 

    2.6     On PCXP, now select PC7 in the Navigation pane again.  In the right-hand pane, select then right-click on the shared folder & select Create shortcut.  It will put a shortcut on your Desktop after getting you to confirm this in a dialog box.

    2.7    For PCXP, you could put this shortcut in your context menu SendTo commands by copying it to

    C:\Documents and Settings*YourUserName*\SendTo

    3    Test the internet connection & ICS

    3.1     On PC7, connect the USB Broadband Modem & access the internet as normal. 

    3.2     On PCXP, open IE & the internet connection should be made without any other settings being made.

    4    Set up folder sharing for non-admin accounts

    4.1     On PC7, log out from the XP-7NetAdmin account & log in to a normal / day-to-day user account.  Folder sharing should work without any further adjustment. 

    4.2     On PCXP, log out from the XP-7NetAdmin account & log in to a normal / day-to-day user account [if there are multiple user accounts then this step needs to be completed once for each one].  In Windows explorer, attempt to open the shared PC7 folder as described in step 2.5 above.  You will be challenged for the XP-7NetAdmin account name & password.  Enter them.  You should now be able to view the shared folders.  You will not be challenged for the admin account name or password again.

    5    Bypass login passwords, if required

    5.1     On PC7, enter netplwiz in the Start menu search box, right-click on the shortcut that is offered & select Run as Admin.  Set the checkbox about user names & passwords, select the account to be used as the default user account, clear the checkbox again, click OK.

    5.2     On PCXP, go to Start menu, Run & type in Control userpasswords2 & enter.  In the dialog that appears, select the account that is to log on automatically then clear the checkbox next to “Users must enter a user name and password to use this computer” & click OK.  Enter the account’s password when challenged.  [Or, if you have this utility, go to TweakUI, Logon, Autologon, set the checkbox at "Log on automatically at system startup”, enter your username & password, click OK.]  Using either method, this account will now load automatically when Windows XP starts. You will still be challenged for the password when switching between accounts.

    6    Share a printer  

    6.1     Keep life simple, install & test the printer on both PCs first then connect it to the PC you normally want to have it on.  This ensures that both PCs have the necessary drivers installed already so nothing needs to be installed at the stage of setting it up as a network printer.

    6.2     On PC7, if it directly connected to that one, go to Start menu, Devices & printers, right-click on the printer, select Printer properties [careful of similarly-named items in the context menu], select the Sharing tab, click on Change sharing options if the account does not have admin status, select the checkbox next to Share this printer & give it a name.  I suggest calling it something like PrinterOnPC7 to help avoid confusion later on.

    6.3     On PCXP, if it directly connected to that one, go to Start menu, Settings, Printers & Faxes then right-click on the printer concerned, select Sharing..., select Share this printer & give it a name.  I suggest calling it something like PrinterOnPCXP to help avoid confusion later on.

    6.4     You can now see the printer in the connected PC by looking in the network section of Windows explorer [see 2.1 or 2.5 above, as applicable].

    7    Refine folder sharing

    7.1     On PC7, go back to a shared folder, right-click, select Properties, Sharing tab, click on Share..., select the Everyone entry & decide whether to allow Read access only or Read/Write access. 

    7.2     On PCXP, open Windows explorer, find a folder you are going to want to share then right-click, select Sharing & security, on the Sharing tab, consider setting the checkbox for “Allow network users to change my files”.

    8    Make system images now you have finished.

    [v1.0 dated 20 Feb 2012]

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2012-02-20T02:27:59+00:00

    3 Connect

    1     Connect the computers by using the Crossover or Standard Ethernet Cable.

    2     On PC7, if you are challenged to identify the network as Work or Public, choose Work.  This depends on the firewall but should only be challenged once & is thereafter always recognised.

    3     On PC7, in McAfee Security Center, My Home Network, Trust the network.  Ignore the fact that McAfee may or may not display the network map. Don’t waste your precious breath asking McAfee about this because the number of different explanations you get might drive you up the wall. It is not impossible that this really is a known shortcoming that will be dealt with by an update at some stage.

    4     On PC7, in Network & Sharing Center you can click on the icon for the network if you wish & change its name to something meaningful but this does not affect any of its functions.  I only did this because it seemed to me that any default name could make life easier for a hacker but as the name is a minor component of the network setup I don’t think renaming it achieved very much.

    5    The network should now operate correctly.

    [v1.0 dated 20 Feb 2012]

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2012-02-20T02:27:39+00:00

    2 Prepare PC7

    1 [Edited 29 Aug 2012 - I no longer think that this step is essential]  Set up a password for the User7 in Control panel, User accounts. User7 can be an existing user name but it must have a password set; a password for standard user accounts is necessary for network permissions to operate correctly. [The PC can then be set up to bypass the need for logging on every time as explained later].

    2 Create an identical Admin user name, such as XP-7NetAdmin, & identical Admin password on each of the PCs. This is also necessary for network permissions to operate correctly.Check that this has been set up with Admin status. Create a password reset disk for the account or you’ll be stumped if the account profile ever gets corrupted.

    3 Log on to the XP-7NetAdmin account & do so again after any reboots. This just eases setting up & testing. The other accounts can be used later.

    4 Go to Control panel, System, Computer name domain & workgroup settings, Change settings [on the right-hand side of the window]. Set the Computer Description to PC7, click on Change..., set the Computer Name to PC7, click on Workgroup & set the Workgroup Name to XP-7Net [this has to be identical to the Workgroup Name set on PCXP]. Reboot. Log back in to the XP-7NetAdmin account.

    5 To get in the right dialog for setting TCP properties - go to Control panel, Network & Sharing Center, click on Change adapter settings on the left-hand side, right-click on the LAN card entry, select Properties, select Internet Protocol Version 4 (TCP/IPv4), click on Properties.

    6 Click in the start of the IP address line. Enter 192.168.137.1 then tab to subnet mask [which will set itself to 255.255.255.0 automatically]

    7 Click in the start of the Default Gateway line. Enter 192.168.137.2 [not quite the same number as the IP address][It is this step that tricks Windows 7 into accepting this permanently as a Home/Work network rather than a public one and so enables proper file sharing]

    8 Click on Advanced..., un-check Automatic metric box, enter 999 in Interface metric box.

    9 Select OK a couple of time to complete& save these settings. You should be back at the Network & Sharing Center, Change adapter settings dialog.

    10 Right-click on the adapter for the USB Broadband Modem connection, select Properties, select the Sharing tab. Set the checkbox for “Allow other network users to connect through this computer’s Internet connection”. Enter the exact name of the LAN card [you might be offered a dropdown list to select from but you should be able to see the name in the background still anyway].

    11 You might want to clear one or both of the other two checkboxes in this dialog.

    12 Click on Settings..., set the checkboxes for FTP server, Internet mail server (SMTP), Post-Office Protocol Version 3 (POP3), Secure web server (HTTPS), Web server (HTTP). If you use the other services concerned, you also need to set the IMAP3, IMAP4, Remote desktop & TelNet entries.

    13 Select OK a couple of time to complete& save these settings. Close the Network & Sharing Center dialog box.

    14 Check firewall settings. *My McAfee Security Center did not automatically detect & open up the necessary ports during earlier testing and I found that this was an appropriate stage to set them all manually.*Go to your firewall’s Ports dialog box. In Mcfee Security Center, Navigation page, click on Firewall, click on Settings, click on Ports & System Services. Check the following ports are enabled or add them if necessary. To add a port in McAfee, click on Add, enter any name such as “service”, select TCP/UDP then enter the number[s] required.

    Port TCP 445

    Port TCP139 [this was within a group of TCP137-9 so I enabled the whole group]

    [The above ports should result in file sharing being enabled, the remaining settings support printer sharing & ICS]

    [a Vista PC would also need to enable UDP 3702, UDP 5355, TCP 5357, TCP 5358 to see other Vista or Win7 computers]

    Ports UDP 137, 138, 5355 [these ports are associated with enabling printer sharing]

    Ports TCP ports 21 [ftp], 25 [smtp], 80 [http], 110 [pop3], 443 [https]

    Port UDP 123 [this enables the network time protocol that PCXP needs to synchronise its clock over the internet]

    15 Check the firewall allows the IP address of PCXP [192.168.137.2]. *It probably does already as the chosen IP addresses are part of a standard recognised range.*In McAfee Security Center, this can be checked at Navigation page, click on Firewall, click on Settings, click on My network connections.

    16 Check that the Firewall allows “ping”requests [a network test signal that will be used shortly]. In McAfee Security Center, this can be checked at Navigation page, click on Firewall, click on Settings, click on Smart advice & advanced settings, set the checkbox for Allow ICMP ping requests. Close the firewall dialog then close the McAfee window.

    17 Open Windows explorer, find a folder you are going to want to share then right-click, select Properties, select the Sharing tab, click on Share..., select “Everyone” from the dropdown list for now [this will be adjusted later]

    18 Check settings in Network& Sharing Center, Advanced sharing settings, click on the dropdown arrow next to Home or Work [as the network is going to be recognised as a Work network]. Check that the following are enabled:-Network discovery, File & printer sharing, Password protected sharing. You might or might not wish to enable the other entries.

    19 PC7 is now ready for the network. You could reboot here as I did.If you do then log on to the XP-7NetAdmin account again.

    [v1.0 dated 20 Feb 2012]

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2012-02-20T02:25:33+00:00

    1 Prepare PCXP

    1     Set up a password for the UserXP in Control panel, User accounts.  A password for standard user accounts is necessary for network permissions to operate correctly. [The PC can then be set up to bypass the need for logging on every time as explained later].

    2     Create an identical Admin user name, such as XP-7NetAdmin, with an identical Admin password on each of the PCs.This is also necessary for network permissions to operate correctly. Check that this has been set up with Admin status.  Make a note of the exact account name used & its password.

    3     Log on to the XP-7NetAdmin account & do so again after any reboots.  This just eases setting up & testing.  The other accounts can be used later.

    4     Set the Computer Name & Description to PCXP at Windows explorer, My computer, right-click, select Properties, select Computer Name tab to set the Computer Description & its Change... button to set the Computer Name.

    5     Set the Workgroup at Windows explorer, My computer, right-click, select Properties, select Computer Name tab, Change... button, click on Workgroup radio button, enter Workgroup Name as XP-7Net.  Reboot.  Log on to the XP-7NetAdmin account.

    6     Enable File & Printer Sharing in Control panel, Windows Firewall, Exceptions tab.  I thought this safer than running the network wizard [the wizard can cause problems if run multiple times].

    7     Check these ports are open - UDP 137, UDP 138, TCP 139, TCP 445, UDP 5355.  Check on each entry in the list at Control panel, Windows Firewall, Exceptions tab, Edit to see the ports used by that service.  Set the checkbox next to the service name to open its set of ports.  To add a port [I only had to add UDP 5355], click on Add Port then give it any name [I called it “service”] select TCP / UDP then type or paste in the Port number to be added.  “Service” should now appear in the list in the Exceptions tab along with the original entries there. I have no idea why but I had to write out the number 5355 in a text file then copy & paste [ctrl-V] the number into the Port number box.

    8     To get in the right dialog for setting TCP properties - go to Start menu, Settings, Network connections, right-click on LAN card entry, select Properties, General tab, scroll down to select Internet Protocol (TCP/IP), click on Properties

    9     Click in the start of the IP address line.  Enter 192.168.137.2 then tab to subnet mask [which will set itself to 255.255.255.0 automatically]

    10     Click in the start of the Default Gateway line.  Enter 192.168.137.1 [not quite the same number as the IP address]  [It is this step & the next one that trick Windows 7 into accepting this permanently as a Home/Work network rather than a public one and so enables proper file sharing]

    11     Click in the start of the Preferred DNS Server line.  Enter 192.168.137.1 [not quite the same number as the IP address]

    12     Select OK a couple of time to complete & save these settings.  Close the Network connections dialog box.

    13     Open Windows explorer, find a folder you are going to want to share then right-click, select Sharing & security, on the Sharing tab, set the checkbox for Share this folder on the network.  Enter whatever name you want to use for the folder.  I use names like MyDocsXP & DesktopXP just to ensure I don’t get shared folders muddled up with local ones when looking at them from the other PC.

    14     PCXP is now ready for the network.  You could reboot here as I did. If you do then log on to the XP-7NetAdmin account again.

    [v1.0 dated 20 Feb 2012]

    - - - - - - - - - - - - - - - - - - -

    Alternative if the first computer is also Windows 7

    1 Prepare first Win7 computer

    1     Set up a password for the UserXP in Control panel, User accounts.  A password for standard user accounts is necessary for network permissions to operate correctly. [The PC can then be set up to bypass the need for logging on every time as explained later].

    2     Create an identical Admin user name, such as XP-7NetAdmin, with an identical Admin password on each of the PCs.This is also necessary for network permissions to operate correctly. Check that this has been set up with Admin status.  Make a note of the exact account name used & its password.

    3     Log on to the XP-7NetAdmin account & do so again after any reboots.  This just eases setting up & testing.  The other accounts can be used later.

    4     Set the Computer Name to Netbook & the Workgroup name to XP-7Net at Windows explorer, Computer / My computer, right-click, select Properties, [on the right-hand side] Change settings, Computer name tab, Change … then reboot.  Log on to the XP-7NetAdmin account.

    5     To get in the right dialog for setting TCP properties - go to Control panel, Network & Sharing Center, click on Change adapter settings on the left-hand side, right-click on the LAN card entry, select Properties, select Internet Protocol Version 4 (TCP/IPv4), click on Properties

    6     Click in the start of the IP address line.  Enter 192.168.137.2 then tab to subnet mask [which will set itself to 255.255.255.0 automatically]

    7     It is this step & the next one that trick Windows 7 into accepting this permanently as a Home/Work network rather than a public one and so enables proper file sharing

    7.1    Click in the start of the Default Gateway line.  Enter 192.168.137.1 [not quite the same number as the IP address]

    7.2     Click in the start of the Preferred DNS Server line.  Enter 192.168.137.1 [not quite the same number as the IP address]

    8     Click on Advanced..., un-check Automatic metric box, enter 999 in Interface metric box.

    9     Select OK a couple of time to complete & save these settings.  You should be back at the Network & Sharing Center, Change adapter settings dialog.

    10-13     [Paras 10-13 only apply to the primary computer, PC7]

    14     Check Firewall settings.  Check these ports are open or else add them - UDP 137, UDP 138, TCP 139, TCP 445, UDP 5355.  I do not use the Windows Firewall.  Guidance is available in Windows Help Open a port in Windows Firewall [also available online]. 

    15     Check the firewall allows the IP address of PC7 [192.168.137.1]. It probably does already as the chosen IP addresses are part of a standard recognised range.

    16     Check that the Firewall allows “ping” requests [a network test signal that will be used shortly].  The term used for this in the Firewall might be Allow ICMP ping requests.

    17     Open Windows explorer, find a folder you are going to want to share then right-click, select Properties, select the Sharing tab, click on Share..., select “Everyone” from the dropdown list for now [this will be adjusted later]

    18     Check settings in Network & Sharing Center, Advanced sharing settings, click on the dropdown arrow next to Home or Work [as the network is going to be recognised as a Work network]. Check that the following are enabled:- Network discovery, File & printer sharing, Password protected sharing. You might or might not wish to enable the other entries.

    19     Netbook is now ready for the network.  You could reboot here as I did. If you do then log on to the XP-7NetAdmin account again.

    [v1.1 dated 15 June 2016]

    1 person found this answer helpful.
    0 comments No comments