This has practically nothing to do with PHP, other than it could save you some grief should you be editing a PHP file when Windows finishes auto-installing an update and decides to automatically reboot. (What idiot at M$ decided that any upgrade could be so important that it should ever reboot a PC without the user confirming that action?)
Anyway, I got tired of Windows Vista rebooting automatically on me again, so I added a registry setting as described at pctools.com to stop this ridiculous and potentially destructive behavior. Now when it finishes an update it instead prompts me to do the reboot or to postpone it:

The registry setting info:
- System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
- Value Name: NoAutoRebootWithLoggedOnUsers
- Data Type: REG_DWORD (DWORD Value)
- Value Data: (0 = no effect, 1 = do not automatically reboot)
Here’s hoping someone else finds this useful.
