Unidad de medida predeterminada usada en OneNote: valor del Registro measurementunitUsuarioHKCU\software\policies\microsoft\office\16.0\onenote\options\other

Id. de directiva
L_DefaultunitofmeasurementusedinOneNote
Ámbito
Configuración de usuario
Compatible con
Al menos Windows Server 2008 R2 o Windows 7
Origen
Microsoft 365 Apps / Office Administrative Templates (versión 5568.1000)
Categoría
Microsoft OneNote 2016 › Opciones de OneNote › Otro

Registro

measurementunit

REG_DWORDUsuario
Valor al habilitar
Depende del valor de la opción
Elemento
Especifique la unidad de medida predeterminada:
Opciones
Elemento de listaValor almacenado
Pulgada0
Centímetro1
Milímetro2
Punto3
Pica4
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\onenote\options\other]

; Opciones (usar solo una)
; Pulgada
"measurementunit"=dword:00000000
; Centímetro
"measurementunit"=dword:00000001
; Milímetro
"measurementunit"=dword:00000002
; Punto
"measurementunit"=dword:00000003
; Pica
"measurementunit"=dword:00000004
CMD
:: Opciones (usar solo una)

:: Pulgada
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 0 /f
:: Centímetro
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 1 /f
:: Milímetro
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 2 /f
:: Punto
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 3 /f
:: Pica
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 4 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Force | Out-Null

# Opciones (usar solo una)
# Pulgada
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 0 -Force | Out-Null
# Centímetro
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 1 -Force | Out-Null
# Milímetro
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 2 -Force | Out-Null
# Punto
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 3 -Force | Out-Null
# Pica
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 4 -Force | Out-Null