Try removing all
ram except for 1 stick - then try to reinstall Windows.
It may be an idea to reformat whichever drive you want to install it on again though, considering the failed installs. To do this at the first Setup screen press R - to repair system using Recovery Console.
You may get prompted to select the operating system if so it's usually 1. Administrator password should be blank if you haven't successfully installed yet.
At the prompt type: format c: /q/fs:ntfs
After it has finished reinstall Windows as per normal, with only the 1 stick of
ram. If it installs successfully you can put the other
ram back in afterwards.