With Group Policy Preferences the settings "Apply Once and Do Not Reapply" can be enforced.
This is a great feature but when testing a GPP that you need to re-work and then re-test, it can be a bit annoying.
Instead of using another machine, you can clean your test machine as follow:
To know if a GPP has already been applied to a machine, the machine stores the Unique ID associated with each "Apply Once" settings in the registry.
For USER settings the UIDs are stored under:
HKEY_CURRENT_USER\Software\Microsoft\Group Policy\Client\RunOnce
and for MACHINE settings under:
HKEY_LOCAL_MACHINE\Software\Microsoft\Group Policy\Client\RunOnce
To know which UID(s) to clear, take a backup of your GPO and search for the "FilterRunOnce" ID in the gpreport.xml file.
Documenting problem resolutions, How-To's and lesson learned from my day to day as an SOE, GPO and Citrix engineer.
Showing posts with label Group Policy Preferences. Show all posts
Showing posts with label Group Policy Preferences. Show all posts
Thursday, October 3, 2013
Friday, September 27, 2013
HOW-TO Work with Group Policy Preferences F Keys
Let's first clarify that here F stands for Function and not Fxxxing Keys.
I recently was asked why the Group Policy Preferences where applying extra Power Configuration settings to the clients than the one defined in GPP through GPEdit.
Although how to work with GPP is someting that is documented in many places on the net and also in the GPMC.CHM, the use for the Function keys it's not intuitive at all and either you know it or you don't.
Here is the gist of it, when working with GPP some of the settings appears in the GUI underlined in Green or Red. The color is actually a code to indicate which setting's value will be applied by the GPP and which won't.
As far as I could check in my lab this is true for the following GPP items:
- Folder Options
- Internet Settings
- Power Options
- Regional Options
- Start Menu
To swtich between enabled and disabled here are the keys:
I recently was asked why the Group Policy Preferences where applying extra Power Configuration settings to the clients than the one defined in GPP through GPEdit.
Although how to work with GPP is someting that is documented in many places on the net and also in the GPMC.CHM, the use for the Function keys it's not intuitive at all and either you know it or you don't.
Here is the gist of it, when working with GPP some of the settings appears in the GUI underlined in Green or Red. The color is actually a code to indicate which setting's value will be applied by the GPP and which won't.
As far as I could check in my lab this is true for the following GPP items:
- Folder Options
- Internet Settings
- Power Options
- Regional Options
- Start Menu
To swtich between enabled and disabled here are the keys:
Subscribe to:
Posts (Atom)

