Office 365 专业增强版的共享计算机激活概述Overview of shared computer activation for Office 365 ProPlus

重要

此信息面向管理员和 IT 专业人员。This information is intended for administrators and IT Pros. 若要了解如何激活 Office 的个人副本,请参阅激活 OfficeFor information about activating a personal copy of Office, see Activate Office.

共享计算机激活让你可以将 Office 365 专业增强版部署到组织中的多个用户访问的计算机。下面是使用共享计算机激活受支持的方案的一些示例:Shared computer activation lets you to deploy Office 365 ProPlus to a computer in your organization that is accessed by multiple users. Here are some examples of supported scenarios for using shared computer activation:

  • 一家工厂的三位员工共享一台计算机,每个人在 8 小时轮班期间使用该计算机上的 Office。Three workers at a factory share a computer, each worker using Office on that computer during their eight-hour shift.
  • 一家医院的十五位护士整天使用十台计算机上的 Office。Fifteen nurses at a hospital use Office on ten different computers throughout the day.
  • 5 名员工远程连接到同一计算机以运行 Office。Five employees connect remotely to the same computer to run Office.
  • 多个员工使用会议室或一些其他公共空间公司的计算机上的 Office。Multiple employees use Office on a computer that's located in a conference room or some other public space in the company.

最常见的共享计算机激活方案是使用远程桌面服务 (RDS) 将 Office 365 专业增强版部署到共享计算机。使用 RDS,多个用户可以同时连接到同一台远程计算机。用户可以分别在远程计算机上同时运行 Office 365 专业增强版程序(如 Word 或 Excel)。The most common shared computer activation scenario is to deploy Office 365 ProPlus to shared computers by using Remote Desktop Services (RDS). By using RDS, multiple users can connect to the same remote computer at the same time. The users can each run Office 365 ProPlus programs, such as Word or Excel, at the same time on the remote computer.

共享计算机激活用于多个用户共享同一台计算机且用户使用自己的帐户登录的情况。如果你为单个用户分配了计算机,任何其他用户都不使用这些计算机,则使用 Office 365 专业增强版的产品密钥激活Shared computer activation is used for situations where multiple users share the same computer and the users are logging in with their own account. If you have users who are assigned individual computers and no other users work on those computers, you use product key activation for Office 365 ProPlus.

一般情况下,用户只可以在有效数量的设备(如 5 台电脑)上安装和激活 Office 365 专业增强版。Normally, users can install and activate Office 365 ProPlus only on a limited number of devices, such as 5 PCs. 该限制不适用于在已启用共享计算机激活的情况下使用 Office 365 专业增强版。Using Office 365 ProPlus with shared computer activation enabled doesn't count against that limit.

如何为 Office 365 专业增强版启用共享计算机激活How to enable shared computer activation for Office 365 ProPlus

如果有包含 Office 365 专业增强版的 Office 365 计划,可以使用共享计算机激活。请确保已为每个用户分配Office 365 专业增强版许可证,且用户已使用自己的用户帐户登录共享计算机。If you have an Office 365 plan that includes Office 365 ProPlus, you can use shared computer activation. Make sure you assign each user a license for Office 365 ProPlus and that users log on to the shared computer with their own user account.

备注

共享计算机激活也适用于以下:Shared computer activation is also available for the following:

  • 订阅版 Project 和 Visio。Subscription versions of Project and Visio. 例如,如果你有 Project Online 专业版计划或 Visio Online 计划 2。For example, if you have the Project Online Professional plan or Visio Online Plan 2.
  • Office 版本为 Office 365 商业版的 Microsoft 365 商业版订阅者。Microsoft 365 Business subscribers, whose version of Office is Office 365 Business. 但是,Microsoft 365 商业版订阅者不能使用组策略来实现共享计算机激活,因为 Office 365 商业版不支持使用组策略。But, Microsoft 365 Business subscribers won't be able to use Group Policy to enable shared computer activation, because Office 365 Business doesn't support the use of Group Policy.

共享计算机激活不适用于 Office for Mac。Shared computer activation isn't available for Office for Mac.

若要在部署 Office 365 专业增强版时启用共享计算机激活,需要使用最新版 Office 部署工具(可以从 Microsoft 下载中心免费下载)。To enable shared computer activation when you deploy Office 365 ProPlus, you need the current version of the Office Deployment Tool, which is available for free from the Microsoft Download Center.

