Powershell how to allow content blocking in Internet Explorer
2 answers
This worked for me !
When the HTML page is loaded from local machine (local file path), the ActiveX control can be blocked by the Local Machine Lockdown feature. You should be able to workaround it by adding a mark-of-web
(<!-- saved from url=(0014)about:internet -->) at the beginning of your HTML page.
+2
source to share
You can achieve the same from a registry key. First create a registry key iexplore.exe
(Dword) in the pathHKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN
If you set the value to 1, "Allow active content to run in files on my computer" will not be checked.
If you set the value to 0, the "Allow active content to work in files on my computer" will be checked.
+3
source to share