Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Name
dnim-win-[x86|x64|arm64] trace - Identifies running .NET and .NET Core processes and the runtimes and SDK being used.
Synopsis
dnim-win-[x86|x64|arm64] trace [-a|--accept-license]
[-o|--output-file <OUTPUT_FILE>]
[--output-format <text|csv|html|json>]
[-v|--verbosity <quiet|normal|diagnostic>]
dnim-win-[x86|x64|arm64] trace -?|-h|--help
Description
The trace command processes kernel traces to identify running .NET and .NET Core processes.
The command examines a number of events, including ProcessDCStart, RuntimeStart, and ImageLoad to identify running processes that depend on the global runtime under Program Files, including .NET SDKs.
The command differentiates between single file and self-contained applications. While non-FDD processes may not be impacted by shared installations of .NET, the information provides a more complete view of a device, allowing administrators to make informed decisions.
The command is useful to identify applications using end-of-life runtimes and how removing older versions of .NET could impact a device.
Important
The command requires administrator access to process kernel traces.
Options
-
-a|--accept-licenseAutomatically accept the license agreement. On first run, the user will be prompted to accept the license. The command will fail if the verbosity is set to
quietand the tool is executed for the first time. Administrators should include this option when deploying DNIM across their network. -
-o|--output-file <OUTPUT_FILE>Specify the full path of the file where DNIM writes the command results.
-
--output-format <text|csv|html|json>Specify the output format for command results. The default format is
csv. -
-v|--verbosity <quiet|normal|diagnostic>Set the console output verbosity. Log files always contain diagnostic output. The default value is
normal.
Results
The results include information about each process (PID and start time) and the shared framework versions that were loaded. The table below contains examples of what the command reports. Note that some columns were removed for brevity.
| Process | PID | Runtime Family | CLR | CLR Version | Frameworks and SDKs |
|---|---|---|---|---|---|
| dnim-win-x64 | 12016 | Net, SingleFile | dnim-win-x64.exe | 8.0.3026.36720 | |
| dotnet | 47852 | Net | coreclr.dll | 10.0.1126.37416 | Microsoft.NETCore.App (10.0.11), sdk (10.0.400-preview.0.26322.102) |
| pwsh | 37364 | Net | coreclr.dll | 10.0.1026.32716 |
- DNIM is a single file application and the CLR is reported under the application host.
- The
dotnetprocess is an FDD application running on .NET 10.0.11. Note that the process also loaded modules from the .NET SDK. - The
pwshprocess is a self-contained application. The diagnostic log confirms this and shows a local copy ofcoreclr.dllwas loaded. The version is also different from the global copy loaded bydotnet(second row).[2026-08-17 08:31:59.175]d0000: Event: RuntimeStart, timestamp: 08/17/2026 08:31:57, PID: 37364, path: C:\Program Files\PowerShell\7\coreclr.dll