Zachowaj informacje o stanie rozwiązywania problemów z usługą RPC: wartość rejestru StateInformationKomputerHKLM\Software\Policies\Microsoft\Windows NT\Rpc

Identyfikator zasady
RpcStateInformation
Zakres
Konfiguracja komputera
Obsługiwane w systemach
Systemy operacyjne z rodziny Windows Server 2003 lub nowszej albo system Windows XP Professional
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
System › Zdalne wywoływanie procedury

Rejestr

StateInformation

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Przechowywane informacje o stanie programu obsługi RPC:
Opcje
PozycjaZapisana wartość
Brak0
Auto11
Auto22
Serwer3
Pełne4
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Brak
"StateInformation"=dword:00000000
; Auto1
"StateInformation"=dword:00000001
; Auto2
"StateInformation"=dword:00000002
; Serwer
"StateInformation"=dword:00000003
; Pełne
"StateInformation"=dword:00000004
CMD
:: Opcje (użyj tylko jednej)

:: Brak
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
:: Serwer
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 3 /f
:: Pełne
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 4 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Brak
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
# Serwer
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 3 -Force | Out-Null
# Pełne
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 4 -Force | Out-Null