Search code examples
windowswindows-7windows-7-x64aslr

How do you disable ASLR (address space layout randomization) on Windows 7 x64?


How do you disable ASLR on Windows 7 x64 so that my program will always load the shared CRT at the same address?


Solution

  • A registry setting is available to forcibly enable or disable ASLR for all executables and libraries and is found at HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\MoveImages.