Use only Token Activation
- Policy ID
- L_UseOnlyTokenActivation
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Office 2016 (Machine) › Volume Activation
Description
This policy setting allows you to specify Token Activation as the only volume activation method for volume editions of Office. This policy setting only applies if a Token Activation Issuance License has been installed on the computer.
If you enable this policy setting, Token Activation is the only method that may be used to activate Office.
If you disable or do not configure this policy setting, Key Management Service (KMS) or Token Activation may be used as methods to activate Office.
Registry
tokenactivationonly
REG_DWORDComputer- Enabled value
- 1
- Disabled value
- 0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\software\policies\microsoft\officesoftwareprotectionplatform] ; Options (use only one) ; Enabled "tokenactivationonly"=dword:00000001 ; Disabled "tokenactivationonly"=dword:00000000
CMD
:: Options (use only one) :: Enabled reg add "HKLM\software\policies\microsoft\officesoftwareprotectionplatform" /v "tokenactivationonly" /t REG_DWORD /d 1 /f :: Disabled reg add "HKLM\software\policies\microsoft\officesoftwareprotectionplatform" /v "tokenactivationonly" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\software\policies\microsoft\officesoftwareprotectionplatform' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKLM:\software\policies\microsoft\officesoftwareprotectionplatform' -Name 'tokenactivationonly' -PropertyType DWord -Value 1 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\software\policies\microsoft\officesoftwareprotectionplatform' -Name 'tokenactivationonly' -PropertyType DWord -Value 0 -Force | Out-Null
vlactivationtype
REG_DWORDComputerHKLM\software\policies\microsoft\softwareprotectionplatform
- Enabled value
- 3
- Disabled value
- 0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\software\policies\microsoft\softwareprotectionplatform] ; Options (use only one) ; Enabled "vlactivationtype"=dword:00000003 ; Disabled "vlactivationtype"=dword:00000000
CMD
:: Options (use only one) :: Enabled reg add "HKLM\software\policies\microsoft\softwareprotectionplatform" /v "vlactivationtype" /t REG_DWORD /d 3 /f :: Disabled reg add "HKLM\software\policies\microsoft\softwareprotectionplatform" /v "vlactivationtype" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\software\policies\microsoft\softwareprotectionplatform' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKLM:\software\policies\microsoft\softwareprotectionplatform' -Name 'vlactivationtype' -PropertyType DWord -Value 3 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\software\policies\microsoft\softwareprotectionplatform' -Name 'vlactivationtype' -PropertyType DWord -Value 0 -Force | Out-Null