If you are referring to a message saying that your version of Windows needs to be updated:
There is no supported method for removing that message, because it is a priority for Microsoft that all Windows computers are running the most recent version of the software.
There may be unsupported methods, that rely on interfering with Windows normal functioning, but I would never do that to my own computer, so I can't tell you how to do that.