I'm installing SharePoint 2013 onto a Virtual Machine, and I keep getting a crash at the point at which I try to install the Prerequisites.

Essentially, I just click on the link to install prerequisites, and I just get 'no longer working' message and PrerequisiteInstaller.exe crashes.

How can you resolve this?

1. make sure you are running with administrator rights
2. switch off UAC - to do this in Windows Server 2012, you can change the following registry setting:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
Change the DWORD "EnableLUA" from 1 to 0
Reboot server

And then, try to install the SharePoint prerequisites again. This should resolve the problem.

Hope that helps!