[2003] IE7 Search Provider ADM

Pagina: 1
Acties:
  • 1.433 views sinds 30-01-2008

Acties:
  • 0 Henk 'm!

Anoniem: 111246

Topicstarter
Op basis van dit KB article van MS: How to create custom .adm or .admx files to add search providers to the toolbar search box in Internet Explorer 7
Een ADM file gemaakt die enkel Google toevoegt als search provider in IE7.

IE7 staat geinstalleerd op een Terminal Server met 2003 R2.
De DC's zijn nog 2000 SP4.
Wel is de policy aangemaakt op een 2003 SP1 server.

Echter krijg ik de volgende melding wanneer ik de ADM file toevoeg aan AD (of local policy van mijn eigen XP SP2 pc):
The following error occured in \\domein\\etc\ADM\SearchProvider.ADM on line 3:
Error 62 The corresponding string was not found in the [strings] section

Found: !!WindowsComponents

The file cannot be loaded.
Echter staat die gewoon in de ADM file, het is namelijk niks meer dan copy/pasten.
Kijk ik nou ergens overheen? Of werkt dit gewoon niet?

Mijn ADM file:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
CLASS USER
CATEGORY !!WindowsComponents
CATEGORY !!InternetExplorer
POLICY !!PopulateSearchProviderList
            #if version >= 4
            SUPPORTED !!SUPPORTED_IE7
            #endif
            EXPLAIN !!IE_Explain_PopulateSearchProviderList
            KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes"
            VALUENAME Version
            VALUEON NUMERIC 1
   ACTIONLISTON
                KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{1CCB32A8-D615-4768-91D3-0E225F91B55E}"
                VALUENAME DisplayName  VALUE "Google"   
                VALUENAME URL               VALUE "http://www.google.nl/custom?q={searchTerms}"
            END ACTIONLISTON
        END POLICY
END CATEGORY
END CATEGORY

CLASS MACHINE
CATEGORY !!WindowsComponents
CATEGORY !!InternetExplorer
POLICY !!PopulateSearchProviderList
            #if version >= 4
            SUPPORTED !!SUPPORTED_IE7
            #endif
            EXPLAIN !!IE_Explain_PopulateSearchProviderList
            KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes"
            VALUENAME Version
            VALUEON NUMERIC 1
   ACTIONLISTON
                KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{1CCB32A8-D615-4768-91D3-0E225F91B55E}"
                VALUENAME DisplayName  VALUE "Google"   
                VALUENAME URL               VALUE "http://www.google.nl/custom?q={searchTerms}"
            END ACTIONLISTON
        END POLICY
   END CATEGORY
END CATEGORY


[string]
SUPPORTED_IE7="At least Internet Explorer 7.0"
WindowsComponents="Windows Components"
InternetExplorer="Internet Explorer"
PopulateSearchProviderList="Populate List of search providers"
IE_Explain_PopulateSearchProviderList="This policy setting will allow you to populate a list of search providers that will be displayed in the Internet Explorer search box.\n\n If you enable this policy setting and if the "Restrict search providers to a specific list of search providers" Group Policy setting is enabled, this list will be the only list that appears in the Internet Explorer drop-down list. If the "Add a specific list of search providers to the user's search provider list" Group Policy setting is enabled, this list will be added to the user's list of search providers.\n\n If you disable this policy setting or do not configure it, users will have complete freedom to create their own search provider list."


-edit-
Test DC aangemaakt in VMware, W2k3 R2, die eet de ADM ook niet. :/

Acties:
  • 0 Henk 'm!

  • WaSteiL
  • Registratie: Juli 2003
  • Laatst online: 09:02
Het lijkt erop dat je een custom policy probeert toe te voegen aan een bestaande GPO tree en dat hij daarom misgaat. Je kan natuurlijk ook je eigen sub-map maken waarin je je nieuwe GPO opneemt.

Ik heb ook wel eens custom GPO's toegevoegd, maar altijd onder een aparte map. Misschien dat het daarom misgaat.

Acties:
  • 0 Henk 'm!

Anoniem: 111246

Topicstarter
Nope, pakt ie ook niet.
Nieuw OU aangemaakt, nieuwe GPO, helaas dezelfde error.

Acties:
  • 0 Henk 'm!

  • WaSteiL
  • Registratie: Juli 2003
  • Laatst online: 09:02
