You are here

Force ASLR breaks portableapps

7 posts / 0 new
Last post
Last seen: 6 years 3 months ago
Joined: 2017-11-19 00:40
Force ASLR breaks portableapps

There was a news article that ASLR is not used correctly in Windows 8 and 10, and to have ASLR you have to Force ASLR for all .exe's. - Forcing ASLR breaks all portableapps apps causing them not to run with error code 7B. The apps work if I download them from their web sites and run without portableapps. It might be worth looking at and fixing considering the problem Windows 8 and 10 have, as right now you have to choose between running securely *or* using portableapps, you can't have both afaik. (I searched and saw other topics on ASLR but this seemed to warrant a separate thread.)

Last seen: 4 years 8 months ago
Joined: 2017-11-23 06:22
The problem can be easy

The problem can be easy solved by enabling ASLR in all's executables.

Last seen: 4 months 3 weeks ago
Joined: 2009-06-21 09:23
I applied the ASLR registry

I applied the ASLR registry hack to two Win10 laptops and it had absolutely no effect on any of my portable applications.

Last seen: 2 years 5 months ago
Joined: 2011-04-04 11:23

I can confirm this problem. I applied the registry modification ( and all except a few portable apps (Firefox, Chrome) failed with error code 0xc000007b. The apps that work seem to have been built with a newer version of NSIS (3.x), according to their embedded manifests.

Undoing the registry patch solved the problem for me after a reboot.

Last seen: 2 years 5 months ago
Joined: 2011-04-04 11:23

John T. Haller has confirmed the problem in this thread.
So we'll have to wait until all apps have been rebuilt with PAL 3.x.

Unfortunately, this problem also hits other, non-PAF, programs as well (e.g. integrated older Java-Launchers). So I'll just have to turn off Force-ASLR for now.

Last seen: 3 days 1 hour ago
Joined: 2007-08-18 17:10
FYI, workaround example:

FYI, workaround example:

  1. Search in Windows for: "windows defender Security Center"
  2. Click on the second icon from the bottom: "App & browser control"
  3. Scroll to the bottom and click on: "Exploit protection settings"
  4. Click Program settings and then the "Add program to customize" button
  5. Click Choose exact file path
  6. Pick ExampleApp.exe - Pick the app crashing
  7. Scroll down to: Force randomization for images (mandatory ASLR)
  8. Check: "Override system settings" and se t to "Off" and click Apply

Do the same for all exes effected.

No more crashing. Smile



God Bless America

Last seen: 1 year 7 months ago
Joined: 2014-04-15 07:47
scripted solution

Hi, I posted this reply on another topic:

This way you don't have to change each application's settings. Wink

While most apps are not recompiled to NSIS 3, running this command on a elevated PowerShell windows will allow you to run most applications:

ForEach ($filename in (Get-ChildItem -Filter "Portable.exe" C:\PortableApps\*\*).FullName) { Set-ProcessMitigation -Disable ForceRelocateImages -Name $filename }
Log in or register to post comments