Open share folder or print server under asp.net website using Edge

TracyLiang 41 Reputation points
2022-05-07T03:14:00.947+00:00

Now we tried but failed to open the link of share folder(for example:file://servername/folder/) or print server under asp.net website using Edge or Chrome.
Note: Formerly it works under IE, but since IE will fade out without maintenance, so we have to replace it by other browsers.
Please kindly guide how to let it work. Thanks!

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

1 answer

Sort by: Most helpful
  1. XuDong Peng-MSFT 10,101 Reputation points Microsoft Vendor
    2022-05-09T06:41:01.68+00:00

    Hi @TracyLiang ,

    Based on your description, Do you want to allow intranet zone file URL links from Microsoft Edge to open in windows file explorer? If this is the case, 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, and this policy works in Edge version 95 or later, you can check it.

    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.