Internet Explorer Settings Script

Batch

Public Domain

This changes the IE settings, read the comments to understand which values you need to use. Some are numbers such as 0 1 2 3 4 etc and some are boolean "yes" and "no"

Download (right click, save as, rename as appropriate)

Embed

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
@ECHO OFF

REM IE Configuration for INKS (Siebel)
REM december 3rd, 2010 v1

REM Most of this information can be found here http://support.microsoft.com/kb/182569

REM The IE settings are stored in HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones path

REM the folders named 0-4 indicate security zones, they are as follows:
REM 0 = My Computer (local machine)
REM 1 = Local Intranet Zone
REM 2 = Trusted Sites Zone
REM 3 = Internet Zone
REM 4 = Restricted Sites Zone
REM
REM The HKCU path should be set as a custom variable since it will never change

REM Set the magic path, use %regPath% later to access this
REM If on a domain and you have the AD policy enabled for 'use machine settings only then please change the HKCU to HKLM since it will be read from that location instead

SET regPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones"

REM From the MS KB Page: 'Unless stated otherwise, each DWORD value is equal to zero, one, or three. Typically, a setting of zero sets a specific action as permitted, a setting of one causes a prompt to appear, and a setting of three prohibits the specific action.

REM There is a great map showing you what each numbered DWORD settings is on the pag pasted at the top of this script. Please see the text file that should've accompanied this script for a complete listing of commands.

REM First we're going to backup the things we're about to change to C:\IESettings.bak
REM If you need to reimport these, rename this file to IESettings.reg and double click the file and confirm you wish to import/merge the contents of the file with the registry
REM /y only works on Win7 and maybe Win vista, did not work on todd b's WinXP, removed
REG EXPORT %regPath% C:\IESettings.bak

REM Setup var for type of REG_DWORD
SET dw=REG_DWORD
REM First we will work with the Internet Zone (3)
REM 0x0 = Enable
REM 0x1 = Prompt
REM 0x3 = Disable
REM /t is type /f is overwite without prompt

REM Display video and animation on a webpage that does not use external media player
REG ADD %regPath%\3 /v 120A /t %dw% /d 0x3 /f
REM Download signed activex controls
REG ADD %regPath%\3 /v 1001 /t %dw% /d 0x1 /f
REM Download unsigned activex controls 
REG ADD %regPath%\3 /v 1004 /t %dw% /d 0x1 /f
REM Run activex controls and plug-ins
REG ADD %regPath%\3 /v 1200 /t %dw% /d 0x0 /f 
REM Initialize and script activex controls not marked as safe for scripting
REG ADD %regPath%\3 /v 1201 /t %dw% /d 0x1 /f 
REM Allow previously unused activex controls to run without prompt
REG ADD %regPath%\3 /v 1208 /t %dw% /d 0x0 /f 
REM Allow scriptlets
REG ADD %regPath%\3 /v 1209 /t %dw% /d 0x1 /f 
REM Script activex controls marked safe for scripting
REG ADD %regPath%\3 /v 1405 /t %dw% /d 0x0 /f 
REM Font download
REG ADD %regPath%\3 /v 1604 /t %dw% /d 0x0 /f 
REM File download
REG ADD %regPath%\3 /v 1803 /t %dw% /d 0x0 /f 
REM Binary and script behavoirs
REG ADD %regPath%\3 /v 2000 /t %dw% /d 0x0 /f 
REM Automatic prompting for file downloads
REG ADD %regPath%\3 /v 2200 /t %dw% /d 0x0 /f 
REM Automatic prompting for activex controls
REG ADD %regPath%\3 /v 2201 /t %dw% /d 0x0 /f 

REM Now we will adjust the Intranet Zone (1)
REM Display video and animation on a webpage that does not use external media player
REG ADD %regPath%\1 /v 120A /t %dw% /d 0x3 /f
REM Download signed activex controls
REG ADD %regPath%\1 /v 1001 /t %dw% /d 0x1 /f
REM Download unsigned activex controls 
REG ADD %regPath%\1 /v 1004 /t %dw% /d 0x1 /f
REM Run activex controls and plug-ins
REG ADD %regPath%\1 /v 1200 /t %dw% /d 0x0 /f 
REM Initialize and script activex controls not marked as safe for scripting
REG ADD %regPath%\1 /v 1201 /t %dw% /d 0x1 /f 
REM Allow previously unused activex controls to run without prompt
REG ADD %regPath%\1 /v 1208 /t %dw% /d 0x0 /f 
REM Allow scriptlets
REG ADD %regPath%\1 /v 1209 /t %dw% /d 0x1 /f 
REM Script activex controls marked safe for scripting
REG ADD %regPath%\1 /v 1405 /t %dw% /d 0x0 /f 
REM Font download
REG ADD %regPath%\1 /v 1604 /t %dw% /d 0x0 /f 
REM File download
REG ADD %regPath%\1 /v 1803 /t %dw% /d 0x0 /f 
REM Binary and script behavoirs
REG ADD %regPath%\1 /v 2000 /t %dw% /d 0x0 /f 
REM Automatic prompting for file downloads
REG ADD %regPath%\1 /v 2200 /t %dw% /d 0x0 /f 
REM Automatic prompting for activex controls
REG ADD %regPath%\1 /v 2201 /t %dw% /d 0x0 /f 

REM Finally we will adjust the Trusted Sites Zone (2)
REM Display video and animation on a webpage that does not use external media player
REG ADD %regPath%\2 /v 120A /t %dw% /d 0x3 /f
REM Download signed activex controls
REG ADD %regPath%\2 /v 1001 /t %dw% /d 0x1 /f
REM Download unsigned activex controls 
REG ADD %regPath%\2 /v 1004 /t %dw% /d 0x1 /f
REM Run activex controls and plug-ins
REG ADD %regPath%\2 /v 1200 /t %dw% /d 0x0 /f 
REM Initialize and script activex controls not marked as safe for scripting
REG ADD %regPath%\2 /v 1201 /t %dw% /d 0x1 /f 
REM Allow previously unused activex controls to run without prompt
REG ADD %regPath%\2 /v 1208 /t %dw% /d 0x0 /f 
REM Allow scriptlets
REG ADD %regPath%\2 /v 1209 /t %dw% /d 0x1 /f 
REM Script activex controls marked safe for scripting
REG ADD %regPath%\2 /v 1405 /t %dw% /d 0x0 /f 
REM Font download
REG ADD %regPath%\2 /v 1604 /t %dw% /d 0x0 /f 
REM File download
REG ADD %regPath%\2 /v 1803 /t %dw% /d 0x0 /f 
REM Binary and script behavoirs
REG ADD %regPath%\2 /v 2000 /t %dw% /d 0x0 /f 
REM Automatic prompting for file downloads
REG ADD %regPath%\2 /v 2200 /t %dw% /d 0x0 /f 
REM Automatic prompting for activex controls
REG ADD %regPath%\2 /v 2201 /t %dw% /d 0x0 /f 

ECHO Finished!
pause