Remotezugriff auf den Ereignisprotokolldienst einschränken: Registrierungswert EnableRemoteRpcAccessRestrictions und 1 weitereComputerHKLM\Software\Policies\Microsoft\Windows\EventLog

Richtlinien-ID
RpcAccess_Remote
Bereich
Computerkonfiguration
Unterstützt unter
-
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Ereignisprotokolldienst

Registrierung

EnableRemoteRpcAccessRestrictions

REG_DWORDComputer
Wert bei Aktivierung
1
Wert bei Deaktivierung
0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog]

; Optionen (nur eine verwenden)
; Aktiviert
"EnableRemoteRpcAccessRestrictions"=dword:00000001
; Deaktiviert
"EnableRemoteRpcAccessRestrictions"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "EnableRemoteRpcAccessRestrictions" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "EnableRemoteRpcAccessRestrictions" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'EnableRemoteRpcAccessRestrictions' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'EnableRemoteRpcAccessRestrictions' -PropertyType DWord -Value 0 -Force | Out-Null

RpcAccess_Remote_Setting

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Wählen Sie eine der folgenden Einstellungen aus:
Optionen
EintragGespeicherter Wert
Authentifizierte Benutzer0
Ereignisprotokollleser1
Administratoren2
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog]

; Optionen (nur eine verwenden)
; Authentifizierte Benutzer
"RpcAccess_Remote_Setting"=dword:00000000
; Ereignisprotokollleser
"RpcAccess_Remote_Setting"=dword:00000001
; Administratoren
"RpcAccess_Remote_Setting"=dword:00000002
CMD
:: Optionen (nur eine verwenden)

:: Authentifizierte Benutzer
reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "RpcAccess_Remote_Setting" /t REG_DWORD /d 0 /f
:: Ereignisprotokollleser
reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "RpcAccess_Remote_Setting" /t REG_DWORD /d 1 /f
:: Administratoren
reg add "HKLM\Software\Policies\Microsoft\Windows\EventLog" /v "RpcAccess_Remote_Setting" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Force | Out-Null

# Optionen (nur eine verwenden)
# Authentifizierte Benutzer
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'RpcAccess_Remote_Setting' -PropertyType DWord -Value 0 -Force | Out-Null
# Ereignisprotokollleser
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'RpcAccess_Remote_Setting' -PropertyType DWord -Value 1 -Force | Out-Null
# Administratoren
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\EventLog' -Name 'RpcAccess_Remote_Setting' -PropertyType DWord -Value 2 -Force | Out-Null