Disable automatic restart in Windows 7