结合使用 Office 部署工具和简单的文本文件,可以在共享计算机上安装 Office 365 专业增强版,并为共享计算机启用共享计算机激活。创建文本文件时,请添加下面的代码行。The Office Deployment Tool, combined with a simple text file, is used to install Office 365 ProPlus on the shared computer, and to enable shared computer activation for that computer. Add the following lines when you create the text file.

<Display Level="None" AcceptEULA="True" /> 
<Property Name="SharedComputerLicensing" Value="1" />

安装 Office 365 专业增强版后,可以在共享计算机上验证是否已启用共享计算机激活After Office 365 ProPlus is installed, you can verify that shared computer activation is enabled on that computer.

备注

下面是一些可用于启用共享计算机激活的其他方法:Here are some other ways that you can enable shared computer activation:

  • 下载并运行 Microsoft 支持和恢复助手Download and run the Microsoft Support and Recovery Assistant.
  • 若要使用组策略,请下载最新 Office 管理模板文件 (ADMX/ADML),并启用“使用共享计算机激活”策略设置。Use Group Policy by downloading the most current Administrative Template files (ADMX/ADML) for Office and enabling the "Use shared computer activation" policy setting. 此策略设置位于 Computer Configuration\Policies\Administrative Templates\Microsoft Office 2016 (Machine)\Licensing Settings 下。This policy setting is found under Computer Configuration\Policies\Administrative Templates\Microsoft Office 2016 (Machine)\Licensing Settings.
  • 使用注册表编辑器,在 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration 下,添加 SharedComputerLicensing 的字符串值(设置为 1)。Use Registry Editor to add a string value of SharedComputerLicensing with a setting of 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration.

Office 365 专业增强版的共享计算机激活的工作原理How shared computer activation works for Office 365 ProPlus

下面介绍了在已启用共享计算机激活的计算机上安装 Office 365 专业增强版后将会发生什么。Here's what happens after Office 365 ProPlus is installed on a computer that has shared computer activation enabled.

  1. 用户使用自己的帐户登录计算机。A user logs on to the computer with her account.

  2. 用户开始使用 Office 365 专业增强版程序(如 Word)。The user starts an Office 365 ProPlus program, such as Word.

  3. Office 365 专业增强版通过 Internet 联系 Office 许可服务,为用户获取许可令牌。Office 365 ProPlus contacts the Office Licensing Service on the Internet to obtain a licensing token for the user.

    若要确定用户是否已获 Office 365 专业增强版使用许可,Office 许可服务必须知道用户的 Office 365 帐户。在某些情况下,Office 365 专业增强版会提示用户提供信息。例如,用户可能会看到“激活 Office”**** 对话框。To determine whether the user is licensed to use Office 365 ProPlus, the Office Licensing Service has to know the user's account for Office 365. In some cases, Office 365 ProPlus prompts the user to provide the information. For example, the user might see the Activate Office dialog box.

    激活 Office

    如果环境配置为同步 Office 365 和网络用户帐户,用户可能不会看到任何提示。Office 365 专业增强版应能够自动获取关于 Office 365 用户帐户的必要信息。If your environment is configured to synchronize Office 365 and network user accounts, then the user probably won't see any prompts. Office 365 ProPlus should automatically be able to get the necessary information about the user's account in Office 365.

  4. 如果用户已获 Office 365 专业增强版使用许可,许可令牌存储在计算机上的用户配置文件文件夹中,且 Office 365 专业增强版已激活。用户现在可以使用 Office 365 专业增强版。If the user is licensed for Office 365 ProPlus, a licensing token is stored on the computer in the user's profile folder, and Office 365 ProPlus is activated. The user can now use Office 365 ProPlus.

对登录共享计算机的每个用户重复执行上述步骤。每个用户都会获取唯一的许可令牌。这正是因为,仅仅一个用户在计算机上激活 Office 365 专业增强版,并不意味着已为登录计算机的其他所有用户激活 Office 365 专业增强版。These steps are repeated for each user who logs on to the shared computer. Each user gets a unique licensing token. Just because one user activates Office 365 ProPlus on the computer doesn't mean Office 365 ProPlus is activated for all other users who log on to the computer.

