Forum Discussion
SmartScreen turned off -> Java Webstart JNLP Files are marked as "can harm your computer"
- Aug 12, 2020
Starting with Edge v85 (currently in beta) there is a new policy "ExemptDomainFileTypePairsFromFileTypeDownloadWarnings" available which solves this issue:
See Documentation:
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\"}"
Gunnar-Haslinger Thank you for finding the issue in the documentation! We will be working on a fix to update the examples.
Kelly_Y
I already sent a Pull-Request to fix the examples yesterday: https://github.com/MicrosoftDocs/EdgeEnterprise/pull/166
- Kelly_YSep 09, 2020
Microsoft
Gunnar-Haslinger The documentation has been updated to fix the typo in the examples (https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#exemptdomainfiletypepairsfromfiletypedownloadwarnings)
Thanks again for letting us know!
-Kelly
- PeDeJun 21, 2021Brass Contributor
Issue still exists in Version 91.0.864.41 (Official build) (64-bit) Workaround works for old Dell IDRACs but not for new DELL IDRAC 9
Even with the Registry set:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExemptDomainFileTypePairsFromFileTypeDownloadWarnings 1 = {"domains": ["ourdomain.de"], "file_extension": "jnlp"}
we also tried to exclude ".crdownload" because the downloaded temporary files were created in downloadfolder "Unconfirmed 339791.crdownload"
Any Ideas?
- Gunnar-HaslingerJun 21, 2021Iron Contributor
PeDe I can confirm this Policy works as expected.
See my tested / working example above this post.
If your Registry-Export should show the contents of a .reg-File then there are Backslashes to escape all Quotation-Marks missing (see my sample).
you don't need to exclude ".crdownload", just "jnlp" without leading dot.
Maybe you like to show us a screenshot of your edge://policy/ to check if the policy is really formatted correctly.