最小限の YouTube の制限モードを強制する のレジストリ値 ForceYouTubeRestrictコンピューターHKLM\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\EdgeHKLM\Software\Policies\Microsoft\Edge 現在のキー
HKCU\Software\Policies\Microsoft\Edge
HKCU\Software\Policies\Microsoft\Edge
- 有効時の値
- オプションの値に依存
- 要素
- 最小限の YouTube の制限モードを強制する
| 項目 | 保存される値 |
|---|---|
| YouTube で厳格な制限モードを強制しない | 0 |
| YouTube で少なくとも中程度の制限モードを強制する | 1 |
| YouTube に厳格な制限モードを強制する | 2 |
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.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
ユーザーアカウントごとの設定
.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