如果用户转到也启用了共享计算机激活的其他计算机,将执行同一步骤。用户登录到的每台计算机具有不同的许可令牌。If a user goes to another computer that also is enabled for shared computer activation, the same steps occur. There is a different licensing token for each computer that the user logs on to.

如果用户重新登录共享计算机,Office 365 专业增强版仍使用同一许可令牌(如果仍有效)。If a user logs on to a shared computer again, Office 365 ProPlus uses the same licensing token, if it is still valid.

Office 365 专业增强版的共享计算机激活的其他详细信息Additional details about shared computer activation for Office 365 ProPlus

许可令牌续订:在共享计算机上存储的许可令牌仅在 30 天内有效。随着许可令牌到期日期临近,Office 365 专业增强版会在用户登录计算机并使用 Office 365 专业增强版时,自动尝试续订许可令牌。Licensing token renewal The licensing token that is stored on the shared computer is valid only for 30 days. As the expiration date for the licensing token nears, Office 365 ProPlus automatically attempts to renew the licensing token when the user is logged on to the computer and using Office 365 ProPlus.

如果用户连续 30 天未登录共享计算机,许可令牌可能会到期。当用户下次尝试使用 Office 365 专业增强版时,Office 365 专业增强版便会通过 Internet 联系 Office 许可服务,以获取新的许可令牌。If the user doesn't log on to the shared computer for 30 days, the licensing token can expire. The next time that the user tries to use Office 365 ProPlus, Office 365 ProPlus contacts the Office Licensing Service on the Internet to get a new licensing token.

Internet 连接:由于共享计算机需要通过 Internet 联系 Office 许可服务来获取或续订许可令牌,因此共享计算机必须有可靠的 Internet 连接。Internet connectivity Because the shared computer has to contact the Office Licensing Service on the Internet to obtain or renew a licensing token, reliable connectivity between the shared computer and the Internet is necessary.

精简功能模式:如果用户未获 Office 365 专业增强版使用许可,或用户关闭了“激活 Office”**** 对话框,不仅获取不到许可令牌,而且还无法激活 Office 365 专业增强版。Office 365 专业增强版现在处于精简功能模式。也就是说,用户可以查看和打印 Office 365 专业增强版文档,但无法创建或编辑文档。用户还可以在 Office 365 专业增强版中看到大部分功能已禁用的消息。Reduced functionality mode If the user is not licensed for Office 365 ProPlus, or if the user closed the Activate Office dialog box, no licensing token is obtained and Office 365 ProPlus isn't activated. Office 365 ProPlus is now in reduced functionality mode. This means that the user can view and print Office 365 ProPlus documents, but can't create or edit documents. The user also sees a message in Office 365 ProPlus that most features are turned off.

精简功能

激活限制 一般情况下,用只可以在有限数量的设备(如 5 台计算机)上安装和激活 Office 365 专业增强版。Activation limits Normally, users can install and activate Office 365 ProPlus only on a limited number of devices, such as 5 PCs. 该限制不适用于在已启用共享计算机激活的情况下使用 Office 365 专业增强版。Using Office 365 ProPlus with shared computer activation enabled doesn't count against that limit.

Microsoft 支持一个用户在指定时间段内,在合理数量的共享计算机上激活 Office 365 专业增强版。用户会在超出限制时看到错误消息,但此事件发生的概率非常低。Microsoft allows a single user to activate Office 365 ProPlus on a reasonable number of shared computers in a given time period. The user gets an error message in the unlikely event the limit is exceeded.

提示激活的计算机过多的消息

建议使用单一登录:建议使用单一登录 (SSO),减少系统提示用户登录以激活的频率。配置单一登录后,将使用用户在登录 Windows 时提供的用户凭据来激活 Office,只要用户分配有 Office 365 专业增强版许可证即可。有关详细信息,请参阅了解 Office 365 标识和 Azure Active DirectorySingle sign-on recommended The use of single sign-on (SSO) is recommended to reduce how often users are prompted to sign in for activation. With single sign-on configured, Office is activated using the user credentials that the user provides to sign in to Windows, as long as the user has been assigned a license for Office 365 ProPlus. For more information, see Understanding Office 365 identity and Azure Active Directory.

