Use Viewer Mode
Explanation
This policy setting controls whether Office, Project, and Visio open in Viewer mode, which means the user can only view and print the contents of the file. Viewer mode, which is turned off by default, is intended for users who aren’t licensed for Office, Project, or Visio.
If you enable this policy setting, Office, Project, and Visio will open in Viewer mode. Also, the Activate Product button under File > Account will be hidden.
Note: If you enable this policy setting, you can’t use shared computer activation with Version 2204 and older.
If you disable or don’t configure this policy setting, an unlicensed user will be prompted to activate Office, Project, or Visio each time they open the app. If the user doesn’t activate, the user can only view and print the contents of the file.
For more information, see https://go.microsoft.com/fwlink/p/?linkid=2205233.
Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise, and to subscription versions of Project and Visio.
Registry
HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\licensing- Value name
viewermode
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: office16/L_ViewerMode
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\licensing'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'viewermode' -Value 1 -Type DWordDisable
# Disable: office16/L_ViewerMode
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\licensing'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'viewermode' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": office16/L_ViewerMode
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\licensing'
Remove-ItemProperty -Path $k -Name 'viewermode' -ErrorAction SilentlyContinueApplication
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.