I was wondering if it is at all possible to make the following changes for trusted domains in Internet Explorer with PowerShell.
Internet Explorer settings I wish to change:
- Add http://website.com/ as a trusted site
- Allow ActiveX Filtering = Enable
- Allow previously unused ActiveX controls to run without prompt = Enable
- Allow Scriptlets = Enable
- Automatic Prompting for ActiveX controls = Disable
- Binary and script behaviours = Enable
- Display video and animation on a webpage that does not use external media player = Enable
- Download signed ActiveX controls = Enable
- Download unsigned ActiveX controls = Enable
- Initialize and script ActiveX controls not marked as safe for scripting = Enable
- Only allow approved domains to use ActiveX without prompt = Disable
- Run ActiveX controls and plugins = Enable
- Script ActiveX controls marked safe for scripting = Enable
Turns out that it was!
Here's what i did: (Run powershell as an Administrator)
Now you have all your settings pointed out as values. The trick is to find the proper values per setting. In my case I found the values on: http://support.microsoft.com/KB/182569 (A bit midway on the page)
Now we need to know what the preferred values are. In my case I found that value 0 is Enabled, 1 is Disabled and 3 is (if supported) prompting.
Next off it's pretty simple.
-ActiveX controls and plug-ins: Allow ActiveX Filtering = Enable (2702)
-ActiveX controls and plug-ins: Allow previously unused ActiveX controls to run without prompt = Enable (1208)
-ActiveX controls and plug-ins: Allow Scriptlets = Enable (1208)
-ActiveX controls and plug-ins: Automatic prompting for ActiveX controls = Disable (2201)
-ActiveX controls and plug-ins: Binary and script behaviors = Enable (2000)
-Display video and animation on a webpage that does not use external media player = Enable (120A)
-ActiveX controls and plug-ins: Download signed ActiveX controls = Enable (1001)
-ActiveX controls and plug-ins: Download unsigned ActiveX controls = Enable (1004)
-ActiveX controls and plug-ins: Initialize and script ActiveX controls not marked as safe for scripting = Enable (1201)
-Only allow approved domains to use ActiveX without prompt = Disable (120B)
-ActiveX controls and plug-ins: Run ActiveX controls and plug-ins = Enable (1200)
-ActiveX controls and plug-ins: Script ActiveX controls marked as safe for scripting = Enable (1405)