Sysinternals Suite for Windows: a collection of CLI and GUI system utilities

Sysinternals Suite is a set of command-line and GUI tools for Windows.

Sysinternals Suite - Process Monitor UI

The default download (for x64/x86 CPUs) contains both 64- and 32-bit binaries. If you are using a 64-bit machine, you can run the following PowerShell script in your directory of the extracted zip files to have the default .exe file be a symlink to the 64-bit version rather than the 32-bit executable:

$files = (ls)
$x64s = @{}
$x86s = @{}
$x64sTox86s = @{}

for ($i = 0; $i -lt $files.Length; $i++) {
    $filename = $files[$i].Name
    if ($filename.EndsWith("64.exe")) {
        $x64s[$filename] = $true
    } elseif ($filename.EndsWith(".exe")) {
        $x86s[$filename] = $true
    }
}

foreach ($x64 in $x64s.Keys) {
    $x86 = $x64.Replace("64.exe", ".exe")
    if ($x86s.ContainsKey($x86)) {
        $x64sTox86s[$x64] = $x86
    }
}

foreach ($x64 in $x64sTox86s.Keys) {
    $x86 = $x64sTox86s[$x64]
    Remove-Item -Path $x64
    New-Item -Type SymbolicLink -Path $x64 -Target $x86
}Code language: PHP (php)

Leave a Reply