This question already has an answer here:
As I say in the title, I need to create a bootable USB drive with OSX El Capitan using Windows 10.
I can't start my Mac using OSX anymore and I want to perform a clean install. If I use Recovery my OS will be restored via internet, and it would be Mountain Lion. Is there a way to avoid this?