Downloads of v 2.20.20160827:


Last Update:

27 Aug 2016

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.

  • 1
  • 2
  • 3

2.20.20160827 | Updated: 27 Aug 2016



Downloads of v 2.20.20160827:



Software Author(s):

  • Marco Pontello

  • 1
  • 2
  • 3
TrID - File Identifier 2.20.20160827

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

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.


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.20160827
    source: STEP 3 URL

See docs at

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

See docs at

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

Requires Otter Chocolatey Extension. See docs at

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

Requires cChoco DSC Resource. See docs at

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

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install trid version="2.20.20160827" 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 flcdrg on 28 Aug 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. Since the database is what actually gets updated, if you want to use the latest one simply force the installation of the TrID again.

$ErrorActionPreference = 'Stop'

$packageName = 'trid'
$url_trid    = ''
$checksum    = 'EA7F82363912F5B3C79217BA8716425EC3F2514887F788DCD5A2821D0B1FC83F'
$url_trid_db = ''
$tools_path  = Split-Path $MyInvocation.MyCommand.Definition

$packageArgs = @{
  packageName   = $packageName
  url           = $url_trid
  checksum      = $checksum
  checksumType  = 'sha256'
  unzipLocation = $tools_path
Install-ChocolateyZipPackage @packageArgs

Write-Host "Installing the latest trid database"
Get-WebFile $url_trid_db $tools_path\
Get-ChocolateyUnzip $tools_path\ $tools_path
rm $tools_path\

Log in or click on link to see number of positives.

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.20211009 230 Sunday, October 10, 2021 Approved
TrID - File Identifier 2.24.20211003 179 Monday, October 4, 2021 Approved
TrID - File Identifier 2.24.20211001 96 Saturday, October 2, 2021 Approved
TrID - File Identifier 2.24.20210926 168 Monday, September 27, 2021 Approved
TrID - File Identifier 2.24.20210917 231 Saturday, September 18, 2021 Approved
TrID - File Identifier 2.24.20210910 209 Saturday, September 11, 2021 Approved
TrID - File Identifier 2.24.20210908 121 Thursday, September 9, 2021 Approved
TrID - File Identifier 2.24.20210905 124 Monday, September 6, 2021 Approved
TrID - File Identifier 2.24.20210901 174 Thursday, September 2, 2021 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