简体   繁体   English

Windows升级后恢复DigitalProductId

[英]Recover DigitalProductId after Windows Upgrade

Hi we created a Software which uses 嗨,我们创建了一个软件,它使用

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId

as a part of an encryption key for a local database. 作为本地数据库加密密钥的一部分。 The problem is that when the users upgrade from 问题是,当用户从

win8->win10, 
win8->win8.1 
....

this key changes and we cannot decrypt the local database anymore. 此密钥已更改,我们无法再解密本地数据库。

Is it possible to read the previous value or get an event before windows is upgraded? Windows升级之前是否可以读取先前的值或获取事件?

ok found something here 确定在这里找到了一些东西

HKEY_LOCAL_MACHINE\\SYSTEM\\Setup\\Source OS (Updated on 8/1/2015 02:45:41)

but seems to work only for upgrades to win10 但似乎仅适用于升级到win10

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM