Unidade de medida padrão usada no OneNote: valor do Registro measurementunitUsuárioHKCU\software\policies\microsoft\office\16.0\onenote\options\other
- ID da política
- L_DefaultunitofmeasurementusedinOneNote
- Escopo
- Configuração do Usuário
- Compatível com
- Windows Server 2008 R2 ou Windows 7
- Fonte
- Microsoft 365 Apps / Office Administrative Templates (versão 5568.1000)
- Categoria
- Microsoft OneNote 2016 › Opções do OneNote › Outro
Registro
measurementunit
REG_DWORDUsuário- Valor habilitado
- Depende do valor da opção
- Elemento
- Especificar a unidade de medida padrão:
| Item | Valor armazenado |
|---|---|
| Polegadas | 0 |
| Centímetro | 1 |
| Milímetro | 2 |
| Ponto | 3 |
| Paica | 4 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\onenote\options\other] ; Opções (use apenas uma) ; Polegadas "measurementunit"=dword:00000000 ; Centímetro "measurementunit"=dword:00000001 ; Milímetro "measurementunit"=dword:00000002 ; Ponto "measurementunit"=dword:00000003 ; Paica "measurementunit"=dword:00000004
CMD
:: Opções (use apenas uma) :: Polegadas 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 :: Ponto reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 3 /f :: Paica reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "measurementunit" /t REG_DWORD /d 4 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Force | Out-Null # Opções (use apenas uma) # Polegadas 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 # Ponto New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 3 -Force | Out-Null # Paica New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'measurementunit' -PropertyType DWord -Value 4 -Force | Out-Null