Downloads of v 2.20:


Last Update:


Package Maintainer(s):

Software Author(s):

  • Marco Pontello


file binary identity mime x-platform

TrID - File Identifier

This is not the latest version of TrID - File Identifier available.

2.20 | Updated: 2/6/2016



Downloads of v 2.20:



Software Author(s):

  • Marco Pontello

TrID - File Identifier 2.20

This is not the latest version of TrID - File Identifier available.

All Checks are Passing

2 Passing Test

Validation Testing Passed

Verification Testing Passed


To install TrID - File Identifier, run the following command from the command line or from PowerShell:


To upgrade TrID - File Identifier, run the following command from the command line or from PowerShell:


To uninstall TrID - File Identifier, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade trid -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade trid -y --source="'STEP 3 URL'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure trid installed
    name: trid
    state: present
    version: 2.20
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'trid' do
  action    :install
  version  '2.20'
  source   'STEP 3 URL'

See docs at

    Name: trid,
    Version: 2.20,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller trid
   Name     = 'trid'
   Ensure   = 'Present'
   Version  = '2.20'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'trid':
  provider => 'chocolatey',
  ensure   => '2.20',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install trid version="2.20" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator ferventcoder on 2/7/2016.


TrID is an utility designed to identify file types from their binary signatures. While there are similar utilities with hard coded logic, TrID has no fixed rules. Instead, it's extensible and can be trained to recognize new formats in a fast and automatic way.

TrID has many uses: identify what kind of file was sent to you via e-mail, aid in forensic analysis, support in file recovery, etc.

TrID uses a database of definitions which describe recurring patterns for supported file types. As this is subject to very frequent update, it's made available as a separate package. Just download both TrID and this archive and unpack in the same folder.
The database of definitions is constantly expanding; the more that are available, the more accurate an analysis of an unknown file can be. You can help! Use the program to both recognize unknown file types and develop new definitions that can be added to the library. See the TrIDScan page for information about how you can help. Just run the TrIDScan module against a number of files of a given type. The program will do the rest.

Because TrID uses an expandable database it will never be out of date. As new file types become available you can run the scan module against them and help keep the program up to date. Other people around the world will be doing the same thing making the database a dynamic and living thing. If you have special file formats that only you use, you can also add them to your local database, making their identification easier.

NOTE: This package automatically downloads the TrID database

$ErrorActionPreference = 'Stop'

$packageName = 'trid'
$url_trid    = ''
$url_trid_db = ''

$packageArgs = @{
  packageName   = $packageName
  url           = $url_trid
  #unzipLocation = "$ENV:ChocolateyInstall\bin"
  unzipLocation = Split-Path $MyInvocation.MyCommand.Definition
Install-ChocolateyZipPackage @packageArgs
$packageArgs.url = $url_trid_db
Install-ChocolateyZipPackage @packageArgs

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
TrID - File Identifier 2.24.20191017 33 Friday, October 18, 2019 Approved
TrID - File Identifier 2.24.20191015 101 Wednesday, October 16, 2019 Approved
TrID - File Identifier 2.24.20191014 108 Monday, October 14, 2019 Approved
TrID - File Identifier 2.24.20191011 97 Friday, October 11, 2019 Approved
TrID - File Identifier 2.24.20191010 65 Thursday, October 10, 2019 Approved
TrID - File Identifier 2.24.20191009 65 Wednesday, October 9, 2019 Approved
TrID - File Identifier 2.24.20191007 116 Monday, October 7, 2019 Approved
TrID - File Identifier 2.24.20191006 86 Sunday, October 6, 2019 Approved
TrID - File Identifier 2.24.20191004 81 Saturday, October 5, 2019 Approved

This package has no dependencies.

Discussion for the TrID - File Identifier Package

Ground Rules:

  • This discussion is only about TrID - File Identifier and the TrID - File Identifier package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or TrID - File Identifier, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus