Memorizza informazioni sullo stato di risoluzione dei problemi RPC: valore del Registro di sistema StateInformationComputerHKLM\Software\Policies\Microsoft\Windows NT\Rpc

ID criterio
RpcStateInformation
Ambito
Configurazione computer
Supportato in
Almeno Windows Server 2003 o Windows XP Professional
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Sistema › RPC (Remote Procedure Call)

Registro

StateInformation

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Informazioni sullo stato di runtime RPC da memorizzare:
Opzioni
VoceValore memorizzato
Nessuna0
Auto11
Auto22
Server3
Completa4
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Nessuna
"StateInformation"=dword:00000000
; Auto1
"StateInformation"=dword:00000001
; Auto2
"StateInformation"=dword:00000002
; Server
"StateInformation"=dword:00000003
; Completa
"StateInformation"=dword:00000004
CMD
:: Opzioni (usarne solo una)

:: Nessuna
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
:: Completa
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Force | Out-Null

# Opzioni (usarne solo una)
# Nessuna
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
# Completa
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 4 -Force | Out-Null