Skip to content

Computed hash does not match registry hash after setting default program #1

@k1988

Description

@k1988

I set the default program for .zip files via Control Panel. then run UserChoiceLatestHash.exe -verify .zip on my machine, the computed hash does not match the registry hash.

Here is the output I received:

> UserChoiceLatestHash.exe -verify .zip
assoc: .zip
choice: UserChoice
progid: 360zip.ZIP
machine_id: C77CBC41-0FFE-418A-888F-6741A3C0E24A
sid: S-1-5-21-4133955441-3846432000-1315215193-1000
timestamp: 01dcdf62daf28c30
registry_hash: c784+VrhZ3g=
computed_hash: j9Y5Zze3A3Q=
mod_class: 2
match: false
canonical: S-1-5-21-4133955441-3846432000-1315215193-100001dcdf62daf28c30Copyright (C) Microsoft. All rights reserved {97B6BCF4-C367-4577-95BE-73BD3053A5E0}.zipC77CBC41-0FFE-418A-888F-6741A3C0E24A360zip.ZI

It seems the calculation logic may differ from what the system uses internally. Could you clarify whether this is a bug in the tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions