Windows is a fantastically complicated piece of software, and there are literally millions of ways in which it can go wrong.