寻找一个有效的 VBscript 来拉回 Office 2010 密钥

发布于 2024-10-20 11:37:39 字数 280 浏览 3 评论 0原文

我为一家服务提供商工作,在我们所有支持的计算机上都有自定义 VBscript,用于报告计算机的 Windows 和 Office 密钥。我们发现自 Office 2010 以来,返回密钥的方法就不起作用了。通过 Google 搜索,我发现了许多 Office 2010 的脚本,但似乎都不起作用。我正在寻找一个脚本,该脚本获取 Office 2010 的产品名称和产品密钥并将它们放入一个(或两个)变量中。

我到处找遍了,用谷歌搜索,直到我的手指流血,但我发现的没有一个有效。他们要么什么也不返回,要么在多台机器上返回错误的密钥。

I work for a service provider and have custom VBscripts on all our supported machines that report back the machines Windows and Office keys. We found that since Office 2010 the method to return keys hasn't worked. From Googling I have found many scripts for Office 2010 but none of them seem to work. What I am looking for is a script that gets the Product Name and Product Key for Office 2010 and puts them into a variable (or two).

I have looked everywhere and googled till my fingers are bleeding but none of the ones I have found have worked. They either return nothing or the wrong key on multiple machines.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

[旋木] 2024-10-27 11:37:39

从您的帖子来看,您下载的脚本似乎可以在某些机器上运行,但不能在其他机器上运行,这是正确的吗?如果是这样,我会检查这是否是由于 32 位与 64 位造成的,因为注册表访问存在一些差异。如果是这种情况,您也许可以使用找到的脚本,但只需根据操作系统调整它们以在不同位置查找即可。

否则,如果您能够使用外部可执行文件,那么互联网上有很多工具可以执行此操作,这个说他们有一个命令行界面(我没有尝试过),你可以从你的脚本自动化。

否则,我建议下载 Process Monitor 并让它运行记录对当您在支持的各种版本的 Windows 上安装并注册 Office 2010 的副本时,请访问注册表,这将为您提供注册表位置,然后您就有希望在某处找到解密算法。

From your post it sounds like the scripts you downloaded works on some machines, but not on others, is that correct? If so, I'd check if this might be due to 32bit vs 64bit since there are some differences in registry access. If this is the case you might be able to use the scripts you've found, but just adjust them to look in different location depending on OS.

Otherwise, if you'd be able to use an external executable, then there are plenty of tools on the internet to do this, this one says that they have a command line interface (I've not tried it), that you might be able to automate from your script.

Otherwise I'd suggest downloading Process Monitor and have that running logging any writes to the registry while you install and register a copy of Office 2010 on the various versions of Windows that you support, this should give you the registry location, and then you could hopefully find the decryption algorithm somewhere.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文