Editor hangs on "Creating Project" 90%

Version 4.7.2
Windows 7 64 bit

When I try to create a new project, with blueprint it works fine; using c++ it hangs on 90% on creating project.

Task manager reports Unrealbuildtool.exe is running a temporary batch file.

My visual studio is 2013 Community edition. I used to have express installed a while ago but removed it months ago. Visual Studio is compiling fine, properly installed etc.

I read somewhere that someone had this problem and solved it by sorting out his paths in his environment settings but he didn’t go into details. Someone else solved it by uninstalling and reinstalling visual studio which I’d rather not do.