Share via

Edge browser File Download Message box still appears after "AutoOpenAllowedForURLs" and "AutoOpenFileTypes" update in registry

Zhu, Ligong 285 Reputation points
2025-09-12T18:11:01.53+00:00

Hi, I updated windows registry to allow "docx" and "doc" file types in "AutoOpenFileTypes" and added my local server url to "AutoOpenAllowedForURLs" so that my MS Word file can be download/opened from Edge browser directly. Now Word files can be downloaded/opened directly as expected, but the it also shows "Downloads" message at the same time as you can see in the attached image. Is there anything we can do to stop showing this message in Edge? Thanks.User's image

Microsoft Edge | Microsoft Edge development
0 comments No comments

4 answers

Sort by: Most helpful
  1. Zhu, Ligong 285 Reputation points
    2025-09-22T15:31:08.04+00:00

    Thank you very much for your help. I put a static Word file at "http://localhost:9080/ebb/jsps/myDocument.doc" then tried your sample code using "wordopen:http://localhost:9080/ebb/jsps/myDocument.doc". It gives me a popup warning message "This site is trying to open openword.bat A website wants to open this application" first then launches an empty Word instance. We can't have that warning message and it looks like the bat file can't read file name correctly.

    If I just use the url without "wordopen" then the document can be downloaded and opened.

    Is there anything you can do to hide that warning message and also make the actual Word file open instead of an empty Word instance?

    1 person found this answer helpful.

  2. Jay Pham (WICLOUD CORPORATION) 3,520 Reputation points Microsoft External Staff Moderator
    2025-09-19T03:11:51.9466667+00:00

    Dear @Zhu, Ligong,

    Thank you for your patience and for following up. I apologize for the broken link in the earlier response. Below is a concise, step-by-step guide to set up a Custom Protocol Handler to open Word files directly from your local server in Edge, bypassing the "Downloads" notification using a custom URI scheme (e.g., "wordopen:").

    Important: Back up your registry (File > Export in Registry Editor) before proceeding, as administrative privileges are required.

    Step-by-Step Instructions

    1. Create a Handler Script:
      • Open Notepad and paste:
             @echo off
             set uri=%~1
             set url=%uri:wordopen:=% 
             "C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE" "%url%"
        
      • Replace the WINWORD.EXE path with your actual Word path (verify in File Explorer).
      • Save as C:\Scripts\openword.bat (ensure .bat extension).
    2. Register the Protocol in Registry:
      • Open regedit as administrator (Windows + R, type regedit).
      • Navigate to HKEY_CLASSES_ROOT.
      • Create a key named wordopen.
      • Set (Default) to URL:WordOpen Protocol.
      • Add a String Value URL Protocol with an empty value.
      • Create subkeys: wordopen\shell\open\command.
      • Set command\(Default) to: "C:\Scripts\openword.bat" "%1".
    3. Update Server Links:
      • Modify server links, e.g., from <a href="http://yourlocalserver/file.docx"> to <a href="wordopen:http://yourlocalserver/file.docx">.
    4. Test the Setup:
      • In Edge, click the updated link. It should open Word without the download bar.
      • If prompted, select "Open" and "Always allow" in Edge.
      • Troubleshoot: Check registry paths, test the batch file manually, ensure the URL is valid.

    For more details, refer to: Register an application to handle a custom protocol.

    We hope this resolves your issue seamlessly! If you encounter any challenges or have questions, please let us know, and we’ll assist promptly. Your feedback is invaluable to ensure we’ve fully addressed your needs.

    1 person found this answer helpful.
    0 comments No comments

  3. Jay Pham (WICLOUD CORPORATION) 3,520 Reputation points Microsoft External Staff Moderator
    2025-09-15T02:48:27.27+00:00

    Dear @Zhu, Ligong,

    Thank you for contacting Microsoft Edge Development regarding the "Downloads" notification appearing when auto-opening Word files. We appreciate you sharing the details of your configuration, including the updates to AutoOpenFileTypes and AutoOpenAllowedForURLs in the Windows Registry.

    This notification is a built-in feature of Edge to inform users of download activity, even when files are set to auto-open immediately. Currently, there isn’t a setting to suppress this bar specifically for auto-opening files, but we can help you disable it globally with the following options:

    1. Quick Fix :
      • Open Edge, go to Settings > search keyword Downloads, and turn off Show downloads menu when a download starts. This should remove the notification while preserving your auto-open functionality.
    2. Permanent Fix:
      • Open the Registry Editor (regedit), navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge, create a new DWORD value named DownloadNotificationEnabled, and set it to 0. Restart Edge afterward.

    These changes will hide the notification for all downloads. Please ensure you back up your registry before making edits, and let us know if you need guidance. We’re committed to improving your experience, and if this doesn’t fully meet your needs, we encourage you to submit feedback via Alt + Shift + I in Edge—we’ll consider it for future updates!

    If you encounter any issues or need further assistance, feel free to reply. If you find this response helpful, we’d appreciate your feedback—please let us know!

    1 person found this answer helpful.

  4. Lula Long 0 Reputation points
    2025-10-12T07:10:31.9333333+00:00

    I'm not very good with doing things like that, I'm still just trying to learn about the phone and I keep running into problems. Would you help me with this issue?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.