iTunes 12.7 gives 0xc0000142 error on Windows
Easy fix – change your Windows timezone to the same -/+ UTC but a different city. I.e. change +6 Omsk to +6 Dhaka
Alternatively, to fix the error first uninstall iTunes 12.7 and everything related to it (all Apple software), and then just download and install a special version of iTunes 12.6 with IOS11 support enabled from here