Forum Discussion

Gunnar-Haslinger's avatar
Gunnar-Haslinger
Steel Contributor
Jan 20, 2020

SmartScreen turned off -> Java Webstart JNLP Files are marked as "can harm your computer"

Edge v79 (stable) as well as Edge v80 (beta) mark a downloaded Java Webstart (JNLP) File as "can harm your computer" if SmartScreen is turned off. This is weird and seem to be a bug.   Here is a De...
  • Gunnar-Haslinger's avatar
    Aug 12, 2020

    Starting with Edge v85 (currently in beta) there is a new policy "ExemptDomainFileTypePairsFromFileTypeDownloadWarnings" available which solves this issue:

     

    See Documentation:

    https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#exemptdomainfiletypepairsfromfiletypedownloadwarnings

     

    I can confirm this works with
    Edge Beta 85.0.564.30
    Edge Dev 86.0.594.1

    BUT be aware: The text in the documentation is correct, but the given Samples in the documentation are currently wrong!

    Citing the Sample in the docs:

    SOFTWARE\Policies\Microsoft\Edge\ExemptDomainFileTypePairsFromFileTypeDownloadWarnings\1
    = {'domains': ['https://contoso.com', 'contoso2.com'], 'file_extension': 'jnlp'}


    The single quotes in the examples are wrong, only double quotes are accepted and work! So this should be corrected to:
    = {"domains": ["https://contoso.com", "contoso2.com"], "file_extension": "jnlp"}

     

    To check my JNLP JavaWebStart Sample-Link https://hitco.at/java-webstart-demo/ successfully working, use following registry-Keys:

     

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExemptDomainFileTypePairsFromFileTypeDownloadWarnings]
    "1"="{\"domains\": [\"https://*.hitco.at\", \"https://hitco.at\"], \"file_extension\": \"jnlp\"}"

     

Resources