Windows XP SP2 Popup Blocker

G

Guest

Hi
Wonder if someone can help.......

I have created a .adm template to use in a Windows 2000 AD which forces the
SP2 popup blocker to be turned off. I does exactly what I intend it to do
apart from one side effect.

When I set the value to "no" it also writes a REG_SZ value of "no" with the
data "no" .

Heres what I have done

CLASS USER
CATEGORY "Internet Explorer 6.0 SP2 Popup Blocker"
POLICY "Disable Popup Blocker"
KEYNAME "Software\Microsoft\Internet Explorer\New Windows"
PART "PopupMgr" EDITTEXT
VALUENAME "PopupMgr"
END PART
END POLICY
END CATEGORY

When set this is what ends up in the registry.......

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\New Windows]
"PopupMgr"="no"
"no"="no"

Although this gives me what I want, the popup blocker turned off, I would
like to keep the registry clean from any junk as this is being deployed in a
corporate environmet to 8000 plus computers.

Besides I going nuts trying to work out whu its doing it.

Thanks for any help
 
M

Mark Heitbrink [MVP]

Hi
Heres what I have done

CLASS USER
CATEGORY "Internet Explorer 6.0 SP2 Popup Blocker"
POLICY "Disable Popup Blocker"
KEYNAME "Software\Microsoft\Internet Explorer\New Windows"
PART "PopupMgr" EDITTEXT

It´s because of "no" entry in EDITEXT field. Change this to:
PART "PopupMgr" CHECKBOX
after that a DWORD "PopupMgr" is created, active=1, deactivate=delete
or much easier, forget about the PART. Create only a policy.

CLASS USER
CATEGORY "Internet Explorer 6.0 SP2 Popup Blocker"
POLICY "Disable Popup Blocker"
KEYNAME "Software\Microsoft\Internet Explorer\New Windows"
VALUENAME "PopupMgr"
END POLICY
END CATEGORY

Mark
 
G

Guest

Mark
Thanks for the advice. The reason I used the EDITTEXT is because the value
in the registry is a REG_SZ with a data field of either "yes" or "no" not a
"0" or "1".

Thanks
Paul
 
M

Mark Heitbrink [MVP]

Hi,
Thanks for the advice. The reason I used the EDITTEXT is because the value
in the registry is a REG_SZ with a data field of either "yes" or "no" not a
"0" or "1".

Ups. Didn´t take look inside the registry.
Then you should stay with EDITTEXT, perhaps your "no"="no"
is from a first run, where you tested your template.
Take a look inside the pol-file with polviewer from gpoguy.com
Because of the tattoing behavior of your template all entries
stay inside the pol-file if you don´t negtiate them via the
ADM Template

To delete it, you can work like this:

CLASS USER
CATEGORY "Internet Explorer 6.0 SP2 Popup Blocker"
POLICY "Disable Popup Blocker"
KEYNAME "Software\Microsoft\Internet Explorer\New Windows"
VALUENAME "no"
VALUEON DELETE
END POLICY
END CATEGORY

Mark
 
G

Guest

Mark
That did the trick also got it to work another way just for info

CLASS USER

CATEGORY "Internet Explorer 6.0 SP2 Popup Blocker"
KEYNAME "Software\Microsoft\Internet Explorer\New Windows"

POLICY "PopupMgr"
PART "PopupMgr"
EDITTEXT
DEFAULT "no"
VALUENAME "PopupMgr"
END PART
END POLICY

END CATEGORY

When you enable the policy it automatically populates the data field with
"no" if not configured or disabled it leaves the current value intact.

Again Thanks for your help

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top