Do not connect it to the internet. Problem solved.
Basically anything in a social network needs to learn to defend itself against threats. Make computer a hermit, and it can go without updates for a long time.
(Oh, but you don't like that? Well, Microsoft doesn't like getting in the news for some worldwide botnet of all Windows 10 machines. I bet they'll figure this out sooner or later.)