Document view: registry value docviewdirUserHKCU\software\policies\microsoft\office\16.0\word\options

Policy ID
L_Documentview
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Word 2016 › Word Options › Advanced

Registry

docviewdir

REG_DWORDUser
Enabled value
Depends on the option value
Element
Document view
Options
ItemStored value
Right-to-left1
Left-to-Right0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\options]

; Options (use only one)
; Right-to-left
"docviewdir"=dword:00000001
; Left-to-Right
"docviewdir"=dword:00000000
CMD
:: Options (use only one)

:: Right-to-left
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "docviewdir" /t REG_DWORD /d 1 /f
:: Left-to-Right
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "docviewdir" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Force | Out-Null

# Options (use only one)
# Right-to-left
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'docviewdir' -PropertyType DWord -Value 1 -Force | Out-Null
# Left-to-Right
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'docviewdir' -PropertyType DWord -Value 0 -Force | Out-Null