![](https://learn.microsoft.com/media/logos/logo_edge.png)
Hi @john.gage ,
I'd like to silently install an edge extension programmatically in such a way that the user cannot disable the extension.
Based on your requirement, if you have sufficient permissions to edit/modify the registry then you should be able to implement your needs via the registry. You need to do something as following:
- Find or create the following key in the registry:
- 32-bit Windows :
HKEY_LOCAL_MACHINE\Software\Microsoft\Edge\Extensions
. - 64-bit Windows :
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Edge\Extensions
.- Create a new key, or folder, under
Extensions
with the same name as the ID of your extension. For example, create the key with the nameaaaaaaaaaabbbbbbbbbbcccccccccc
. - In the
Extensions
key, create the **update_url
** property, and set the value tohttps://edge.microsoft.com/extensionwebstorebase/v1/crx
. The **update_url
** property points to the.crx
file of your extension in the Microsoft Edge Add-ons website.
- Create a new key, or folder, under
- 32-bit Windows :
Something like this:
{
"update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}
Since I'm not sure what language you're trying to implement it in, I think what needs to be done should be similar. For example, in C#, you can use Registry Class and some of its corresponding methods to edit/modify the registry.
Regards,
Xudong Peng
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.