WinRM によるリモート サーバー管理を許可する のレジストリ値 AllowAutoConfig ほか 2 件コンピューターHKLM\Software\Policies\Microsoft\Windows\WinRM\Service
- ポリシー ID
- AllowAutoConfig
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Vista 以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › Windows リモート管理 (WinRM) › WinRM サービス
レジストリ
AllowAutoConfig
REG_DWORDコンピューター- 有効時の値
- 1
- 無効時の値
- 0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service] ; 選択項目 (1 つだけ使用) ; 有効 "AllowAutoConfig"=dword:00000001 ; 無効 "AllowAutoConfig"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "AllowAutoConfig" /t REG_DWORD /d 1 /f :: 無効 reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "AllowAutoConfig" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'AllowAutoConfig' -PropertyType DWord -Value 1 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'AllowAutoConfig' -PropertyType DWord -Value 0 -Force | Out-Null
IPv4Filter
REG_SZコンピューター- 有効時の値
- オプションの値に依存
- 要素
- IPv4 フィルター:
- 値の種類
- REG_SZ
- 最大長
- 1024
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service] ; 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください "IPv4Filter"="<値を入力>"
CMD
:: 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "IPv4Filter" /t REG_SZ /d "<値を入力>" /f
PowerShell
# 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'IPv4Filter' -PropertyType String -Value '<値を入力>' -Force | Out-Null
IPv6Filter
REG_SZコンピューター- 有効時の値
- オプションの値に依存
- 要素
- IPv6 フィルター:
- 値の種類
- REG_SZ
- 最大長
- 1024
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service] ; 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください "IPv6Filter"="<値を入力>"
CMD
:: 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください reg add "HKLM\Software\Policies\Microsoft\Windows\WinRM\Service" /v "IPv6Filter" /t REG_SZ /d "<値を入力>" /f
PowerShell
# 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service' -Name 'IPv6Filter' -PropertyType String -Value '<値を入力>' -Force | Out-Null