The issue is that the ROUTE table contains a phantom persistent default route 0.0.0.0 to one of the network interface cards.
This activates the "Unidentified Network" (Public) every time the network connection becomes active.
Sharing permissions are turned off.
My solution is to use the Windows Command Screen as Administrator and remove all default routes.
OPEN CMD USING ADMINISTRATOR PRIVILEGE
TYPE THIS COMMAND
=> ROUTE DELETE 0.0.0.0
=> IPCONFIG /RENEW
This removes the default routes from all network interfaces.
You must then reapply the necessary default routes to your interfaces (Do not use address of the network adapter as the default).
If you have an isolated network (without any router, firewall, or gateway) with more than one computer -- I do this in a development laboratory -- is to choose for default address for Vista, 2008, Win-7, to be the IPv4 address of any other attached network interface.
I don't know why Microsoft deciced to make the default routes 0.0.0.0 persist in the routing table instead of just being bound to the network adapter.
The network stack used by XP, 2000, 2003 systems do not have this problem.