Announcement

Collapse
No announcement yet.

Where does XP Home store TCP/IP settings?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Where does XP Home store TCP/IP settings?

    XP Home lets you save as many dial-up configurations and wireless network settings as you like, but it only gives you two sets of LAN settings: 'general' and 'alternate.'

    So if you have a promiscuous laptop that likes to plug itself into lots of different ethernet holes, each requiring different settings (static/dynamic IP, DNS server adresses, etc.), you have to feed the data into 'network connections' by hand every time.

    I want to backup those settings (registry keys, ini files, whatever XP uses to store them) and make some batch files to quickly load different configurations.

    Of course I can only do that if I know where XP Home stores those settings.

    make xp behave:

  • #2
    Re: Where does XP Home store TCP/IP settings?

    Well on my PC (which is XP Pro SP2) it is stored in the registry.... and i would assume it is the same for XP Home:

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\{ 4BF98399-B4B0-41FE-B650-8194E1892FC2}\Parameters\Tcpip

    and here:

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\T cpip\Parameters\Interfaces\{4BF98399-B4B0-41FE-B650-8194E1892FC2}

    and here:

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Services\{ 4BF98399-B4B0-41FE-B650-8194E1892FC2}\Parameters\Tcpip

    and here:

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Services\T cpip\Parameters\Interfaces\{4BF98399-B4B0-41FE-B650-8194E1892FC2}

    and here:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\{4BF98399-B4B0-41FE-B650-8194E1892FC2}\Parameters\Tcpip

    and here:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters\Interfaces\{4BF98399-B4B0-41FE-B650-8194E1892FC2}

    So you could write a batch file that used the REG.exe command (REG EXPORT keyname filename of where to export to)

    Hopefully this will help you on the way

    PS - Obviously the long numbers are something like a GUID for my hardware so it will almost certainly be different on your PC.
    Last edited by tonyyeb; 2nd October 2005, 15:08. Reason: Added cavet about GUID of hardware
    Server 2000 MCP
    Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

    Comment


    • #3
      Re: Where does XP Home store TCP/IP settings?

      i've never worked with XP home, but can't you do anything with netsh??

      a few links about netsh...

      http://support.microsoft.com/?kbid=257748

      http://www.microsoft.com/resources/d...etsh_dhcp.mspx

      http://www.windowsitpro.com/Article/...1111.html?Ad=1
      Marcel
      Technical Consultant
      Netherlands
      http://www.phetios.com
      http://blog.nessus.nl

      MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
      "No matter how secure, there is always the human factor."

      "Enjoy life today, tomorrow may never come."
      "If you're going through hell, keep going. ~Winston Churchill"

      Comment


      • #4
        Re: Where does XP Home store TCP/IP settings?

        netsh should do the trick or you could use hardware profiles. If i remember right from my 2000 MCP course this is exactly what they were designed to do.
        Server 2000 MCP
        Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

        ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

        Comment


        • #5
          Re: Where does XP Home store TCP/IP settings?

          personally i don't like Hardware profiles.
          Yes you can use it, if you're using multiple NIC's and you want to enable/disable for example.

          I prefer netsh. Its much easier to use and you can set those command into a batch.
          Marcel
          Technical Consultant
          Netherlands
          http://www.phetios.com
          http://blog.nessus.nl

          MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
          "No matter how secure, there is always the human factor."

          "Enjoy life today, tomorrow may never come."
          "If you're going through hell, keep going. ~Winston Churchill"

          Comment

          Working...
          X