Application is not working in microsoft Edge but working fine in Internet Explorer

Dilip kumar Pal 1 Reputation point

Earlier our Application was working fine in Internet Explorer, now we are planning to move our application to Microsoft edge, but it's not working getting the following failure

"Messages were detected:  + This program is blocked by group policy"

What this group policy is meant and what may be the solution to working our application in Microsoft Edge

Appreciate your valuable time and answer. :)


Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,162 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,441 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,776 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,737 questions
{count} votes

2 answers

Sort by: Most helpful
  1. MotoX80 32,091 Reputation points


    You are using ClickOnce deployment. I have limited experience with that technology and do not have a way to recreate your issue. I will take an educated guess and say that you are likely using the DirectInvoke method. See if support for ClickOnce is enabled.


    This site mentions group policy settings that may need to be changed.

    Defender or whatever AV software you are running could also be blocking the app.

    Does this application require "run as administrator"?

    Have you tried adding the site into the Trusted Site list?

    If all else fails, try searching other sites.

    0 comments No comments

  2. Limitless Technology 39,416 Reputation points

    Hi @Dilip kumar Pal

    It seems that this Application is blocked by Group policy in your Environment as it may detected as explicit.

    This program is blocked by group policy” error is caused by the affected user enabling the Software Restriction Policy and forgetting about it or another application or bug somehow enabling the Software Restriction Policy.\

    1. Press the Windows + R keys to open the Run dialog. Then you should type gpedit.msc and click OK to open the Group Policy window.
    2. Expand User Configuration > Administrative Templates > System. In the right pane, navigate to Don’t run specified Windows applications and double-click it.
    3. Then click the Show button.
    4. Remove the target program or application from the disallowed list and click OK.
    5. Disable any Antivirus program or Windows firewall you may have for temporary purpose.

    Hope this answers your question :)
    Thank you.

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments