Search code examples
htmlwindows-10microsoft-edgewindows-explorer

Open Windows Explorer with Microsoft Edge, without "Did you mean to switch apps?" message


I have an in-house web application that opens Windows Explorer folders using something like this:

<a href="file://SOME-NETWORK-SHARE" target="_blank">Click here to open folder</a>

This works fine in Internet Explorer on Windows 7. Note: the site is included in Trusted Sites, with additional security changes.

I have now upgraded several of our PCs to Windows 10 and although the site still works fine in Internet Explorer (without any prompts), in Microsoft Edge, the user is prompted to confirm:

"Did you mean to switch apps?"

Upon confirming the message, Windows Explorer opens. But is there any way to disable this message?

I have searched around but nothing matches my problem.

Thanks in advance


Solution

  • Answered on Microsoft Tech website:

    REGEDIT

    HKLM\SOFTWARE\Microsoft\Internet Explorer\ProtocolExecute\
    

    Add a key named file and add a dword key WarnOnOpen with value 0.