Dotnet 9 apps blocked by Windows security Completely

Anonymous
2025-04-21T08:09:29.75+00:00

Dotnet 9 applications unable to run as its blocked by Windows security. i tried with multiple simple applicaitons console all. all blocked,same app if i change to .net 8 then it works fine.

Image

I have visual studio, sdk ,os all updated to latest.

User's image

Mostly this Problem started appearing from 18-April-2025 of Good friday onwards become blocked on these laptops. We have official OS all still why. please help to resolve this total blocker.

We have other applications built on same .net 9 blazor ,api and more will be deploying to azure appservices.

Image

Image

Also on https://answers.microsoft.com/en-us/windows/forum/windows_11-security/dotnet-9-applications-unable-to-run-as-its-blocked/a035836e-5cdf-4be0-9e05-9d4f5738df54

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Son Pham 0 Reputation points
    2025-07-31T04:31:00.75+00:00

    Hi, I know it's a bit late but for me the problem seems to related to RSA policy that configure "Enable controlled Folder Access".

    You can try to disable it in local policy to see if it works for you.
    Follow these steps:

    • Open Local group policy editor by open via "gpedit.msc" command.
    • Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Controlled Folder Access > Configure Controlled Folder access User's image

    Hope this help

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.