28. July 2018

Unable to shut down Windows on computer with Linux dual boot

After installing Linux in dual boot on the computer with Windows you may experience a strange problem. It’s no longer possible to shut down the computer from Windows. The computer immediately re-spawns to the Windows login screen.

The issue is most likely caused by booting Windows from the incorrect bootloader. If you have two partitions (sda1, sda2) on the system, make sure that you’re booting Windows from the one with the operating system.

Booting from incorrect partition could cause other strange errors, like problems with updating Windows. You can read more in the article: Failed to install Feature update of Windows 10, version 1803 on machine with Linux dual boot.

28. July 2018

Failed to install Feature update of Windows 10, version 1803 on machine with Linux dual boot

I was chasing a very strange bug for a long time: Windows 10 was not able to install any feature update.

Update history in Windows contained just a message:

Feature update to Windows 10, version 1803
Failed to install on ‎2018-‎05-‎24 - 0xc1900101

To keep the long story short: I was starting Windows by the incorrect bootloader.

Grub from Linux Mint auto-discovered two Windows partitions /dev/sda1 and /dev/sda2. The first partition was just a small partition with bootloader from the previous installation of Windows. When booted by “chainloader +1” the boot automatically kicked in and started Windows stored on the second partition. Unfortunately it had an impact on updates and shutdown of the computer.

The correction was quite simple. Just start Windows from the second partition.

I rebooted the computer from sda2 partition and then I started the new installation of Windows 10, version 1803 update using Windows 10 Upgrade tool.

This correction also fixed another strange bug, that I was not able to shutdown Windows. When I selected “shutdown”, Windows respawned in a few seconds back into login screen. Again the problem was that old bootloader from the first partition kicked in, after the shutdown of Windows and resumed it.

Big thanks to Max Green for pointing out that the problem might be caused by invoking incorrect bootloader.

11. August 2017

Windows 10 displays different time after reboot from Linux

Using dual-boot Windows and Linux has several advantages. If one system fails to update, you can still work with the other one.

I experienced strange problem that Windows was always shifting the time about 2 hours after rebooting from Linux. One solution was to let Windows determine the time zone, but that worked until next reboot to Linux and back to Windows.

The solution that worked for me was to open regedit.exe and define following key as QWORD set to value 1:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\RealTimeIsUniversal

Then reboot the machine to Linux and back to Windows and everything was ok. No more time shifts.

Thanks to Ailurus for the solution.