Solved

Disabling IE7 Content Advisor Through Registry using a Script

Posted on 2008-10-22
3
645 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Set DateTime format for a SEP Date Control Object 2 41
Urgent domain controller problems 8 94
CSV file copy field 1 to field 2 2 63
Power Action 2 46
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 …
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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