Amcache 2026.11.0
dotnet add package Amcache --version 2026.11.0
NuGet\Install-Package Amcache -Version 2026.11.0
<PackageReference Include="Amcache" Version="2026.11.0" />
<PackageVersion Include="Amcache" Version="2026.11.0" />
<PackageReference Include="Amcache" />
paket add Amcache --version 2026.11.0
#r "nuget: Amcache, 2026.11.0"
#:package Amcache@2026.11.0
#addin nuget:?package=Amcache&version=2026.11.0
#tool nuget:?package=Amcache&version=2026.11.0
AmcacheParser
Parses Amcache data: Amcache.hve (Windows 7 to 11) and the Inventory*.db SQLite databases that replace its
Root\Inventory* keys from Windows 11 26H1 on. Unlike other Amcache parsers it does not dump everything: it links File
entries to the Program entries they came from, so what didn't come from an installed program stands out, and writes
programs, files, shortcuts, drivers and devices to CSV. SHA-1 lists can exclude known files or include only the ones
looked for.
| Version | 2026.11.0 |
| Download | .NET 10 |
| All tools | ericzimmerman.github.io or Get-ZimmermanTools, which downloads them all and keeps them current |
| Changes | ChangeLog |
| Issues | EricZimmerman/AmcacheParser or EricZimmerman/Issues |
Requirements
- .NET 10: the .NET 10 runtime. Run
AmcacheParser.exeon Windows, ordotnet AmcacheParser.dllon any system with the runtime. The native SQLite library it needs ships next to it for Windows x64 (e_sqlite3.dll), Linux x64 (libe_sqlite3.so) and macOS on Apple silicon (libe_sqlite3.dylib); see LINUX.md for Linux, macOS and other systems.
There is no .NET Framework build.
Command line
Usage:
AmcacheParser [options]
Options:
-f <f> Amcache.hve to parse (Windows 7 to 11), the folder it's in (C:\Windows\AppCompat\Programs), or one of the Inventory*.db SQLite databases there (Windows 11 26H1 and later). The databases next to a hive are read too
-i Include file entries for Programs entries
-w <w> Path to file containing SHA-1 hashes to *exclude* from the results. Blacklisting overrides whitelisting
-b <b> Path to file containing SHA-1 hashes to *include* from the results. Blacklisting overrides whitelisting
--csv <csv> Directory to save CSV formatted results to. Be sure to include the full path in double quotes
--csvf <csvf> File name to save CSV formatted results to. When present, overrides default name
--dt <dt> The custom date/time format to use when displaying time stamps. See https://goo.gl/CNVq0k for options [default: yyyy-MM-dd HH:mm:ss]
--mp When true, display higher precision for timestamps
--nl When true, ignore transaction log files for dirty hives. Default is FALSE
--temp <temp> Folder for the temporary copies of the SQLite databases, which are opened instead of the evidence and deleted when done. Default: a Temp folder next to AmcacheParser. A folder that isn't there is created, and removed again when done. If that folder can't be written to, AmcacheParser stops: give a writable folder with --temp
--debug Show debug information during processing
--trace Show trace information during processing
--co When true, save all console messages to <timestamp>_AmcacheParser_<version>_ConsoleLog.txt in the --csv directory. Use --co false to turn it off
-?, -h, --help Show help and usage information
--version Show version information
Short options (a single letter) start with one dash, long options with two.
Examples
AmcacheParser.exe -f "C:\Temp\amcache\AmcacheWin10.hve" --csv C:\temp
AmcacheParser.exe -f "C:\Temp\amcache\AmcacheWin10.hve" -i --csv C:\temp --csvf foo.csv
AmcacheParser.exe -f "C:\Temp\amcache\AmcacheWin10.hve" -w "c:\temp\whitelist.txt" --csv C:\temp
AmcacheParser.exe -f "C:\Temp\Programs" -i --csv C:\temp (Amcache.hve and the Inventory*.db databases)
Output
There are three kinds of Amcache data, and AmcacheParser reads each it finds (the console says which):
- Old format (Windows 7 and 8): Program entries are under
Root\Programsand File entries underRoot\Filein Amcache.hve. - New format (Windows 10 and 11):
Root\InventoryApplication,Root\InventoryApplicationFileand the otherRoot\Inventory*keys in Amcache.hve. A hive upgraded from Windows 8 can have old format entries too; they are written to the_OldFormatCSVs. - SQLite databases (Windows 11 26H1 and later):
Inventory*.dbnext to Amcache.hve (C:\Windows\AppCompat\Programs) hold what theRoot\Inventory*keys did. A row is read like the key of the same name (ItemKey), its columns like the key's values, andLastModifiedlike the key's last write time, so the same CSVs come out (_Databasesin their names), with every column the databases have. Every other database (InventoryInstaller, InventoryMiscellaneous, Mare, ...) gets a CSV with its columns as they are, and theMetadatatables of all of them one more.
The CSVs are named <timestamp>_<hive name>_<kind>.csv (the UTC time the run started, the same as the console log's): UnassociatedFileEntries always, ProgramEntries and
AssociatedFileEntries with -i, and for the new format and the databases also ShortCuts, DriverBinaries,
DeviceContainers, DriverPackages and DevicePnps. Times are UTC in the --dt format. A date that doesn't parse (an
invalid program or driver date) is left empty instead of losing the entry.
The databases are copied (with any -wal and -journal) to a temporary folder and only the copies are opened, so nothing
is written next to the evidence. That folder is --temp, or by default a Temp folder next to AmcacheParser (never the
user's %TEMP%); each copy is deleted when it has been read. If the folder can't be written to (AmcacheParser in a
read-only place), AmcacheParser stops and asks for --temp. Damaged databases are reported, and the newest copy of a row
is used.
How programs and files are matched
AmcacheParser gathers information about all the Program entries, then looks at all the File entries. In each File entry is a pointer to a Program ID (value 100). If this Program ID exists in Program entries, the File entry is associated with the Program entry. At the end of this process you are left with things that didn't come from some kind of installed application.
- Using the minimum options, AmcacheParser will only export unassociated File entries.
- With
-i, AmcacheParser also exports a Programs entry list and its associated File entry list. - With whitelisting (
-w) and blacklisting (-b) you can further reduce the output by excluding certain File entries, or including only File entries whose SHA-1 is found in a blacklist file.
AmcacheParser strips the extra 0s from the front of the SHA-1 value, so you can use the SHA-1s as shown in the output files for generating whitelists or blacklists.
Exit codes
| Code | Meaning |
|---|---|
0 |
Success. Damaged hives and databases, entries that could not be parsed, and no Amcache data are reported but are not a failure |
1 |
The tool failed: invalid arguments, a missing -f path, a hive or database it can't access or read, a dirty hive without its transaction logs (unless --nl), or an export or --temp folder that can't be written |
What's new in 2026.11
- Moved to CsvHelper 34, a rewrite of the CSV library; the CSV output is byte for byte the same as 2026.10's.
What's new in 2026.10
- Hives load about 2x faster with less memory (Registry 2026.10.0); transaction logs are replayed as Windows does, and a hive in the test set that would not open is read.
- The Windows 11 26H1/26H2
Inventory*.dbdatabases are read: programs, files, shortcuts, devices and drivers with the same logic and CSVs as the hive, and every other database and their Metadata tables as CSVs of their own. -fcan be Amcache.hve, the folder it's in, or one of the databases. Databases are read from temporary copies in aTempfolder next to AmcacheParser (or--temp), so nothing is written next to the evidence.- Old format entries in hives upgraded from Windows 8 are written to
_OldFormatCSVs (they were left out; Issues #203). - Programs and drivers with a date that is not valid are kept with that date empty (they were left out with an error).
- New columns at the end of the new format CSVs, such as
PublisherandSha256for files andUserSidandMsiInstallDatefor programs. - .NET 10 only, with the native SQLite library next to it for Windows x64, Linux x64 and macOS on Apple silicon.
- Exit code 1 when the tool fails (it was always 0). Error reports include source file and line numbers.
--co(on by default;--co falseturns it off) saves all console messages to<yyyyMMddHHmmss>_AmcacheParser_<version>_ConsoleLog.txtin the--csvdirectory (time in UTC; Issues #259). CSV names use the UTC time, like the console log and the other tools (they used local time).--debugand--traceshow the time of each message again (they showed the--dtdate) (2026.10.1).
The full list is in the ChangeLog.
Building
dotnet build AmcacheParser.slnx -c Release
Builds net10.0, the Amcache library (netstandard2.0, NuGet) and the tests.
Hives are opened with the Registry library
(NuGet).
Further reading
- AmcacheParser: Reducing the noise, finding the signal
- (Am)cache still rules everything around me (part 2 of 1)
- Updates to the left of me, updates to the right of me, version 1 releases are here (for the most part)
- Everything gets an update, Sept 2018 edition
- Registry Explorer and RECmd 1.2.0.0 released!
- Locked file support added to AmcacheParser, AppCompatCacheParser, MFTECmd, ShellBags Explorer (and SBECmd), and Registry Explorer (and RECmd)
Special thanks
Open source development funding and support provided by the SANS Institute and SANS DFIR.
License
MIT, Copyright (c) Eric R. Zimmerman 2027.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- CsvHelper (>= 34.1.0)
- ERZHelpers (>= 2026.10.0)
- Microsoft.Data.Sqlite (>= 10.0.14)
- Registry (>= 2026.10.1)
- Serilog (>= 4.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.11.0 | 107 | 11/21/2026 |
| 2026.10.2 | 156 | 10/22/2026 |
| 2026.10.1 | 119 | 10/20/2026 |
| 2026.10.0 | 129 | 10/16/2026 |
| 2026.5.3 | 1,610 | 5/22/2026 |
| 2026.5.1 | 267 | 5/21/2026 |
| 1.3.1 | 40,662 | 1/10/2025 |
| 1.3.0 | 40,512 | 1/8/2025 |
| 1.2.0 | 40,825 | 7/7/2023 |
| 1.0.0.6 | 40,915 | 6/15/2021 |
| 1.0.0.5 | 40,885 | 6/8/2021 |
| 1.0.0.4 | 40,880 | 5/24/2021 |