イベント ログ サービスへのリモート アクセスを制限する のレジストリ値 EnableRemoteRpcAccessRestrictions ほか 1 件コンピューターHKLM\Software\Policies\Microsoft\Windows\EventLog
- ポリシー ID
- RpcAccess_Remote
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- -
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › イベント ログ サービス
レジストリ
EnableRemoteRpcAccessRestrictions
REG_DWORDコンピューター- 有効時の値
- 1
- 無効時の値
- 0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog] ; 選択項目 (1 つだけ使用) ; 有効 "EnableRemoteRpcAccessRestrictions"=dword:00000001 ; 無効 "EnableRemoteRpcAccessRestrictions"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "EnableRemoteRpcAccessRestrictions" /t REG_DWORD /d 1 /f :: 無効 reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "EnableRemoteRpcAccessRestrictions" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'EnableRemoteRpcAccessRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'EnableRemoteRpcAccessRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null
RpcAccess_Remote_Setting
REG_DWORDコンピューター- 有効時の値
- オプションの値に依存
- 要素
- 次のいずれかの設定を選択してください:
| 項目 | 保存される値 |
|---|---|
| 認証されたユーザー | 0 |
| イベント ログ リーダー | 1 |
| 管理者 | 2 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog] ; 選択項目 (1 つだけ使用) ; 認証されたユーザー "RpcAccess_Remote_Setting"=dword:00000000 ; イベント ログ リーダー "RpcAccess_Remote_Setting"=dword:00000001 ; 管理者 "RpcAccess_Remote_Setting"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: 認証されたユーザー reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "RpcAccess_Remote_Setting" /t REG_DWORD /d 0 /f :: イベント ログ リーダー reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "RpcAccess_Remote_Setting" /t REG_DWORD /d 1 /f :: 管理者 reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "RpcAccess_Remote_Setting" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Force | Out-Null # 選択項目 (1 つだけ使用) # 認証されたユーザー New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'RpcAccess_Remote_Setting' -PropertyType DWord -Value 0 -Force | Out-Null # イベント ログ リーダー New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'RpcAccess_Remote_Setting' -PropertyType DWord -Value 1 -Force | Out-Null # 管理者 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'RpcAccess_Remote_Setting' -PropertyType DWord -Value 2 -Force | Out-Null