Solved

Disabling IE7 Content Advisor Through Registry using a Script

Posted on 2008-10-22
3
644 Views
Last Modified: 2010-04-21
I need help disabling content adviser on all my computers. I would like to run a logon script for the users when they login.

The location of the registry item for content advisor is:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Ratings\.Default]
"Enabled"=dword:00000000

Can you please create a script that I can run that would work?

Thanks.
0
Comment
Question by:gymbo731
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
mikainz earned 100 total points
ID: 22777938
const HKCU = &H80000001
const HKLM = &H80000002

strComputer = "."
Set StdOut = WScript.StdOut

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")  
strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Ratings\.Default"
 strValueName = "Enabled"
dwValue = 0
 oReg.SetDWORDValue HKLM, strKeyPath, strValueName, dwValue
 
hth
0
 

Author Closing Comment

by:gymbo731
ID: 31508770
THANKS!!! Works like a charm.
0
 

Author Comment

by:gymbo731
ID: 22797293
Slight problem still - the script is running great, but you have to be a member of the administrators group locally in order for it to change anything.

Is there any easy solution to have this script change the registry if you are just a standard user?

Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question