Włącz lub wyłącz User-Agent Reduction (przestarzałe): wartość rejestru UserAgentReductionKomputerHKLM\Software\Policies\Microsoft\Edge
- Identyfikator zasady
- UserAgentReduction
- Zakres
- Konfiguracja komputera, Konfiguracja użytkownika
- Obsługiwane w systemach
- Microsoft Edge w wersji 99–144, Windows 7 lub nowszy
- Źródło
- Microsoft Edge Policy Templates (wersja 155.0.4283.45)
- Kategoria
- Microsoft Edge
Rejestr
UserAgentReduction
REG_DWORDKomputerUżytkownik…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Bieżący klucz
HKCU\Software\Policies\Microsoft\Edge
HKCU\Software\Policies\Microsoft\Edge
- Wartość włączona
- Zależy od wartości opcji
- Element
- Włącz lub wyłącz User-Agent Reduction
| Pozycja | Zapisana wartość |
|---|---|
| Zredukowany User Agent lub kontrolowany przez eksperymenty. | 0 |
| Pełny (starszy) User Agent. | 1 |
| Zredukowany User Agent. | 2 |
Zastosuj przez .reg · CMD · PowerShell
KomputerUstawienie dla całego komputera
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; Opcje (użyj tylko jednej) ; Zredukowany User Agent lub kontrolowany przez eksperymenty. "UserAgentReduction"=dword:00000000 ; Pełny (starszy) User Agent. "UserAgentReduction"=dword:00000001 ; Zredukowany User Agent. "UserAgentReduction"=dword:00000002
CMD
:: Opcje (użyj tylko jednej) :: Zredukowany User Agent lub kontrolowany przez eksperymenty. reg add "HKLM\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 0 /f :: Pełny (starszy) User Agent. reg add "HKLM\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 1 /f :: Zredukowany User Agent. reg add "HKLM\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 2 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opcje (użyj tylko jednej) # Zredukowany User Agent lub kontrolowany przez eksperymenty. New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null # Pełny (starszy) User Agent. New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null # Zredukowany User Agent. New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -Force | Out-Null
UżytkownikUstawienie dla każdego konta
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; Opcje (użyj tylko jednej) ; Zredukowany User Agent lub kontrolowany przez eksperymenty. "UserAgentReduction"=dword:00000000 ; Pełny (starszy) User Agent. "UserAgentReduction"=dword:00000001 ; Zredukowany User Agent. "UserAgentReduction"=dword:00000002
CMD
:: Opcje (użyj tylko jednej) :: Zredukowany User Agent lub kontrolowany przez eksperymenty. reg add "HKCU\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 0 /f :: Pełny (starszy) User Agent. reg add "HKCU\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 1 /f :: Zredukowany User Agent. reg add "HKCU\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 2 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opcje (użyj tylko jednej) # Zredukowany User Agent lub kontrolowany przez eksperymenty. New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null # Pełny (starszy) User Agent. New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null # Zredukowany User Agent. New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -Force | Out-Null