I can confirm that this method works in Windows 10 64-bit. Thanks to the OP for all the research and hard work.

Safe mode must have some sort of script to fix a "false" IDE flag, when really...