Volume preference: wartość rejestru volumeprefUżytkownikHKCU\software\policies\microsoft\office\16.0\word\options

Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)

Identyfikator zasady
L_Volumepreference
Zakres
Konfiguracja użytkownika
Obsługiwane w systemach
System Windows Server 2008 R2 lub nowszy albo system Windows 7
Źródło
Microsoft 365 Apps / Office Administrative Templates (wersja 5568.1000)
Kategoria
Microsoft Word 2016 › Miscellaneous

Rejestr

volumepref

REG_DWORDUżytkownik
Wartość włączona
Zależy od wartości opcji
Element
Volume preference
Opcje
PozycjaZapisana wartość
Use Drive letter or UNC as entered0
Convert Drive letter to UNC2
Convert UNC to Drive letter1
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; 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
:: Opcje (użyj tylko jednej)

:: 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
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Force | Out-Null

# Opcje (użyj tylko jednej)
# 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