Question: We’ve all been told that Windows 7 won’t get security updates after mid-January, and that if your computer can’t handle an upgrade to Windows 10 you need to buy a new Windows 10 PC.

But, based on what I’ve been able to learn, malware infections are mostly caused by operator errors, such as clicking a link in a suspect email or downloading corrupted programs or software updates. If that’s the case, why would anyone be safer with Windows 10? And, if a person was vigilant, why couldn’t he just keep using a Windows 7 PC? — M.S., Afton, Minn.

Answer: Vigilance won’t save you once Windows 7 security updates are gone. In many cases, PCs are infected simply because they use the internet, not because of operator error.

Consider one of the principle methods of distributing malware, called the “drive-by download.” You can become the unwitting victim of a drive-by download if you visit a legitimate website on which malware downloads have been surreptitiously planted. (This can happen two ways: Hackers can break in to a legitimate website and use it to download malware to your PC; or the website may unknowingly display bogus advertising that transfers malware to your computer.) As the security firm Kaspersky puts it, “You don’t have to click on anything, press download or open a malicious email attachment to become infected.”

One way that drive-by downloads attack is to find a security hole in an outdated computer operating system. And outdated is precisely what Windows 7 will become in mid-January when it no longer receives security updates. Windows 10, on the other hand, will receive security updates and will be safer.

So, to all the readers who have written asking if they can keep using Windows 7 PCs “just for Web browsing,” the answer is an unequivocal “No.” You shouldn’t use Windows 7 at all after mid-January. There are no exceptions.

Question: I’ve received email “receipts,” allegedly from Microsoft, for products I never ordered. The receipts include $1,500 for “MS Defender Firewall” and $300 for “Windows Defender Firewall/Internet Security.” The emails list phone numbers to call if I have questions. Is this a scam? — B.R., Lakeland, Fla.

Answer: It’s a scam. The product names are similar to software included in Windows. Since you use Yahoo Mail, mark these messages as spam. Never call the phone numbers contained in the emails; it’s an attempt to get your credit card numbers or other personal data.

Question: I’m having trouble making my HP OfficeJet 5740 printer connect to a Windows 10 PC, even though it works fine with a Windows 7 PC. There seems to be a “configuration error” that can’t be resolved by my HP and Microsoft troubleshooting software. What should I do? — B.C., Manchester, N.H.

Answer: You are probably using printer software that was intended for Windows 7 and doesn’t work with Windows 10. Download Windows 10-compatible software drivers for the OfficeJet 5740 (see tinyurl.com/l335hzs). HP also has a help website for users with printer problems after a Windows 10 update or upgrade (see tinyurl.com/uugdjwa).

Alexander covers technology for the Minneapolis Star Tribune. Readers can write to him at Tech Q&A, 425 Portland Ave. S., Minneapolis, Minn. 55488-0002; email: steve.j.alexander@gmail.com.