Go to control panel, I have it set to view by large icons, select administrator tools then disk clean-up. Run that and select the C: drive and then the files to remove. If Previous Windows installation doesn't show up in the first run then run disk clean-up again and it should show. Tick the box and run.
What is ransomware and how do I protect my PC from Petya?