Windows 7 – How to change from Public network to Private network

First of all I’d like to say I’ve read topics but I have not been able to find an answer. I’ve had a power cut and when my PC with Windows 7 64-bit (12Gb RAM / Core i7) reboot, I’ve lost my perfectly working Internet connection. Now there’s an “unknown network = Public network” instead. I’ve tried several things and this stuff really drives me nuts:

I’ve tried:

  • to uncheck IPv6 because I’ve readsomewhere that IPv6 may messeverything (sometimes). No success.
  • to turn off network discovery. No success.
  • to uninstall (not disable, uninstall) my network card so that it’s re-detected. No success
  • to remove the Admin password = no password for admin. No success
  • try to set default gateway but no success
  • the only solution that may work is by using gpedit.msc but, of course, it’s not available for the Windows 7 home edition

I’m using my laptop with Ubuntu on it: absolutely no problem at all. This really drives me nuts. This is the first time in 15 years of computing that Ubuntu is better than Microsoft. Does this mean something? I’ve paid to upgrade from XP to Vista (because, as a Web developer I needed to test my websites with IE9). Vista was such a crap that I gave up and I paid once again $135 to upgrade to Seven home edition. And now I can’t access Internet only because of a lack of intelligence of the team who created Seven (the network part to the least).

My network configuration is simple:

  • My “big” PC which is connected to the “Internet Box” with Ethernet cable (I avoid Wi-Fi when I can)
  • My laptop which is connected to the “Internet Box” with Ethernet cable too
  • The Box with Internet access that acts like a switch too (=4 Ethernet plugs for local network)

So :

(Internet) <=> FreeBox (local IP 192.168.1.254)                ^  ^                |  |                |  +-- laptop Ubuntu (inet adr:192.168.1.25)                |                +----- big PC with Windows 7 (see further for IP config)

I’ve tried to config “by hand” the IP config (“192.168.1.51” with default gateway “192.168.1.254” and DNS “192.168.1.254”. No success = “unknown network”)

Any idea how to solve my problem?

Here’s my ipconfig /ALL

Configuration IP de Windows   Nom de l'hôte . . . . . . . . . . : PC-de-Olivier   Suffixe DNS principal . . . . . . :    Type de noeud. . . . . . . . . .  : Hybride   Routage IP activé . . . . . . . . : Non   Proxy WINS activé . . . . . . . . : NonCarte Ethernet Connexion au réseau local :   Suffixe DNS propre à la connexion. . . :    Description. . . . . . . . . . . . . . : Connexion réseau Intel(R) 82567LF-2 Gigabit   Adresse physique . . . . . . . . . . . : 00-22-68-66-FA-C6   DHCP activé. . . . . . . . . . . . . . : Oui   Configuration automatique activée. . . : Oui   Adresse d'autoconfiguration IPv4 . . . : 169.254.123.192(préféré)    Masque de sous-réseau. . . . . . . . . : 255.255.0.0   Passerelle par défaut. . . . . . . . . :    NetBIOS sur Tcpip. . . . . . . . . . . : ActivéCarte Tunnel isatap.{D2E5CF40-E064-4B8F-AD6F-806141104266} :   Statut du média. . . . . . . . . . . . : Média déconnecté   Suffixe DNS propre à la connexion. . . :    Description. . . . . . . . . . . . . . : Carte Microsoft ISATAP   Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0   DHCP activé. . . . . . . . . . . . . . : Non   Configuration automatique activée. . . : OuiCarte Tunnel Teredo Tunneling Pseudo-Interface :   Statut du média. . . . . . . . . . . . : Média déconnecté   Suffixe DNS propre à la connexion. . . :    Description. . . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface   Adresse physique . . . . . . . . . . . : 00-00-00-00-00

Solution:

Ok I’ve tried almost everything, but the problem seems not to come from Windows 7.The big problem that was the stupid behavior of Windows 7: if I say “hey there’s a DHCP” and it can’t connect to the “DHCP Server”, it should say that somewhere but it doesn’t. Instead, it just “supposes” the network card works properly (which is not the case), and says it has detected a “Public network”. It will never be able to connect to this “Public network” because the network card doesn’t work properly. Anyway that was really confusing, because it was like saying “hey man I found a network, it works, but I can’t connect to it so I guess this is a Public network”…So the simplest solution I’ve come so far is: boot on the Ubuntu Desktop Live ISO.

  • If DHCP discovery works, it’s clearly a 100% Windows problem.
  • If it doesn’t it’s a hardware problem.

That was a lot faster than re-installing the whole Windows 7 upgrade stuff and re-installing all my software… just to discover this was a hardware problem and Windows 7 had given very bad clues about what was going wrong.

There should be a Wizard in Seven that could ask:

  • “Are you a basic user?”
  • “Are you an advanced user?”

If we answer “2”, then”Do you know how to read advanced network diagnostic?”

  • Yes
  • No

If we say “Yes” then “Here’s the detailed diagnostic: DHCP discovery has failed” and tada! Problem solved.