Microsoft Edge ClickOnce: Enable & Use It
In this article
- What Is ClickOnce and Why Does Edge Block It?
- How to Enable ClickOnce in Microsoft Edge
- How to Enable ClickOnce via Group Policy (For IT Admins)
- ClickOnce vs. Other Launch Methods: What’s the Difference?
- Common Problems and How to Fix Them
- Security Considerations: Is It Safe to Enable ClickOnce?
- Alternatives to ClickOnce in Edge
- Frequently Asked Questions
Yes, you can enable ClickOnce support in Microsoft Edge, but it is turned off by default for security reasons. This article explains exactly how to turn it on, why it exists, and what to do when it doesn't work.
What Is ClickOnce and Why Does Edge Block It?
ClickOnce is a Microsoft deployment technology introduced with .NET Framework 2.0. It lets you install and run Windows applications (usually .exe or .appref-ms files) from a web page with minimal user interaction. Instead of downloading a large installer, the browser launches a small bootstrap file that pulls the application from a server.
Edge blocks ClickOnce by default because it can be abused. A malicious website could trick you into running a signed but harmful application. Microsoft’s policy is to require explicit user consent for any technology that launches executable code from the web. That’s why the setting is buried in Edge’s advanced permissions rather than enabled out of the box.
How to Enable ClickOnce in Microsoft Edge
The steps are the same for Edge on Windows 10 and Windows 11, and they work in both the stable and beta channels. Here’s how:
- Open Edge and type
edge://flagsin the address bar, then press Enter. - In the search box at the top, type
ClickOnce. - You’ll see a flag named “ClickOnce Support.” Click the dropdown on the right and select Enabled.
- Click the Restart button that appears at the bottom of the page.
After Edge restarts, ClickOnce files (.appref-ms) will launch automatically when you click them on a website. You may see a security prompt the first time—click Open to proceed.
How to Enable ClickOnce via Group Policy (For IT Admins)
If you manage multiple computers, enabling the flag manually on each machine is impractical. Instead, use Group Policy or the registry. The relevant policy is called “Allow ClickOnce” and it lives under Computer Configuration > Administrative Templates > Microsoft Edge.
Set the policy to Enabled and deploy it via your usual GPO update. For registry-based deployment, create a DWORD value named ClickOnceEnabled under HKLM\SOFTWARE\Policies\Microsoft\Edge and set it to 1. A value of 0 disables it.
ClickOnce vs. Other Launch Methods: What’s the Difference?
ClickOnce is not the only way to launch desktop apps from a browser. Here’s how it compares to common alternatives:
- Direct .exe download: The browser downloads the file and you run it manually. ClickOnce automates this and also handles updates.
- MSI installers: These require administrative privileges and a full installation process. ClickOnce installs per-user without admin rights.
- Progressive Web Apps (PWAs): These are web apps that run in a browser window. They don’t have access to the full Windows API like ClickOnce apps do.
ClickOnce is best for internal business applications that need frequent updates and don’t require admin access. It’s less common for public consumer software.
Common Problems and How to Fix Them
Even after enabling the flag, you might run into issues. Here are the most frequent ones and their solutions:
- ClickOnce still doesn’t launch: Make sure the flag is set to Enabled and you restarted Edge. Also check that the website uses the correct MIME type (
application/x-ms-application). - “This app has been blocked by your system administrator”: This usually means a Group Policy is overriding the flag. Check the registry key mentioned above.
- Error “Cannot start application”: The .NET Framework might be missing or outdated. Install the latest .NET Framework from Microsoft’s website.
- Edge updates reset the flag: Major Edge updates sometimes reset experimental flags. You’ll need to re-enable it after such updates.
Security Considerations: Is It Safe to Enable ClickOnce?
Enabling ClickOnce does increase your risk, but the danger is manageable if you follow basic precautions:
- Only enable it if you actually need to run ClickOnce applications regularly.
- Only click ClickOnce links from trusted websites—your company’s intranet, your bank, or a known vendor.
- Check the publisher name in the security prompt. If it says “Unknown Publisher,” don’t proceed.
- Keep your .NET Framework and Windows updated to patch known vulnerabilities.
ClickOnce applications are signed with Authenticode certificates. If the certificate is invalid or expired, Edge will warn you. Never ignore that warning.
Alternatives to ClickOnce in Edge
If you can’t enable ClickOnce or prefer not to, consider these alternatives:
- Download and run the .exe manually: This is the simplest fallback. You lose automatic updates, but you gain control.
- Use a different browser: Internet Explorer 11 (still available on Windows 10) supports ClickOnce natively, but it’s deprecated and insecure.
- Switch to a PWA: If the application is web-based, a PWA gives you a native-like experience without ClickOnce.
- Use a virtual desktop or remote app: For enterprise apps, Citrix or Remote Desktop can deliver them without ClickOnce.
Frequently Asked Questions
Does ClickOnce work in Edge on Mac or Linux?
No. ClickOnce is a Windows-only technology. Edge on macOS and Linux does not support it, and there is no flag to enable it. You would need to run Windows in a virtual machine or use a remote desktop solution.
Will enabling ClickOnce affect my browser security?
It slightly increases risk because it allows the browser to launch executable content. However, Edge still shows a prompt before launching, and the application must be signed. The risk is similar to downloading and running a .exe file.
Why is ClickOnce disabled by default in Edge?
Microsoft disabled it by default to reduce the attack surface. ClickOnce has been used in malware campaigns, and the default-off setting protects users who don’t need it. It’s a security-by-default decision.
Can I enable ClickOnce for a single website only?
No. The Edge flag applies globally. There is no per-site setting for ClickOnce. If you want to restrict it, you’d need to use Group Policy to allow it only for specific domains, but that requires advanced configuration.
Does ClickOnce work in Edge Chromium (the new Edge)?
Yes, the instructions in this article apply to the Chromium-based Edge (version 79 and later). The flag has been available since the early Chromium builds and remains in current versions.