Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Windows 2000 Server (TECHNET) > Windows XP SP2 Popup Blocker
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 11th August 00:44
paul
External User
 
Posts: 1
Default Windows XP SP2 Popup Blocker



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
  Reply With Quote


  sponsored links


2 11th August 00:45
mark heitbrink mvp
External User
 
Posts: 1
Default Windows XP SP2 Popup Blocker



Hi

Paul schrieb:


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
--
Mark Heitbrink - MVP Windows Server
Homepage: http://www.gruppenrichtlinien.de
extend GPO: http://www.desktopstandard.com
PM: Vorname@Homepage, Versende-Adresse wird nicht abgerufen.
  Reply With Quote
3 11th August 09:08
paul
External User
 
Posts: 1
Default Windows XP SP2 Popup Blocker


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
  Reply With Quote
4 11th August 09:08
mark heitbrink mvp
External User
 
Posts: 1
Default Windows XP SP2 Popup Blocker


Hi,

Paul schrieb:


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
--
Mark Heitbrink - MVP Windows Server
Homepage: http://www.gruppenrichtlinien.de
extend GPO: http://www.desktopstandard.com
PM: Vorname@Homepage, Versende-Adresse wird nicht abgerufen.
  Reply With Quote
5 11th August 09:09
paul
External User
 
Posts: 1
Default Windows XP SP2 Popup Blocker


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
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright Đ 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666