Edge not opening local file share URL from intranet page

Jim Fisher 16 Reputation points
2022-02-11T17:56:27.793+00:00

I run a local html intranet page, within it I have a few URL links to local folder shares.

They work and have worked fine in IE but Edge and Chrome will not resolve them.

about:blank#blocked

<br><a href="\\10.x.x.x\"><img src="images/stuff.jpg" width="160" height="120"></a></td>

From the intranet page, clicking on the above link, it does nothing. Right click open in new tab and it gets the about:blank#blocked

Any ideas?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,369 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. XuDong Peng-MSFT 10,761 Reputation points Microsoft Vendor
    2022-02-14T02:32:13.423+00:00

    Hi @Jim Fisher ,

    What version of Edge are you currently using?

    And based on your description, if you want to allow intranet zone file URL links from Microsoft Edge to open in windows file explorer, you need to configure this policy: Microsoft Edge Policies - IntranetFileLinksEnabled. If you disable or don't configure this policy, file URL links will not open.

    Also you need to note that https://localhost/ is specifically blocked as an exception for allowed intranet zone hosts, while loopback addresses (127.0.0.*, [::1]) are treated as internet zone by default .

    Best 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.


  2. René K 0 Reputation points
    2023-02-07T08:28:32.8533333+00:00

    Can someone update this please?

    0 comments No comments

  3. B 0 Reputation points
    2023-03-01T20:54:55.04+00:00

    Is there a work around for this issue? For Google Chrome you can install the local links extension, but there does not seem to be an extension for MS Edge.

    0 comments No comments

  4. Brandon L 0 Reputation points
    2024-04-03T02:59:19.7+00:00

    Anyone get this working? I have enabled by GPO for our domain Microsoft Edge Policies - IntranetFileLinksEnabled. Now the links still do not open when clicked, but if right click and open in new tab or window they open in edge (PDF files open in browser and local directory opens in browser. How do I get clicking the links to open folders in file explorer? I tried adding the website IP address to local intranet list in IE gpo but that didn't help.


  5. Abimbola Omoyola 0 Reputation points
    2024-11-22T07:21:30.8333333+00:00

    This is by design. For security reasons, Microsoft Edge 76+ and Chrome impose a number of restrictions on **file:// **URLs, including forbidding navigation to file:// URLs from non-file:// URLs

    The most obvious problem is that the way file:// retrieves content can result in privacy and security problems. Pulling remote resources over file:// can leak your user account information and a hash of your password to the remote site. 

    More information here:

    https://textslashplain.com/2019/10/09/navigating-to-file-urls/

    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.