如果不使用单一登录,应考虑使用漫游配置文件,并在漫游配置文件中添加 %localappdata%\Microsoft\Office\16.0\ 许可文件夹。If you don't use single sign-on, you should consider using roaming profiles and include the %localappdata%\Microsoft\Office\16.0\Licensing folder as part of the roaming profile.

许可令牌漫游:自 Office 365 专业增强版 1704 版本起,可以将许可令牌配置为,与用户配置文件一起漫游,或位于网络上的共享文件夹中。以前,许可令牌始终保存到本地计算机上的特定文件夹中,并与这一特定计算机相关联。在这种情况下,如果用户登录其他计算机,系统便会提示用户在此计算机上激活 Office,以便获取新的许可令牌。对于非永久 VDI 方案,能够漫游许可令牌显得尤为有用。Licensing token roaming Starting with Version 1704 of Office 365 ProPlus, you can configure the licensing token to roam with the user's profile or be located on a shared folder on the network. Previously, the licensing token was always saved to a specific folder on the local computer and was associated with that specific computer. In those cases, if the user signed in to a different computer, the user would be prompted to activate Office on that computer in order to get a new licensing token. The ability to roam the licensing token is especially helpful for non-persistent VDI scenarios.

若要配置许可令牌漫游,可以使用 Office 部署工具或组策略,也可以使用注册表编辑器来编辑注册表。无论选择使用哪种方法,都需要提供对用户唯一的文件夹位置。文件夹位置可以位于用户漫游配置文件中,也可以是网络上的共享文件夹。Office 需要能够对此文件夹位置执行写入操作。若要使用网络上的共享文件夹,请注意网络延迟问题,这可能会对 Office 打开时间造成不利影响。To configure licensing token roaming, you can use either the Office Deployment Tool or Group Policy, or you can use Registry Editor to edit the registry. Whichever method you choose, you need to provide a folder location that is unique to the user. The folder location can either be part of the user's roaming profile or a shared folder on the network. Office needs to be able to write to that folder location. If you're using a shared folder on the network, be aware that network latency problems can adversely impact the time it takes to open Office.

  • 若要使用组策略,请下载最新 Office 管理模板文件 (ADMX/ADML),并启用“指定位置来保存共享计算机激活所用的许可令牌”策略设置。If you're using Group Policy, download the most current Administrative Template files (ADMX/ADML) for Office and enable the "Specify the location to save the licensing token used by shared computer activation" policy setting. 此策略设置位于 Computer Configuration\Policies\Administrative Templates\Microsoft Office 2016 (Machine)\Licensing Settings 下。This policy setting is found under Computer Configuration\Policies\Administrative Templates\Microsoft Office 2016 (Machine)\Licensing Settings.

  • 若要使用 Office 部署工具,请在 configuration.xml 文件的 Property 元素中添加 SCLCacheOverride 和 SCLCacheOverrideDirectory。有关详细信息,请参阅 Office 部署工具的配置选项If you're using the Office Deployment Tool, include the SCLCacheOverride and SCLCacheOverrideDirectory in the Property element of your configuration.xml file. For more information, see Configuration options for the Office Deployment Tool.

  • 若要编辑注册表,请转到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration,添加 SCLCacheOverride 字符串值,并将该值设置为 1。另外,添加 SCLCacheOverrideDirectory 字符串值,并将该值设置为保存许可令牌的文件夹的路径。To edit the registry, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration, add a string value of SCLCacheOverride, and set the value to 1. Also, add a string value of SCLCacheOverrideDirectory and set the value to the path of the folder to save the licensing token.

    备注

    若要使用 Microsoft Application Virtualization (App-V) 部署 Office 365 专业增强版,注册表位置为 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\Licensing。If you're using Microsoft Application Virtualization (App-V) to deploy Office 365 ProPlus, the registry location is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\Licensing.

使用远程桌面服务部署 Office 365 专业增强版Deploy Office 365 ProPlus by using Remote Desktop Services

排查 Office 365 专业增强版的共享计算机激活问题Troubleshoot issues with shared computer activation for Office 365 ProPlus

Office 365 专业增强版中的许可和激活概述Overview of licensing and activation in Office 365 ProPlus