De User-Agent Reduction in- of uitschakelen (verouderd): registerwaarde UserAgentReductionComputerHKLM\Software\Policies\Microsoft\Edge

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

Register

UserAgentReduction

REG_DWORDComputerGebruiker
…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Huidige sleutel
HKCU\Software\Policies\Microsoft\Edge
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
De User-Agent Reduction in- of uitschakelen
Opties
ItemOpgeslagen waarde
Verminderde gebruikersagent, of beheerd door experimenten.0
Volledige (legacy) gebruikersagent.1
Gereduceerde gebruikersagent.2
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Verminderde gebruikersagent, of beheerd door experimenten.
"UserAgentReduction"=dword:00000000
; Volledige (legacy) gebruikersagent.
"UserAgentReduction"=dword:00000001
; Gereduceerde gebruikersagent.
"UserAgentReduction"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Verminderde gebruikersagent, of beheerd door experimenten.
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 0 /f
:: Volledige (legacy) gebruikersagent.
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 1 /f
:: Gereduceerde gebruikersagent.
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /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)
# Verminderde gebruikersagent, of beheerd door experimenten.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null
# Volledige (legacy) gebruikersagent.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null
# Gereduceerde gebruikersagent.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Verminderde gebruikersagent, of beheerd door experimenten.
"UserAgentReduction"=dword:00000000
; Volledige (legacy) gebruikersagent.
"UserAgentReduction"=dword:00000001
; Gereduceerde gebruikersagent.
"UserAgentReduction"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Verminderde gebruikersagent, of beheerd door experimenten.
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 0 /f
:: Volledige (legacy) gebruikersagent.
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 1 /f
:: Gereduceerde gebruikersagent.
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /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)
# Verminderde gebruikersagent, of beheerd door experimenten.
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null
# Volledige (legacy) gebruikersagent.
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null
# Gereduceerde gebruikersagent.
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -Force | Out-Null