Anoniem: 111246 schreef op vrijdag 12 januari 2007 @ 16:54:
Nope, pakt ie ook niet.
Nieuw OU aangemaakt, nieuwe GPO, helaas dezelfde error.
Het ging niet om een nieuwe OU of nieuwe GPO, maar onder je GPO en Administrative Templates m.b.v. een ADM file het aanmaken van een nieuwe category (of map : hoe je het wil noemen). Ik heb dit ook even voor je geprobeerd, maar maakt niet uit.

Acties:
  • 0 Henk 'm!

  • WaSteiL
  • Registratie: Juli 2003
  • Laatst online: 09:02
Probeer deze nog maar eens. Dan doet hij het wel.
Er stond namelijk [string] i.p.v. [strings]. Dan deed hij het nog niet aangezien hij niet zichtbaar werd onder Windows Components en Internet Explorer.

Aparte Categorie Custom Policy aangemaakt en dan laat hij hem wel zien. Op zich ook handiger aangezien je dan duidelijk hebt wat je eigen aangemaakte policy is.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
CLASS USER
CATEGORY "Custom Policy"
CATEGORY !!InternetExplorer
POLICY !!PopulateSearchProviderList
            #if version >= 4
            SUPPORTED !!SUPPORTED_IE7
            #endif
            EXPLAIN !!IE_Explain_PopulateSearchProviderList
            KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes"
            VALUENAME Version
            VALUEON NUMERIC 1
   ACTIONLISTON
                KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{1CCB32A8-D615-4768-91D3-0E225F91B55E}"
                VALUENAME DisplayName  VALUE "Google"    
                VALUENAME URL               VALUE "http://www.google.nl/custom?q={searchTerms}"
            END ACTIONLISTON
        END POLICY
END CATEGORY
END CATEGORY

CLASS MACHINE
CATEGORY "Custom Policy"
CATEGORY !!InternetExplorer
POLICY !!PopulateSearchProviderList
            #if version >= 4
            SUPPORTED !!SUPPORTED_IE7
            #endif
            EXPLAIN !!IE_Explain_PopulateSearchProviderList
            KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes"
            VALUENAME Version
            VALUEON NUMERIC 1
   ACTIONLISTON
                KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{1CCB32A8-D615-4768-91D3-0E225F91B55E}"
                VALUENAME DisplayName  VALUE "Google"    
                VALUENAME URL               VALUE "http://www.google.nl/custom?q={searchTerms}"
            END ACTIONLISTON
        END POLICY
   END CATEGORY
END CATEGORY


[strings]
SUPPORTED_IE7="At least Internet Explorer 7.0"
WindowsComponents="Windows Components"
InternetExplorer="Internet Explorer"
PopulateSearchProviderList="Populate List of search providers"
IE_Explain_PopulateSearchProviderList="This policy setting will allow you to populate

[ Voor 7% gewijzigd door WaSteiL op 12-01-2007 17:11 ]


Acties:
  • 0 Henk 'm!

Anoniem: 111246

Topicstarter
Thanks, nu werkt ie wel!
Foutje dus op de pagina van MS.

Acties:
  • 0 Henk 'm!

  • WaSteiL
  • Registratie: Juli 2003
  • Laatst online: 09:02
Anoniem: 111246 schreef op maandag 15 januari 2007 @ 08:40:
Thanks, nu werkt ie wel!
Foutje dus op de pagina van MS.
Zullen ze wel niet goed getest hebben.. :P

Acties:
  • 0 Henk 'm!

Anoniem: 99402

Heb de code exact copy paste enig idee waarom dit niet gaat nu?

Acties:
  • 0 Henk 'm!

  • alt-92
  • Registratie: Maart 2000
  • Niet online

alt-92

ye olde farte

Welke code van de twee (drie) genoemde? :)

ik heb een 864 GB floppydrive! - certified prutser - the social skills of a thermonuclear device


Acties:
  • 0 Henk 'm!

  • sanfranjake
  • Registratie: April 2003
  • Niet online

sanfranjake

Computers can do that?

(overleden)
Werkt prima.

Zeker beter dan een anderhalf jaar oud topic omhoog halen zonder enige aanleiding/argumentatie.

Open eventueel even je eigen topic Surdge.

Mijn spoorwegfotografie
Somda - Voor en door treinenspotters

Pagina: 1

Dit topic is gesloten.