How to Write Script to Change Internet Explorer Settings

Internet Explorer (IE) is Microsoft Windows' default Web browser. Internet Explorer comes with built-in menu that allows you to make changes in settings as you may wish. However, if you are an advanced user, you can use the Windows registry system tool to modify scripts. You can edit value name and value data for each setting to implement changes in the browser. Note that you will need administrative rights to complete this task.

Click the "Start" menu; type "regedit" (without the quotes) in the search box and press "Enter." Type your administrative password or click "Continue" to launch the Windows registry editor.

Change privacy settings by navigating to the following registry key in the left pane: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\P3P\History

Right-click the domain (in the right pane) where you wish to implement the changes and choose "Modify...." Enter "0x00000005" as your "DWORD" value data to block the domain. Enter "0x00000001" to allow the domain.

Navigate to the following registry key in the left pane:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings