Weird problem with custom GPO - ADM file

  • Thread starter Thread starter James Turner
  • Start date Start date
J

James Turner

I am trying to build a custom GPO (.ADM file) for managing how IE checks for
newer versions of stored pages. I have found the appropriate reg key and
built the ADM file (below).

It seems as though GPEdit does not like the KeyName because when I import it
I see the categories in the tree on the left, but not the policy value in
the right hand pane.

in testing when I use a valid registry path without a space in the path all
is OK, but when I use a registry key with a space it does not work.

Can anyone please help me make this work?

Cheers,

James.

ADM file below.
---------------------
CLASS MACHINE
CLASS USER
CATEGORY "DCD Custom Policies"
CATEGORY "Internet Options - Sync Mode"
POLICY "Set IE Page Refresh Settings"
KEYNAME !!RegKey
PART "Set SyncMode for IE" DROPDOWNLIST
REQUIRED
VALUENAME "SyncMode5"
ITEMLIST
NAME "Everytime You Visit Page"
VALUE NUMERIC 3
NAME "Everytime you start internet Explorer"
VALUE NUMERIC 2
NAME "Automatically"
VALUE NUMERIC 4
NAME "Never"
VALUE NUMERIC 0
END ITEMLIST
END PART
END POLICY
END CATEGORY
END CATEGORY

[strings]
RegKey="Software\Microsoft\Windows\CurrentVersion\Internet Settings"
 
No need, there is already a setting that will do exactly this. In the gpedit
console, right click on User Config > Windows Settings > Internet Explorer
Maintenance and select Preference Mode. This activates some hidden IE
settings under IE Maintenance in the advanced section. Look under Corporate
Settings and you will find what you need.

For future reference though, your template worked just fine. In the gpedit
console, right click on Administrative Templates and select View >
Filtering. Take the tick away from 'Only view policy settings that can be
fully managed'. The setting should now appear in the right hand pane with a
red blob instead of a blue blob (This is because it is a preference and not
a true Group Policy)
 
Back
Top