询问者
office2010 KMS主机

问题
全部回复
-
你好!
我们可以使用ospp.vbs 脚本来查询和管理Office 2010的批量激活。您必须使用管理员权限打开命令提示符,并导航到包含该脚本的文件夹。该脚本位于 %installdir%\Program Files\Microsoft Office\Office14 文件夹中。如果在 64 位操作系统上运行 32 位 Office 2010,则该脚本位于 %installdir%\Program Files (x86)\Microsoft Office\Office14 文件夹中。
运行 ospp.vbs 需要 cscript.exe 脚本引擎。若要查看帮助文件,请键入以下命令,然后按 Enter:
cscript ospp.vbs /?
以下各表列出了 ospp.vbs 选项和值:KMS 客户端选项 说明 /dhistorykms
显示 KMS 客户端激活历史记录。
/dcmid
显示 KMS 客户端计算机 ID (CMID)。
/sethst:value
使用用户提供的主机名设置 KMS 主机名。Value 参数适用。这将设置 HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform\KeyManagementServiceName (REG_SZ)。
/setprt:value
使用用户提供的端口号设置 KMS 端口。Value 参数适用。这将设置 HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform\KeyManagementServicePort (REG_SZ)。
/remhst
删除 KMS 主机名(将端口设置为默认值)。
想了解更多信息,请参考下面的文章:
https://technet.microsoft.com/zh-cn/library/ee624350(v=office.14).aspx
Regards,
Winnie Liang
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已编辑 Winnie LiangMicrosoft contingent staff, Moderator 2017年5月19日 9:43
-
你好,这是在客户端电脑上执行吗?
如果office2010 KMS主机上没有按装office2010,那样怎样执行?
你好!
如果是在KMS主机上,你可以使用SLMGR.VBS命令检查Product keys. 打开CMD, 运行:
cd %systemroot%\system32
cscript slmgr.vbs /dli allRegards,
Winnie Liang
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
或者在CMD中运行SLMGR.vbs /dlv.
Regards,
Winnie Liang
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
执行后,可以看到客户端数量,但不知道这些客户端的电脑名及什么时候激活的?
你好!通过SLMGR.VBS命令可能无法获取已激活客户端的历史日期。有关该命令的详细信息,请参考:
https://technet.microsoft.com/zh-cn/library/dn502540(v=ws.11).aspx
如想查看 KMS 客户端激活历史记录,我们可以尝试使用支持诊断平台 (SDP) 清单文件 (Support Diagnostics Platform (SDP) manifest file)来查询。当你在支持的Windows平台上运行这个诊断程序包后,会在桌面上生成一个名字叫做{computername}_Office_Client_KMS_Report.html 的html的报告。在名叫作{Computername} _{Office#}_Ospp-dhistorykms.txt 的文件中,会显示KMS 客户端激活历史记录。
有关于这个诊断平台的详细信息,请参考:
Regards,
Winnie Liang
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Winnie LiangMicrosoft contingent staff, Moderator 2017年5月26日 2:32