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).
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...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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).
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,
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...
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 :(