Login | |
|
 |
RE: Adding content advisor sites in IE - 11/16/2007 12:06:51 PM
|
|
 |
|
| |
dm_4ever
Posts: 2635
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
How would you do it manually? What changes occur when you do it manually? Is it a registry change, file change, etc, and what have you tried so far?
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Adding content advisor sites in IE - 11/17/2007 8:05:59 AM
|
|
 |
|
| |
frist44
Posts: 18
Score: 0
Joined: 11/16/2007
Status: offline
|
I tested the script and added exactly what the other sites had added. Here's what I wrote: Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\default:StdRegProv") strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Ratings\PICSRules\.Default\0\PRPolicy\2" oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath strValueName = "PRPPolicyAttribute" dwValue = 2 oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Ratings\PICSRules\.Default\0\PRPolicy\2\PRPPolicySub" oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath strValueName = "PRNumURLExpressions" dwValue = 1 oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Ratings\PICSRules\.Default\0\PRPolicy\2\PRPPolicySub\0" oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath strValueName = "PRBUHost" strValue = "www.aol.com" oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue strValueName = "PRBUPort" strValue = "80" oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue strValueName = "PRBUScheme" strValue = "http" oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue strValueName = "PRBUUrl" strValue = "www.aol.com" oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue strValueName = "PRBUInternetPattern" dwValue = 1 oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue strValueName = "PRBUNonWild" dwValue = 13 oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue strValueName = "PRBUSpecified" dwValue = 31 oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue The result didn't make a difference. www.aol.com hadn't been added to the list of allowed sites in IE. I"m not quite sure why because all the keys are identical to those other few that I added through the GUI. any ideas?
|
|
| |
|
|
|
|
|