none
Registry Preference Items creating same key twice

    Question

  • Hi. I have created a registry preference item that will create a DWORD value in HKCU\SOFTWARE\Policies\Microsoft\Office...

    I have three preference items creating entries in this location. one of them works as expected but the other two don't. Here is an example.

    Two Policies Keys

    So the one that works as expected is the Cached Mode setting and the one that doesn't is the addinlist settings. Here is a screenshot of them in the preference editor. I thought maybe I had done a typo but it doesn't look like it!

    I haven't changed any of the settings on the common tab other than targeting and it is exactly the same targeting specific user groups on the Cached Mode setting and the CRMaddin settings.

    Does anyone know why these two addinlist settings are going into a different key albeit a key with the same name? I didn't think keys with the same names were allowed? Also I am not entirely sure if these settings will be taking effect being like this in the registry?

    Can anyone help or offer some advice/pointers?

    Thanks

    Chris

    Friday, September 16, 2016 9:28 AM

Answers

  • > Does anyone know why these two addinlist settings are going into a
    > different key albeit a key with the same name? I didn't think keys with
    > the same names were allowed? Also I am not entirely sure if these
    > settings will be taking effect being like this in the registry?
     
    Keys with the same name are not possible. And since regedit always sorts
    them alphabetically and one of the keys is at the very beginning of the
    key list, I assume there's a non printable char at the beginning.
     > Can anyone help or offer some advice/pointers?
     
    Delete the 2 not working values, copy the working value and modify
    accordingly.
     
    • Marked as answer by d4rkcell Monday, September 19, 2016 8:20 AM
    Monday, September 19, 2016 8:16 AM
  • Martin you were right when i copied the path from one of the addinlist entries into a plain text editor there was a preceding ? after each \ e.g. SOFTWARE\?Microsoft\?Policies... and so on.



    Monday, September 19, 2016 8:22 AM

All replies

  • Hi Chris,
    According to the screenshots of registry editor and GPP, what I see is that two addinlist settings is created under the correct path as the GPP configured, instead of Cached Mode setting. Please correct me if I don’t understand clearly.
    Best regards,
    Wendy

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, September 19, 2016 3:32 AM
    Moderator
  • > Does anyone know why these two addinlist settings are going into a
    > different key albeit a key with the same name? I didn't think keys with
    > the same names were allowed? Also I am not entirely sure if these
    > settings will be taking effect being like this in the registry?
     
    Keys with the same name are not possible. And since regedit always sorts
    them alphabetically and one of the keys is at the very beginning of the
    key list, I assume there's a non printable char at the beginning.
     > Can anyone help or offer some advice/pointers?
     
    Delete the 2 not working values, copy the working value and modify
    accordingly.
     
    • Marked as answer by d4rkcell Monday, September 19, 2016 8:20 AM
    Monday, September 19, 2016 8:16 AM
  • Martin you were right when i copied the path from one of the addinlist entries into a plain text editor there was a preceding ? after each \ e.g. SOFTWARE\?Microsoft\?Policies... and so on.



    Monday, September 19, 2016 8:22 AM
  • Hi,
    Appreciate for your feedback and share. It will be greatly helpful to others who have the same problem.
    Thank you for your time.
    Best regards,
    Wendy

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, September 19, 2016 9:33 AM
    Moderator