Fix Windows 10 creators update restart loop