1

I have written a BHO that will start a console application as soon as the BHO got instantiated. The console application is a simple helper application developed in C# and is placed in local disk C.

When I deployed the BHO on my development machine it worked fine but when deployed on the none development machines, Internet Explorer gives the following popup

I just want to get rid of the above popup

I have tried the following solutions already

Also we cannot disable the protected mode of Internet Explorer as it will allow all other applications including malware.

Usama Mohsin
  • 79
  • 1
  • 2
  • 11
  • Have you tried the **ElevationPolicy** registry key? The registry settings live in **{HKLM/HKCU}\Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy** with a unique GUID for each application. You should find the key your application lies on and change the Policy value to 3 and restart IE to try again. For more detailed information, you could refer to [this article](https://learn.microsoft.com/en-us/archive/blogs/ieinternals/understanding-the-protected-mode-elevation-dialog). – Yu Zhou Apr 27 '20 at 03:29
  • @YuZhou yea tried already and it had worked – Usama Mohsin May 07 '20 at 11:45
  • Great! I'll put that as an answer. – Yu Zhou May 11 '20 at 01:43

1 Answers1

2

You could try the ElevationPolicy registry key. The registry settings live in {HKLM/HKCU}\Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy with a unique GUID for each application. You should find the key your application lies on and change the Policy value to 3 and restart IE to try again.

For more detailed information, you could refer to this article.

Yu Zhou
  • 11,532
  • 1
  • 8
  • 22