User-Agent Reduction を有効または無効にする (現在不使用) のレジストリ値 UserAgentReductionコンピューターHKLM\Software\Policies\Microsoft\Edge
- ポリシー ID
- UserAgentReduction
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Microsoft Edge バージョン 99-144、Windows 7 以降
- 出典
- Microsoft Edge Policy Templates (バージョン 155.0.4283.45)
- カテゴリ
- Microsoft Edge
レジストリ
UserAgentReduction
REG_DWORDコンピューターユーザー…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge 現在のキー
HKCU\Software\Policies\Microsoft\Edge
HKCU\Software\Policies\Microsoft\Edge
- 有効時の値
- オプションの値に依存
- 要素
- User-Agent Reduction を有効または無効にする
| 項目 | 保存される値 |
|---|---|
| ユーザー エージェントの削減、または実験による制御。 | 0 |
| 完全な (レガシ) ユーザー エージェント。 | 1 |
| ユーザー エージェントの削減。 | 2 |
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; ユーザー エージェントの削減、または実験による制御。 "UserAgentReduction"=dword:00000000 ; 完全な (レガシ) ユーザー エージェント。 "UserAgentReduction"=dword:00000001 ; ユーザー エージェントの削減。 "UserAgentReduction"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: ユーザー エージェントの削減、または実験による制御。 reg add "HKLM\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 0 /f :: 完全な (レガシ) ユーザー エージェント。 reg add "HKLM\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 1 /f :: ユーザー エージェントの削減。 reg add "HKLM\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # ユーザー エージェントの削減、または実験による制御。 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null # 完全な (レガシ) ユーザー エージェント。 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null # ユーザー エージェントの削減。 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -Force | Out-Null
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; ユーザー エージェントの削減、または実験による制御。 "UserAgentReduction"=dword:00000000 ; 完全な (レガシ) ユーザー エージェント。 "UserAgentReduction"=dword:00000001 ; ユーザー エージェントの削減。 "UserAgentReduction"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: ユーザー エージェントの削減、または実験による制御。 reg add "HKCU\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 0 /f :: 完全な (レガシ) ユーザー エージェント。 reg add "HKCU\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 1 /f :: ユーザー エージェントの削減。 reg add "HKCU\Software\Policies\Microsoft\Edge" /v "UserAgentReduction" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # ユーザー エージェントの削減、または実験による制御。 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null # 完全な (レガシ) ユーザー エージェント。 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null # ユーザー エージェントの削減。 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -Force | Out-Null