none
Group policy preference registry settings are lost inmediatly

    Question

  • Hi all,

    I have a Windows SBS 2011 domain (Windows 2003 forest/domain), composed by a SBS 2011 Server Standard and Windows 2008 R2 Standard and I'm having an strange issue. When I create a registry GPP used to configure some custom application settings located under HKLM/Software path, using the registry wizard, all the values stored in the policy are lost after closing the policy editor, althought the keys still remains. I'm using 'Update', not 'Replace' action and I have to edit all the values because they don't have the 'Subtree' value.

    Here you can see what I do:

    First : Running wizard, I've created the full path and all the keys/values

    Before closing editor (after running registry wizard)

    After closing the editor and opening again the policy, I've lost the last key (FC90) and all its values

    After closing and opened again

    Someone had the same problem? Perhaps I'm doing something wrong, but ... what!?

    Thanks in advanced

    Salva.

    Wednesday, February 13, 2013 8:05 AM

Answers

  • Hi

    I've tried it but...it fails...

    Start
    Start parsing registry file.
    WARNING: Invalid characters at: [HKEY_LOCAL_MACHINE]\SOFTWARE\gespro\FC90 (Block starts at line 3) Key: 'Conexion_Clave'
    Finish parsing registry file.
    Start writing XML file.
    Finish writing XML file.
    Finish.

    Also tried to do it manually, but it fails

    I think the only way to repair it is changing the password...



    • Edited by SalvaG Wednesday, February 13, 2013 11:39 AM
    • Marked as answer by SalvaG Thursday, February 14, 2013 11:31 AM
    Wednesday, February 13, 2013 11:21 AM
  • I think the only way to repair it is changing the password...

    I think so too.

    Even if you would be able to create the XML file, the client won't be able to read the XML
    file correctly.


    MVP Group Policy - Mythen, Insiderinfos und Troubleshooting zum Thema GPOs: Let's go, use GPO!


    • Edited by Matthias WolfMVP Wednesday, February 13, 2013 11:33 AM
    • Marked as answer by SalvaG Thursday, February 14, 2013 11:32 AM
    Wednesday, February 13, 2013 11:32 AM

All replies

  • More clues : I've edited the registry.xml created on the policy folder to see what is saved on the file, and the result is a little bit strange (bug?). If I choose remote computer and I select the desired values, they are shown in the editor but not saved on the file. And, If I choose the same registry hive but using the local registry instead of a remote one, all works fine...

    Any idea?

    Thanks

     
    Wednesday, February 13, 2013 10:27 AM
  • Hello Salva,

    Someone had the same problem? Perhaps I'm doing something wrong, but ... what!?

    Unfortunately I never have experienced this issue so far.

    Maybe you can check the XML file before you close the editor.

    Which version of GPMC do you use?
    (on which OS)


    MVP Group Policy - Mythen, Insiderinfos und Troubleshooting zum Thema GPOs: Let's go, use GPO!

    Wednesday, February 13, 2013 10:59 AM
  • I've found the problem: one of the values is not stored, neither using local registry nor remote registry, because it seems to have strange chars and it fails on saving the XML file. 

    How can I add this value???

    I've tried to modify the XML, but after modifying it I get 0xC00CE508 (An invalid character was found in text content) error trying to edit the policy.

    Any idea?

    Here is the strange string, and the strange char marked in yellow:

    Wednesday, February 13, 2013 11:02 AM
  • Hi Matthias, 

    as you can check on my last post, you are right. The problem is how to save that strange char that is being crashing the XML file. It is an encrypted password and I cannot change it (at the moment... I'll talk with developers :) )

    How to save strange chars using XML? Can I change the encoding? I supose I cannot do that...

    Wednesday, February 13, 2013 11:06 AM
  • Hello,

    Try to use reg2xml:

    http://www.reg2xml.com/

    Otherwise try to create registry manually, not with the Registry Wizard:


    MVP Group Policy - Mythen, Insiderinfos und Troubleshooting zum Thema GPOs: Let's go, use GPO!


    Wednesday, February 13, 2013 11:07 AM
  • Hi

    I've tried it but...it fails...

    Start
    Start parsing registry file.
    WARNING: Invalid characters at: [HKEY_LOCAL_MACHINE]\SOFTWARE\gespro\FC90 (Block starts at line 3) Key: 'Conexion_Clave'
    Finish parsing registry file.
    Start writing XML file.
    Finish writing XML file.
    Finish.

    Also tried to do it manually, but it fails

    I think the only way to repair it is changing the password...



    • Edited by SalvaG Wednesday, February 13, 2013 11:39 AM
    • Marked as answer by SalvaG Thursday, February 14, 2013 11:31 AM
    Wednesday, February 13, 2013 11:21 AM
  • I think the only way to repair it is changing the password...

    I think so too.

    Even if you would be able to create the XML file, the client won't be able to read the XML
    file correctly.


    MVP Group Policy - Mythen, Insiderinfos und Troubleshooting zum Thema GPOs: Let's go, use GPO!


    • Edited by Matthias WolfMVP Wednesday, February 13, 2013 11:33 AM
    • Marked as answer by SalvaG Thursday, February 14, 2013 11:32 AM
    Wednesday, February 13, 2013 11:32 AM