How to remove (one type of) malware?

You know your machine is infected with malware when every minute or even three times a minute, a popup on the bottom right of your windows machine comes up asking you to buy an anti-virus, or tells you you’re infected with a virus… The idea is to have you click either...