最小限の YouTube の制限モードを強制する のレジストリ値 ForceYouTubeRestrictユーザーHKCU\Software\Policies\Microsoft\Edge

ポリシー ID
ForceYouTubeRestrict
適用対象
コンピューターの構成、ユーザーの構成
サポートされるバージョン
Microsoft Edge バージョン 77、Windows 7 以降
出典
Microsoft Edge Policy Templates (バージョン 155.0.4283.45)
カテゴリ
Microsoft Edge

レジストリ

ForceYouTubeRestrict

REG_DWORDユーザーコンピューター
…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge 現在のキー
HKLM\Software\Policies\Microsoft\Edge
有効時の値
オプションの値に依存
要素
最小限の YouTube の制限モードを強制する
オプション
項目保存される値
YouTube で厳格な制限モードを強制しない0
YouTube で少なくとも中程度の制限モードを強制する1
YouTube に厳格な制限モードを強制する2
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; 選択項目 (1 つだけ使用)
; YouTube で厳格な制限モードを強制しない
"ForceYouTubeRestrict"=dword:00000000
; YouTube で少なくとも中程度の制限モードを強制する
"ForceYouTubeRestrict"=dword:00000001
; YouTube に厳格な制限モードを強制する
"ForceYouTubeRestrict"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用)

:: YouTube で厳格な制限モードを強制しない
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 0 /f
:: YouTube で少なくとも中程度の制限モードを強制する
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 1 /f
:: YouTube に厳格な制限モードを強制する
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# YouTube で厳格な制限モードを強制しない
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 0 -Force | Out-Null
# YouTube で少なくとも中程度の制限モードを強制する
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 1 -Force | Out-Null
# YouTube に厳格な制限モードを強制する
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 2 -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; 選択項目 (1 つだけ使用)
; YouTube で厳格な制限モードを強制しない
"ForceYouTubeRestrict"=dword:00000000
; YouTube で少なくとも中程度の制限モードを強制する
"ForceYouTubeRestrict"=dword:00000001
; YouTube に厳格な制限モードを強制する
"ForceYouTubeRestrict"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用)

:: YouTube で厳格な制限モードを強制しない
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 0 /f
:: YouTube で少なくとも中程度の制限モードを強制する
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 1 /f
:: YouTube に厳格な制限モードを強制する
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# YouTube で厳格な制限モードを強制しない
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 0 -Force | Out-Null
# YouTube で少なくとも中程度の制限モードを強制する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 1 -Force | Out-Null
# YouTube に厳格な制限モードを強制する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 2 -Force | Out-Null