ひな形のフォント のレジストリ値 themefontユーザーHKCU\software\policies\microsoft\office\16.0\common\mailsettings
- ポリシー ID
- L_StationeryFonts
- 適用対象
- ユーザーの構成
- サポートされるバージョン
- Windows Server 2008 R2、Windows 7 またはそれ以降
- 出典
- Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
- カテゴリ
- Microsoft Outlook 2016 › Outlook のオプション › メール形式 › ひな形およびフォント
レジストリ
themefont
REG_DWORDユーザー- 有効時の値
- オプションの値に依存
- 要素
- ひな形のフォント オプション:
| 項目 | 保存される値 |
|---|---|
| テーマのフォントを使用する | 0 |
| 返信/転送時にユーザーのフォントを使用する | 1 |
| ユーザーが選択したフォントを常に使用する | 2 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\mailsettings] ; 選択項目 (1 つだけ使用) ; テーマのフォントを使用する "themefont"=dword:00000000 ; 返信/転送時にユーザーのフォントを使用する "themefont"=dword:00000001 ; ユーザーが選択したフォントを常に使用する "themefont"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: テーマのフォントを使用する reg add "HKCU\software\policies\microsoft\office\16.0\common\mailsettings" /v "themefont" /t REG_DWORD /d 0 /f :: 返信/転送時にユーザーのフォントを使用する reg add "HKCU\software\policies\microsoft\office\16.0\common\mailsettings" /v "themefont" /t REG_DWORD /d 1 /f :: ユーザーが選択したフォントを常に使用する reg add "HKCU\software\policies\microsoft\office\16.0\common\mailsettings" /v "themefont" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings' -Force | Out-Null # 選択項目 (1 つだけ使用) # テーマのフォントを使用する New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings' -Name 'themefont' -PropertyType DWord -Value 0 -Force | Out-Null # 返信/転送時にユーザーのフォントを使用する New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings' -Name 'themefont' -PropertyType DWord -Value 1 -Force | Out-Null # ユーザーが選択したフォントを常に使用する New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings' -Name 'themefont' -PropertyType DWord -Value 2 -Force | Out-Null