Menu

Executable Files Cannot Run in RAM Disk

2023-06-30
2024-12-02
  • Paul Hawkins

    Paul Hawkins - 2023-06-30

    OS: Win11 22H2
    ImDisk : version 20220826

    Problem:

    Any executable file inside the ramdisk cannot be run. (As if lost the execution privilege). I have confirmed in windows directory permission settings, I have full access. Any other type of files works normally (READ/MODIFY/WRITE).

    Imdisk Config: Please refer to the attachment (config.png)

    Symptom:
    When double click on exe file, it pops up (see perm1.png) a windows complaining parent control, and if I log in with my microsoft account, it will fail with "unknown error".
    Running the exe file in command line, will bring up error of

    > The system cannot execute the specified program.
    

    Copy the same executable file into a normal windows folder, the problem disappears.

    I didn't see this problem when I was using an earlier version of Win11 (probably 20H2 but I had lost track of that version number).

     
  • Paul Hawkins

    Paul Hawkins - 2024-10-06

    Accidentally I figured out what was the cause. Windows defender is to blame. This can be fixed by disabling Windows Defender realtime protection.

    Very misleading error prompt though,

     
  • v77

    v77 - 2024-10-07

    I don't have this version of Windows, but I see in your screenshots "Microsoft family features". Windows Defender has parental control features. Did you checked that?

    That said, the "unknown error" you get later is suspect...

     
  • David Kolář

    David Kolář - 2024-12-02

    Please, did anyone find a working solution? This holding me from update my working PC to 24H2. So far I was solving this issue by disabling Defender completely, which worked up until now. Not for 24H2. So I wonder if:
    1) Is possible to do some extra steps to prevent Defender from doing this
    2) If there is some free (preferably open source) RAM disk alternative. I tried many and nothing was working as well. I need dynamically allocating RAM disk, which releases memory on file deletion. I often use it as temporary storage for big downloaded archives before extraction. For example I found Arsenal has dynamically allocated RAM disk, but it does not free memory, when you delete files. So this is not a solution for me :(

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.