If the installation of CUDA is failing on Windows 10 its most likely failing because you have GeForce Experience installed.
To fix this do a custom install without GeForce Experience and drivers, I have 3 Windows 10 machines with various OS releases on them (general and developer releases) and it works on each one of them.
I hope this helps.