Fixed, I had uninstalled C++ redistributable, thought it was just for writing C++ and didn’t realise it was necessary for avast.