Beschikbaarheid van InPrivate-modus configureren: registerwaarde InPrivateModeAvailabilityGebruikerHKCU\Software\Policies\Microsoft\Edge

Beleids-ID
InPrivateModeAvailability
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

InPrivateModeAvailability

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
Beschikbaarheid van InPrivate-modus configureren
Opties
ItemOpgeslagen waarde
InPrivate-modus beschikbaar0
InPrivate-modus is uitgeschakeld1
InPrivate-modus geforceerd2
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)
; InPrivate-modus beschikbaar
"InPrivateModeAvailability"=dword:00000000
; InPrivate-modus is uitgeschakeld
"InPrivateModeAvailability"=dword:00000001
; InPrivate-modus geforceerd
"InPrivateModeAvailability"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: InPrivate-modus beschikbaar
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 0 /f
:: InPrivate-modus is uitgeschakeld
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 1 /f
:: InPrivate-modus geforceerd
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /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)
# InPrivate-modus beschikbaar
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 0 -Force | Out-Null
# InPrivate-modus is uitgeschakeld
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 1 -Force | Out-Null
# InPrivate-modus geforceerd
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -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)
; InPrivate-modus beschikbaar
"InPrivateModeAvailability"=dword:00000000
; InPrivate-modus is uitgeschakeld
"InPrivateModeAvailability"=dword:00000001
; InPrivate-modus geforceerd
"InPrivateModeAvailability"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: InPrivate-modus beschikbaar
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 0 /f
:: InPrivate-modus is uitgeschakeld
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /t REG_DWORD /d 1 /f
:: InPrivate-modus geforceerd
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "InPrivateModeAvailability" /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)
# InPrivate-modus beschikbaar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 0 -Force | Out-Null
# InPrivate-modus is uitgeschakeld
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 1 -Force | Out-Null
# InPrivate-modus geforceerd
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'InPrivateModeAvailability' -PropertyType DWord -Value 2 -Force | Out-Null