Fix Error Code 0x4005(16389) when upgrading Windows