Menu

keepass.config.enforced.xml not working

2018-07-27
2019-01-16
  • Scott Tweed

    Scott Tweed - 2018-07-27

    I believe i configured this correctly. I want to bypass user config and enable updates but not the popup for the user when they first launch the application. i push it thru SCCM using .msi and transform then xcopy the enforced config file to the app directory.![]

     
  • Scott Tweed

    Scott Tweed - 2018-07-27

    attached is my .xml

     
  • Dominik Reichl

    Dominik Reichl - 2018-07-27

    There is a 'd' missing after 'CheckForUpdateConfigure'.

    Best regards,
    Dominik

     
  • Scott Tweed

    Scott Tweed - 2018-07-27

    Got crossed eyed looking at it. Thank you so much will try it on Monday. Have a greate weekend.!

     
  • Eris S

    Eris S - 2019-01-16

    Hello,

    I've been reading this and another similar thread on this issue. I am still having issues making this work. My goal is to prevent the app from checking for new versions, and (I'm not sure if this is possible) to prevent/hide the check for updates option under help.

    I have v2.40 installed, and I have "KeePass.enforced.config.xml" saved in "C:\Program Files (x86)\KeePass2x" configured with:

    <configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <application>
    <start>
    <checkforupdate>false</checkforupdate>
    <checkforupdateconfigured>true</checkforupdateconfigured>
    </start>
    </application>
    </configuration>

    If I start 'fresh' with no xml file in "C:\Users\User\AppData\Roaming\KeePass" and the enforce XML file in program files, I get prompted to "Enable Automatic Update Check?" - which I want to suppress.

    I want to allow the user to retain any other config changes, but I want to prevent updates for all local users.

    What am I missing here?
    Thanks

     

    Last edit: Eris S 2019-01-16
  • Dominik Reichl

    Dominik Reichl - 2019-01-16

    There is a contradiction. In your post, CheckForUpdateConfigured is set to true, whereas in the attached file it is set to false.

    In order to disable update checking, CheckForUpdate must be set to false and CheckForUpdateConfigured must be set to true.

    Best regards,
    Dominik

     
  • Eris S

    Eris S - 2019-01-16

    Thanks for the very fast reply.

    "KeePass.enforced.config.xml" is now set as follows:

    <configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <application>
    <start>
    <checkforupdate>false</checkforupdate>
    <checkforupdateconfigured>true</checkforupdateconfigured>
    </start>
    </application>
    </configuration>

    I still get the undesired update prompt (attached). Once I click that, I now have a KeePassconfig.xml in Appdata/Roaming.

    I really appreciate the assist here.

     
  • Dominik Reichl

    Dominik Reichl - 2019-01-16

    The file name must be KeePass.config.enforced.xml, not KeePass.enforced.config.xml.

    Best regards,
    Dominik

     

Log in to post a comment.

MongoDB Logo MongoDB