Shim Database to XML

Extracts data as XML from a shim database used for application compatibility. Please leave feedback on the tool here on this page.


This was developed using what little public documentation is available on MSDN as well as some experimentation at other functions that were exported from apphelp.dll, such as SdbReadBYTETag() which I reasoned follows the same signature pattern as SdbReadDWORDTag().


Version History



  • 1.0.0.0; Fri, 02 Nov 2007


    • Initial upload

    • Usage: sdb2xml sdb [-out report] [-base64 | -extract] [-?]

  • 1.0.1.0; Sun, 04 Nov 2007


    • Get filename for extraction when available from shim database.

    • Corrected P/Invoke signatures based on debug observations.

    • Usage: sdb2xml sdb [-out report] [-base64 | -extract] [-?]

  • 1.0.2.0; Mon, 28 Jan 2008


    • Encode the element name as a local name

    • Usage: sdb2xml sdb [-out report] [-base64 | -extract] [-?]

  • 1.0.3.0; Tue, 29 Jan 2008


    • Fixed the displayed usage; actual usage was correct and is unchanged

    • Usage: sdb2xml sdb [-out report] [-base64 | -extract] [-?]

sdb2xml.exe