This is caused by DEP - Data Execution Prevention
simple fix, go to 'Control Panel', click 'System' then click 'Advanced system settings'.
select 'Advanced' tab, click 'Settings' button in Performance
Click the Data Execution Prevention tab, and then click 'Turn on DEP for all programs and services except those I select'
click 'Add...' and add in the keygen exe.