HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\ のハッシュは何ですか。 \UserChoice? 質問する

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\ のハッシュは何ですか。 \UserChoice? 質問する

Windows 8では、特定のドキュメントタイプに対してどのアプリケーションを開くかというユーザーの選択は、

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\<extension>\UserChoice

私のマシン上の PDF の場合、これには次のものが含まれます。

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice]
"Hash"="xh8KhPWlZL0="
"ProgId"="AcroExch.Document"

しかし、別のマシンではハッシュが異なります。ハッシュされるのは何ですか? また、この設定を別のマシンに適用できる .reg ファイルを作成する方法はありますか?

ベストアンサー1

誰かがハッシュをリバースエンジニアリングし、ファイルの関連付けを設定する CLI ツールを作成しました。

http://kolbi.cz/blog/?p=346

extension = “.txt”; the file extension
sid = “S-1-5-21-463486358-3398762107-1964875780-1001” ; the SID of the current user
progid = “txtfile”; the ProgId of the desired association
regdate = “01d3442a29887400”; timestamp of the UserChoice registry key
experience = “a microsoft secret string”; a static string (this is a dummy example, not the real string
hash = Base64(MicrosoftHash(MD5(toLower(extension, sid, progid, regdate, experience))))

すべての詳細が明らかにされているわけではありませんが、残りの部分をリバースエンジニアリングするにはおそらく十分でしょう。

おすすめ記事