Volumevoorkeur: registerwaarde volumeprefGebruikerHKCU\software\policies\microsoft\office\16.0\word\options

Beleids-ID
L_Volumepreference
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft Word 2016 › Diversen

Register

volumepref

REG_DWORDGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Volumevoorkeur
Opties
ItemOpgeslagen waarde
Stationsletter of UNC gebruiken zoals ingevoerd0
Stationsletter converteren naar UNC2
UNC naar stationsletter converteren1
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Stationsletter of UNC gebruiken zoals ingevoerd
"volumepref"=dword:00000000
; Stationsletter converteren naar UNC
"volumepref"=dword:00000002
; UNC naar stationsletter converteren
"volumepref"=dword:00000001
CMD
:: Opties (gebruik er maar één)

:: Stationsletter of UNC gebruiken zoals ingevoerd
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "volumepref" /t REG_DWORD /d 0 /f
:: Stationsletter converteren naar UNC
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "volumepref" /t REG_DWORD /d 2 /f
:: UNC naar stationsletter converteren
reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "volumepref" /t REG_DWORD /d 1 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Force | Out-Null

# Opties (gebruik er maar één)
# Stationsletter of UNC gebruiken zoals ingevoerd
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'volumepref' -PropertyType DWord -Value 0 -Force | Out-Null
# Stationsletter converteren naar UNC
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'volumepref' -PropertyType DWord -Value 2 -Force | Out-Null
# UNC naar stationsletter converteren
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'volumepref' -PropertyType DWord -Value 1 -Force | Out-Null