メニューの表示方法 のレジストリ値 animationユーザーHKCU\software\policies\microsoft\office\16.0\common\toolbars

ポリシー ID
L_Menuanimations
適用対象
ユーザーの構成
サポートされるバージョン
Windows Server 2008 R2、Windows 7 またはそれ以降
出典
Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
カテゴリ
Microsoft Office 2016 › グローバル オプション › ユーザー設定

レジストリ

animation

REG_DWORDユーザー
有効時の値
オプションの値に依存
要素
メニューの表示方法
オプション
項目保存される値
(既定のシステム設定)0
ランダム1
展開2
スライド3
フェード4
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\toolbars]

; 選択項目 (1 つだけ使用)
; (既定のシステム設定)
"animation"=dword:00000000
; ランダム
"animation"=dword:00000001
; 展開
"animation"=dword:00000002
; スライド
"animation"=dword:00000003
; フェード
"animation"=dword:00000004
CMD
:: 選択項目 (1 つだけ使用)

:: (既定のシステム設定)
reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars" /v "animation" /t REG_DWORD /d 0 /f
:: ランダム
reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars" /v "animation" /t REG_DWORD /d 1 /f
:: 展開
reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars" /v "animation" /t REG_DWORD /d 2 /f
:: スライド
reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars" /v "animation" /t REG_DWORD /d 3 /f
:: フェード
reg add "HKCU\software\policies\microsoft\office\16.0\common\toolbars" /v "animation" /t REG_DWORD /d 4 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# (既定のシステム設定)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars' -Name 'animation' -PropertyType DWord -Value 0 -Force | Out-Null
# ランダム
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars' -Name 'animation' -PropertyType DWord -Value 1 -Force | Out-Null
# 展開
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars' -Name 'animation' -PropertyType DWord -Value 2 -Force | Out-Null
# スライド
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars' -Name 'animation' -PropertyType DWord -Value 3 -Force | Out-Null
# フェード
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars' -Name 'animation' -PropertyType DWord -Value 4 -Force | Out-Null