Here’s a quick Windows 10 tip to stop unwanted programs from installing on your PC.
Click on Settings.
Then choose Update & Security.
Select Windows Security then App & Browser Control.
You can choose to block apps from installing without your express consent or to be warned before these apps are installed.
Having this activated could stop unwanted programs from sneaking on to your PC.