Volume preference: registry value volumeprefUserHKCU\software\policies\microsoft\office\16.0\word\options
- Policy ID
- L_Volumepreference
- 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 › Miscellaneous
Registry
volumepref
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- Volume preference
| Item | Stored value |
|---|---|
| Use Drive letter or UNC as entered | 0 |
| Convert Drive letter to UNC | 2 |
| Convert UNC to Drive letter | 1 |
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) ; Use Drive letter or UNC as entered "volumepref"=dword:00000000 ; Convert Drive letter to UNC "volumepref"=dword:00000002 ; Convert UNC to Drive letter "volumepref"=dword:00000001
CMD
:: Options (use only one) :: Use Drive letter or UNC as entered reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "volumepref" /t REG_DWORD /d 0 /f :: Convert Drive letter to UNC reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "volumepref" /t REG_DWORD /d 2 /f :: Convert UNC to Drive letter reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "volumepref" /t REG_DWORD /d 1 /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) # Use Drive letter or UNC as entered New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'volumepref' -PropertyType DWord -Value 0 -Force | Out-Null # Convert Drive letter to UNC New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'volumepref' -PropertyType DWord -Value 2 -Force | Out-Null # Convert UNC to Drive letter New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'volumepref' -PropertyType DWord -Value 1 -Force | Out-Null