Yesterday afternoon I thought it a clever idea to install Windows Vista Beta on a new partition, to run in dual boot with Windows XP. (No, I didn’t first check Google to see if anyone had actually survived it.)
The whole story (or cut to the chase)
Everything went suprisingly smooth, and other than one or two missing drivers for plugged in devices, all was working as should. I could surf the Internet with both IE and Firefox, send and receive mail with Windows Mail, and easily install and use the latest version of Windows Live Messenger.
I played a bit with the gadgets (Sudoku mainly), admired the nice desktop backgrounds, and when I was done playing, I switched back to XP to get some work done.
No such luck – Windows XP did not have a working internet connection anymore, it claimed one of the cables was loose. I suspected a corrupted driver or something, so I reinstalled the ethernet controller, deleted the driver and installed it again, but no luck. “Loose cable”. Would there really be something wrong with the connection? So I rebooted into Vista, and there it was – my internet connection. Working flawlessly.
Rebooted again into XP: gone. Loose cable.
I checked the network configuration, the IP addresses, the device itself again in device manager – all was well, but there was just this one loose cable, and no connection. I think I went back and forth between Vista and XP about 4 times, but it was the same every time.
I figured something in XP must have been corrupted by Vista’s install somehow, so I decided to install a fresh version of XP on yet another new partition. This got rid of the Vista dual boot, and gave me a dual boot between two versions of XP instead, both without internet connection.
Googled for answers using my SuSE box (a back up box certainly seems vital in cases like this!), and found several mentions of problems with Vista and dual boots, but none about Vista working and XP losing its connection. I did find several instructions (all different btw) on how to get rid of Vista, and there was a lot of talk about master boot records and boot.ini files and stuff.
But.. to get rid of Vista in an appropriate way, I’d first have to log into it, so I needed my dual boot back. I figured a startup from the Vista install DVD might help with that, and it did. I chose the ‘system recovery options’ link on the opening screen, and then to repair Windows Vista. After a very short Wizard, the system rebooted, and there it was: my Vista/XP dual boot, and the connection light on my router was on again. To me, it seemed as if the repair of Vista had also repaired my XP’s loose cable, but I discovered that that wasn’t it.
I used XP for a couple of hours, then decided I wanted to risk it again, and rebooted into Vista to see if Vista also still had a connection. It had. It worked just as well as before.
So.. I did some thinking and then some testing, and discovered the following:
In Windows Vista, just like in every other Windows version, when logging off, there is a choice between ‘shut down’ and ‘restart’. When choosing ‘restart’, the internet connection gets lost immediately, and does not come back unless I boot into Vista again. When choosing ‘shut down’, the system does not just shut down, like one would expect, but erroneously also reboots, in which case the connection stays on.
If I restart from Vista (with restart option and losing connection), and boot into XP (still without connection), XP’s shutdown button responds the same as Vista’s. It will shut down the system and restart again, and also the internet connection will come back on.
When I’m in XP with internet connection on, and press the shutdown button, the system really shuts down, and does not restart again. Connection light on the router remains lit though.
I don’t know much about the structure or technical details of an operating system, but to me it looks as if Vista’s restart option does not shut down Vista completely, so the ethernet controller remains ‘linked’ to Vista, and can’t be used by other OS’s at the same time. The fact that in that situation, XP’s shutdown button reacts exactly like Vista’s, enforces my idea of Vista still being ‘alive’ somewhere.
I wonder if anyone else can confirm any of the above?
And people who have installed Windows Vista Beta on a separate machine — do they see the same behaviour on ‘shutdown’? Does their system restart too? Or is it just an option “use shutdown button to restart” that I missed somewhere? — Comments welcome!
Update 10 July:
In the meantime I found that if I shut down Vista from within a user account, the PC shuts down for real (but leaves the network card unavailable for XP), while if I try to shut it down from the intro screen (where one chooses between user accounts), the computer is shut down and rebooted, and the network card remains available.
A friend said he had seen this behaviour in the past, when there was a really unusual WOL setting, but I can’t find anything wrong there either. Still have to check the BIOS though, see what happens if I disable Wake-on-LAN entirely.
Update 13 July:
WOL was already disabled in the BIOS, so that was not it, and replacing the driver by the XP driver didn’t work either, as it didn’t want to recognize that one. It’s the same driver actually, just a newer version of it.
Anyway, unless someone else has encountered the exact same thing and found the cause, I won’t be experimenting with this anymore, as it’s quite easy to work around, and eh.. I’ve got better things to do 😉
If I remember correctly my shutdown-option worked correctly when running in a virtual environment. Haven’t read the whole story (just the chase ;)), but I must say I found it kind of funny to read. Really weird though.
Yes, I think "weird" kinda covers it 🙂
(see also the update above)
I’ve discussed this with a friend who dualboots XP/Vista too (and uses Vista almost fulltime) and he told me you should always use the XP-drivers, not the Vista beta-drivers. Maybe this helps, cause he has no problems at all.
Good idea, thanks. When I installed Vista, it wanted me to load drivers for two devices, one was an unknown device, so I just skipped it, and the other one was the nic I think. Next reboot I’ll delete the driver in Vista, and load the XP driver for it, see if it helps.
I have Beta 2 loaded on a removeable hard drive. After install and booting from the removeable drive all Internet is good. But then I want more and I install a driver for my RAID drives, which gives me access to my music and such. But then I shut down and boot up the next day and get a dialog asking if my network is shared or private. I say shared (home network). It says it has to reboot, and after the reboot my network connection is trashed. My network card is still visible and "working properly" according to device manager, but the networking control panel says I don’t have any networking hardware. Once burned…
So I want the Vista experience and I reinstall it, and the whole experience repeats itself. Again I have no network connection and every attempt to create a new one fails. This time I even installed another NIC but to no avail.
I’d like to hear if anyone has any more insights on the disappearing network connections.
I haven’t found a real cause yet, but I did find a better workaround: switch off the electricity of the pc. Not just the big button, but really pull the plug so to speak. (Well, and then switch it on again of course :-))
This seems to tell the network card that a new day has come and it can forget whatever it is Vista told it to do yesterday? No idea really, but for me it works. If I shut off the electrics, then switch ’em back on, then start the pc, the network connection comes on and stays on, regardless of which OS I start up.
As for access to your music – does your soundcard work in Vista? Mine doesn’t 🙁
Don’t know much about any of this but find it very interesting considering I have a Mac!
I too am having an issue with vista shutdown. I want the nic to remain on after a shutdown. I’ve tried the Microsoft drivers and the Intel drivers to no avail. This worked in XP. My Bios supports WOL from the off state, but only if the nic stays "warm" obviously. Anyone know how to keep the NIC on after shutdown? Possibly some registry entries to change??