Minimale beperkte modus op YouTube afdwingen: registerwaarde ForceYouTubeRestrict (Edge)GebruikerHKCU\Software\Policies\Microsoft\Edge

Beleids-ID
ForceYouTubeRestrict
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Microsoft Edge versie 77, Windows 7 of hoger
Bron
Microsoft Edge Policy Templates (versie 155.0.4283.45)
Categorie
Microsoft Edge

Register

ForceYouTubeRestrict

REG_DWORDGebruikerComputer
…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge Huidige sleutel
HKLM\Software\Policies\Microsoft\Edge
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Minimale beperkte modus op YouTube afdwingen
Opties
ItemOpgeslagen waarde
Beperkte modus op YouTube niet afdwingen0
Gematigd beperkte modus op YouTube afdwingen1
Strikte beperkte modus afdwingen voor YouTube2
Toepassen met .reg · CMD · PowerShell
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Beperkte modus op YouTube niet afdwingen
"ForceYouTubeRestrict"=dword:00000000
; Gematigd beperkte modus op YouTube afdwingen
"ForceYouTubeRestrict"=dword:00000001
; Strikte beperkte modus afdwingen voor YouTube
"ForceYouTubeRestrict"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Beperkte modus op YouTube niet afdwingen
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 0 /f
:: Gematigd beperkte modus op YouTube afdwingen
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 1 /f
:: Strikte beperkte modus afdwingen voor YouTube
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opties (gebruik er maar één)
# Beperkte modus op YouTube niet afdwingen
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 0 -Force | Out-Null
# Gematigd beperkte modus op YouTube afdwingen
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 1 -Force | Out-Null
# Strikte beperkte modus afdwingen voor YouTube
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 2 -Force | Out-Null
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Beperkte modus op YouTube niet afdwingen
"ForceYouTubeRestrict"=dword:00000000
; Gematigd beperkte modus op YouTube afdwingen
"ForceYouTubeRestrict"=dword:00000001
; Strikte beperkte modus afdwingen voor YouTube
"ForceYouTubeRestrict"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Beperkte modus op YouTube niet afdwingen
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 0 /f
:: Gematigd beperkte modus op YouTube afdwingen
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 1 /f
:: Strikte beperkte modus afdwingen voor YouTube
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ForceYouTubeRestrict" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opties (gebruik er maar één)
# Beperkte modus op YouTube niet afdwingen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 0 -Force | Out-Null
# Gematigd beperkte modus op YouTube afdwingen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 1 -Force | Out-Null
# Strikte beperkte modus afdwingen voor YouTube
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ForceYouTubeRestrict' -PropertyType DWord -Value 2 -Force | Out-Null