hactool --keyset=prod.keys --titleid=0100000000001000 some_file.nca
If you are still seeing the error, run through this checklist: hactool prod.keys does not exist
To recap the solution:
@echo off hactool.exe --keys=C:\switch\keys\prod.keys %* hactool --keyset=prod
Example minimal prod.keys for hactool usage (placeholder values — replace with real keys you extracted): this warning can sometimes be ignored.
If you are only checking file info and don't need decryption, this warning can sometimes be ignored.