Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing I.E. settings in registry.

Status
Not open for further replies.

jag001

Programmer
Jan 16, 2005
10
CA

Hi Guys

Does anyone know where the registry key is for the following setting in Internet Explorer:

Tools -> Internet Options -> advanced -> (under security) Allow active content from CD's to Run on my Computer and Allow active content to run in files on my computer.

I have an application that uses active content and in XP SP2, users keep getting the bar at the top for notification. With this setting enabled that bar will stop prompting users when running the intranet application.

I was thinking of running a start up script that will change the registry entry to enable the above setting for all users.

Any Ideas?

Thanks in advance.
 
The key is

Code:
HKLM\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\Settings::LOCALMACHINE_CD_UNLOCK

but you are best just using the already built in Group Policy settting for it:

Code:
Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Advanced Page > Allow active Content from CDs to Run on User Machines

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
HI Neil

Thanks for the information, when I went to both the registry and the GPO I did not see the entry. For the registry on regedit i did not see Policies section, and when I when I searched around still could not see it.

For the GPO's I got as far as Internet Explorer and then I did not see Internet Control Panel, only different keys no more folders to travers down in. (I am using Small Bussiness server)

Any Ideas?
 
try setting this value manually on an XP machine, you will need to change it, then reboot to see if it works, if it does, let me know...and I'll write you a GP ADM extention.

Code:
HKCU\Software\Microsoft\Internet Explorer\ain\FeatreControl\FEATURE_LOCALMACHINE_LOCKDOWN\Settings::LOCALMACHINE_CD_UNLOCK

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
A simple script to set the registry key
Code:
on error resume next

Dim Path, WSHShell
Set WSHShell = Wscript.CreateObject("WScript.Shell")
Path = "HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN\Settings\"
WSHShell.RegWrite path & "LOCALMACHINE_CD_UNLOCK","1","REG_DWORD"

Or you may opt to set the key via AD after installing this free add on to the Group Policy Editor that lets you easily configure registry settings.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top