且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何检测 Windows 版本是否合法?

更新时间:2023-12-04 21:32:52

即使是 Microsoft 也无法可靠地做到这一点.这是一场持续的军备竞赛,因为微软更新 WGA 以对抗那些似乎几乎不需要做任何事情就可以绕过它的人.OEM 的需求加剧了这种情况,他们(理所当然地)需要预先安装和预先验证操作系统的副本,这样他们就不会惹恼他们的客户,而这些客户很可能是商业客户.我认为围绕这个问题的很多技巧"都与 OEM 主密钥有关.

Not even Microsoft can do this reliably. It is a constant arms race as Microsoft updates WGA against people who seemingly have to do very little to bypass it. This is exacerbated by the needs of OEMs who (rightly) need to have preinstalled and prevalidated copies of OSs so they don't annoy their customers, whom may well be business customers. I think that a lot of the "hacks" around this have to do with OEM master keys.

基本上,盗版软件(包括 Windows 和您的软件)是一个社会问题,而不是技术问题.作为软件供应商(恕我直言),您可以做的最糟糕的事情是激怒您的合法客户,以阻止盗版,以至于您使合法客户成为盗版.示例:一些游戏甚至安装了rootkit 并限制了激活次数(例如孢子).

Basically, pirating software (including Windows and your software) is a social problem not a technical one. The worst thing you can do as a software vendor (imho) is to annoy your legitimate customers in the quest to stop pirates to the point that you make your legitimate customers pirates. Example: some games have gone so far as to install rootkits as well as limiting the number of activations (eg Spore).

特别是限制激活是一种邪恶的做法.人们对这些事情有一种与生俱来的公平感.如果他们有两次激活,正在运行 Windows XP 并切换到 Windows 7 RC,然后在发布时切换到 Windows 7 的真实版本,那么他们刚刚超过了限制.与 Spore 的情况一样,您可以通过电话请求额外的激活,但这种事情只会让人们误会.有些人会觉得绕过这些限制是合理的.

Limiting activations in particular is an evil practice. People have an innate sense of fairness about these things. If they have two activations of something, are running Windows XP and switch to Windows 7 RC and will then switch to a real version of Windows 7 when released then they've just gone over the limit. As in the case of Spore, you can request additional activations over the phone but this kind of thing just rubs people the wrong way. Some to the point that they'll feel quite justified in bypassing such restrictions.

至于否决您的问题,我怀疑是因为人们不喜欢您的意图,原因可能与我上面列出的原因类似.

As for downvoting your question, I suspect it's because people don't like your intent, probably for reasons that are similar to the ones I've listed above.