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

Dilip kumar Pal 1 Reputation point
2022-03-11T11:38:22.4+00:00

Hi,
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. :)

Thanks,
Dilip

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,381 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,679 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,952 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,865 questions
{count} votes

2 answers

Sort by: Most helpful
  1. MotoX80 34,686 Reputation points
    2022-03-14T13:53:00.003+00:00

    182883-capture.png

    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.

    edge://flags/#edge-click-once  
    

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

    https://learn.microsoft.com/en-us/deployedge/edge-learn-more-co-di

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

    https://social.msdn.microsoft.com/Forums/windows/en-US/74ab520c-f742-4c81-a709-5a4202821f7f/does-ms-edge-load-clickonce-applications

    Does this application require "run as administrator"?

    https://social.msdn.microsoft.com/Forums/windows/en-US/943f5933-9403-43a6-adaf-309f97e2bb51/clickonce-deployment-this-program-is-blocked-by-group-policy-for-more-information-contact-your

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

    https://computersluggish.com/windows-tutorials/how-to-add-a-trusted-site-to-microsoft-edge-in-windows-10/

    If all else fails, try searching other sites.

    https://www.bing.com/search?q=windows%20msedge%20clickonce

    0 comments No comments

  2. Limitless Technology 39,721 Reputation points
    2022-03-16T17:59:36.933+00:00

    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

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.