Manter Informações sobre o Estado da Solução de Problemas de RPC: valor do Registro StateInformationComputadorHKLM\Software\Policies\Microsoft\Windows NT\Rpc

ID da política
RpcStateInformation
Escopo
Configuração do Computador
Compatível com
Sistemas operacionais Windows Server 2003 e Windows XP Professional ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Sistema › Chamada de Procedimento Remoto

Registro

StateInformation

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Informações sobre o estado do Tempo de Execução de RPC a serem mantidas:
Opções
ItemValor armazenado
Nenhum0
Auto11
Auto22
Servidor3
Completo4
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Nenhum
"StateInformation"=dword:00000000
; Auto1
"StateInformation"=dword:00000001
; Auto2
"StateInformation"=dword:00000002
; Servidor
"StateInformation"=dword:00000003
; Completo
"StateInformation"=dword:00000004
CMD
:: Opções (use apenas uma)

:: Nenhum
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
:: Servidor
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 3 /f
:: Completo
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 4 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Force | Out-Null

# Opções (use apenas uma)
# Nenhum
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
# Servidor
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 3 -Force | Out-Null
# Completo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 4 -Force | Out-Null