After looking at a number of different solutions online, hopefully here is a permanent solution.
Based on this post, http://social.technet.microsoft.com/Forums/en-US/itprovistanetworking/thread/66b42761-1b8e-4302-9134-0bb685139f4e, it seems that the way that Windows 7 identifies networks is by the MAC address of the gateway the adapter uses.
So basically we need to configure the loopback adapter on the host to use a gateway that will point to a machine or device with a consistent mac address. That is the key.
- Pull up the properties for the loopback adapter on your machine.
- Pull up your IPv4 settings and instead of using "Obtain an address automatically" give the host machine a static ip -- something like 18.104.22.168.
- Set your subnet to something like 255.255.0.0; and set your gateway to the IP that you will give the virtual machine -- something like 22.214.171.124.
- Do the same on the virtual machine, but this time flip it. So the IP on the virtual machine would be 126.96.36.199 and the gateway would point to your host, or 188.8.131.52.
- You may need to disable / reenable the adapters on both machines before Windows 7 realizes it now has a mac address to identify this network with.
Since Windows 7 is relying on the mac address of the virtual machine to identify the network, your virtual machine will need to be running and then you can try to disable / reenable the loopback adapter on the host machine to try to force Windows 7 to update itself. Once Windows 7 sees the mac address on the virtual machine, you should be able to change the network profile / network location.
Whenever you restart your machine, you'll again of course need to disable/reenable your loopback adapter after you've started the virtual machine. (When the host machine first comes up, since your virtual machine is not running, Windows 7 things that once again it's on a network with a different gateway mac address. This is annoying. But following the above instructions to start the virtual machine and disable/reenable the adapter on the host, should resolve this each time.)
Hopefully, the next version of Windows provides a better resolution to this issue with the loopback adapter and being able to change the network profile / location.