#144604 - 2005-08-02 01:25 AM
changing activex controls?
|
oscar
Fresh Scripter
Registered: 2005-07-28
Posts: 17
|
anyone know how to change activex controls with a script? ( internet options,security,internet/intranet.)
|
|
Top
|
|
|
|
#144605 - 2005-08-02 03:38 AM
Re: changing activex controls?
|
oscar
Fresh Scripter
Registered: 2005-07-28
Posts: 17
|
let me rephrase that, how do i change internet explorer security options with a script?
|
|
Top
|
|
|
|
#144606 - 2005-08-02 03:46 AM
Re: changing activex controls?
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
I (we) wrote some custom policy templates for this. You can either use these templates with GPO's ... or use the Kixtart WriteValue registry function to poke them directly ... here's the template for the USER INTRANET zone. To poke the INTERNET zone, just change the key as detailed below. If you need assistance using WriteValue, don't hesitate to ask.
Intranet KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1"
Internet KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3"
Code:
CATEGORY "Internet Explorer"
CATEGORY "Zone Settings" CATEGORY "Intranet Zone"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1"
POLICY "Run components not signed with Authenticode" VALUENAME "2004" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Run components signed with Authenticode" VALUENAME "2001" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Download signed ActiveX controls" VALUENAME "1001" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Download unsigned ActiveX controls" VALUENAME "1004" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Initialize and script ActiveX controls not marked as safe" VALUENAME "1201" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Run ActiveX controls and plugins" VALUENAME "1200" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Script ActiveX controls marked safe for scripting" VALUENAME "1405" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "File download" VALUENAME "1803" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Font download" VALUENAME "1604" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Microsoft VM Java permissions" PART "Java permissions" DROPDOWNLIST VALUENAME "1C00" ITEMLIST NAME "Medium safety" VALUE NUMERIC 131072 NAME "Low safety" VALUE NUMERIC 196608 NAME "High safety" VALUE NUMERIC 65536 NAME "Disable Java" VALUE NUMERIC 0 ; NAME "Custom" VALUE NUMERIC 8388608 END ITEMLIST END PART END POLICY
POLICY "Access data sources across domains" VALUENAME "1406" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Allow META REFRESH" VALUENAME "1608" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Display mixed content" VALUENAME "1609" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Don't prompt for client certificate selection when no certificate exists" VALUENAME "1A04" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Drag and drop or copy and paste files" VALUENAME "1802" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Installation of desktop items" VALUENAME "1800" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Launching applications and files in an IFRAME" VALUENAME "1804" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Navigate sub-frames accross different domains" VALUENAME "1607" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Software channel permissions" PART "Channel permissions" DROPDOWNLIST VALUENAME "1E05" ITEMLIST NAME "Medium safety" VALUE NUMERIC 131072 NAME "Low safety" VALUE NUMERIC 196608 NAME "High safety" VALUE NUMERIC 65536 END ITEMLIST END PART END POLICY
POLICY "Submit non-encrypted form data" VALUENAME "1601" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Userdata persistence" VALUENAME "1606" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Active scripting" VALUENAME "1400" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Allow paste operations via script" VALUENAME "1407" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "Scripting of Java applets" VALUENAME "1402" VALUEOFF NUMERIC 3 VALUEON NUMERIC 0 END POLICY
POLICY "User Authentication" PART "Security setting" DROPDOWNLIST VALUENAME "1A00" ITEMLIST NAME "Automatic logon with current Username and Password" VALUE NUMERIC 0 NAME "Automatic logon only in Intranet Zone" VALUE NUMERIC 131072 NAME "Prompt for Username and Password" VALUE NUMERIC 65536 NAME "Anonymous logon" VALUE NUMERIC 196608 END ITEMLIST END PART END POLICY
END CATEGORY ; Intranet Zone
|
|
Top
|
|
|
|
#144607 - 2005-08-02 05:01 AM
Re: changing activex controls?
|
oscar
Fresh Scripter
Registered: 2005-07-28
Posts: 17
|
yea,i was doing the direct thing with kix, i didnt know about the template, thanks.. im tring to make this work for all users though, its only working for administrator, or who ever is currently signed onto the terminal. i want to change the registry for all users...
|
|
Top
|
|
|
|
#144611 - 2005-08-03 01:38 AM
Re: changing activex controls?
|
oscar
Fresh Scripter
Registered: 2005-07-28
Posts: 17
|
im trying to change the registry settings for a certain user without having to sign the user on first. right now, i only know how to change the registry for machine, and current user, so i guess there is no other choice? id like to use a script, not a gpo. is there a way to log a user on with a script, if this is the only choice i have,other than gpo? right now i have to go to every machine, log the user in, and then change registry, that takes too much time. there has to be a way through kix...
|
|
Top
|
|
|
|
#144612 - 2005-08-04 12:06 AM
Re: changing activex controls?
|
oscar
Fresh Scripter
Registered: 2005-07-28
Posts: 17
|
anyone?
|
|
Top
|
|
|
|
#144614 - 2005-08-04 01:36 AM
Re: changing activex controls?
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Quote:
im trying to change the registry settings for a certain user without having to sign the user on first.
Having some trouble understanding this one. Why do it before they log in ?
|
|
Top
|
|
|
|
#144615 - 2005-08-05 08:36 AM
Re: changing activex controls?
|
oscar
Fresh Scripter
Registered: 2005-07-28
Posts: 17
|
the users use the terminals at random. They all log in under the same screen name, same pass.i could go to every station and log on that particular user name, but it would take to long. so im either trying to figure out a way to logon 20 stations at the same time, or edit that users hive without having to log them on. better?
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 484 anonymous users online.
|
|
|