How to disable ASLR in Windows 7 x64 so that my program always downloads a common CRT at the same address?
A registry setting is available to force enable or disable ASLR for all executable files and libraries and is found in HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\MoveImages .
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\MoveImages
Previously, you had to choose the linker to use ASLR. Now you need to refuse :
/DYNAMICBASE[:NO]
(Visual Studio 2012: Configuration Properties → Connector → Advanced → “Randomized Base Address”)
You can also do this programmatically .
The Enhanced Mitigation Experience Toolkit (EMET), downloadable from Microsoft , allows you to enable / disable ASLR for a system or process.
How can I use EMET to disable ASLR? Ple