Can I change Internet Explorer security settings using a script?

14,912

You could accomplish this using registry hacks in your batch files, but GPO would be the appropriate and best way to go. With a GPO, you can control the the settings from being changed back by a user or rougue website. GPOs will apply every hour and 1/2 or so in most environments, whereas your scripts (I'm guessing) are more manual in nature.

Here's a good MSKB on the registry keys you can look at: http://support.microsoft.com/kb/182569

another KB for writing the batch files: http://technet.microsoft.com/en-us/library/bb727154.aspx

Share:
14,912

Related videos on Youtube

Ben Pilbrow
Author by

Ben Pilbrow

Updated on September 18, 2022

Comments

  • Ben Pilbrow
    Ben Pilbrow over 1 year

    Is it possible to change Internet Explorer security settings using a .bat or .vbs file?

    Basically, I need to change IE7 and IE8 security settings for the local intranet. The settings I want to change are:

    Display video and animation on a webpage that does not use external media player
    Doanload signed ActiveX controls
    Download unsighned ActiveX controls
    Initialize and script ActiveX controls not marked as safe for scripting
    

    These should be set to Enable

    I don't know how to use Group Policies but we have network software which allows me to specify the location of a .bat/vbs file and run it on all computers in the network.

  • jscott
    jscott over 12 years
    You should check out the reg.exe command. It can manipulate the registry directly without the need to create an intermediate .REG file.