期間 のレジストリ値 measurementsystem_durationユーザーHKCU\software\policies\microsoft\office\16.0\visio\document

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

レジストリ

measurementsystem_duration

REG_SZユーザー
有効時の値
オプションの値に依存
要素
期間
オプション
項目保存される値
週43
日44
時間45
分46
秒47
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\visio\document]

; 選択項目 (1 つだけ使用)
; 週
"measurementsystem_duration"="43"
; 日
"measurementsystem_duration"="44"
; 時間
"measurementsystem_duration"="45"
; 分
"measurementsystem_duration"="46"
; 秒
"measurementsystem_duration"="47"
CMD
:: 選択項目 (1 つだけ使用)

:: 週
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_duration" /t REG_SZ /d 43 /f
:: 日
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_duration" /t REG_SZ /d 44 /f
:: 時間
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_duration" /t REG_SZ /d 45 /f
:: 分
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_duration" /t REG_SZ /d 46 /f
:: 秒
reg add "HKCU\software\policies\microsoft\office\16.0\visio\document" /v "measurementsystem_duration" /t REG_SZ /d 47 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 週
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_duration' -PropertyType String -Value '43' -Force | Out-Null
# 日
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_duration' -PropertyType String -Value '44' -Force | Out-Null
# 時間
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_duration' -PropertyType String -Value '45' -Force | Out-Null
# 分
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_duration' -PropertyType String -Value '46' -Force | Out-Null
# 秒
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\document' -Name 'measurementsystem_duration' -PropertyType String -Value '47' -Force | Out-Null