Informatie over foutopsporingsstatus van RPC behouden: registerwaarde StateInformationComputerHKLM\Software\Policies\Microsoft\Windows NT\Rpc

Beleids-ID
RpcStateInformation
Bereik
Computerconfiguratie
Ondersteund op
Minimaal Windows Server 2003 besturingssystemen of Windows XP Professional
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Systeem › Externe procedureaanroep

Register

StateInformation

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Bij te houden statusinformatie voor RPC-runtime:
Opties
ItemOpgeslagen waarde
Geen0
Auto11
Auto22
Server3
Volledig4
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Rpc]

; Opties (gebruik er maar één)
; Geen
"StateInformation"=dword:00000000
; Auto1
"StateInformation"=dword:00000001
; Auto2
"StateInformation"=dword:00000002
; Server
"StateInformation"=dword:00000003
; Volledig
"StateInformation"=dword:00000004
CMD
:: Opties (gebruik er maar één)

:: Geen
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 0 /f
:: Auto1
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 1 /f
:: Auto2
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 2 /f
:: Server
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 3 /f
:: Volledig
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 4 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Force | Out-Null

# Opties (gebruik er maar één)
# Geen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 0 -Force | Out-Null
# Auto1
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 1 -Force | Out-Null
# Auto2
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 2 -Force | Out-Null
# Server
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 3 -Force | Out-Null
# Volledig
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 4 -Force | Out-Null