Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Format:RecentFileCache.bcf

From ReverseEngineering.wiki
Format
On this wiki Facts · Code · Notes · Topics

Windows 7 Application Compatibility file C:\Windows\AppCompat\Programs\RecentFileCache.bcf: a short header followed by length-prefixed UTF-16 file path strings of programs that ran or were installed.

Layout from libyal/dtformats documentation/RecentFileCache.bcf format.asciidoc (GFDL text; tested on Windows 7 only). Little endian.

On Windows 7 the file is C:\Windows\AppCompat\Programs\RecentFileCache.bcf. It stores metadata about program installation and execution for Windows Application Compatibility, in practice a list of paths.

Header (variable size per the source, 20 bytes of known fields)

Offset Size Value
0 4 signature 0x0ffeffef (written in the source as 0xffeffef; bytes EF FE FF 0F little endian, Unverified)
4 4 unknown, 0x00002211 seen
8 4 unknown, 3 seen
12 4 unknown, 1 seen
16 4 unknown (checksum?)

Filename strings

Repeated: 4-byte number of characters including the end-of-string character, then the UTF-16LE string with terminator.

On later Windows versions this role passed to the Amcache registry hive, see Format:Windows Registry hive (REGF) (Unverified: not read in the sources used here).

Code & repositories

  • https://github.com/libyal/dtformats @ 308ce8c38df2eb95a71b6e832b3f9803f0c4b169 · license: Apache-2.0 (declared by the contributor for the files used; GitHub reports Apache-2.0 (read from LICENSE; GitHub's API was busy) for the repository)
    libyal data format specifications; documentation/Windows Recycle.Bin file formats.asciidoc, Windows Recycler file formats.asciidoc, Job file format.asciidoc, RecentFileCache.bcf format.asciidoc.
    Tested on: source read, not run · checked 2026-10-19

See also

Format:Windows Prefetch, Format:Windows Registry hive (REGF).