It's absolutely on topic. With a few exceptions there's an OR clause between the following:
- Apple Hardware
- Apple Software
- Apple Services
See https://apple.stackexchange.com/help/on-topic
Even third party products when the use of them involves Apple products in some obvious and clear manner we allow those questions too. The only thing that's off topic is if the use of Apple HW/SW/Services is in passing. The question does need to revolve centrally around use of some Apple thing to fly - but other than that, it's game on for Windows questions about iTunes.
Now just being on topic isn't enough and it's so bad it needs to be put on hold for improvement.
It's unclear (we don't know what version of windows and iTunes is in play, we don't know what the error is, we don't know a ton of things). For that reason, I voted to close it as too broad. Someone could write an entire book of all the steps needed to cover all the eventualities, but it's up the the OP to fill in the details or someone to adopt the question and make up / fill in their specific details and it might be fine to reopen.
It also might be SuperUser material and off topic once the actual details are listed.