RPC トラブルシューティング状態情報を保持する のレジストリ値 StateInformationコンピューターHKLM\Software\Policies\Microsoft\Windows NT\Rpc

ポリシー ID
RpcStateInformation
適用対象
コンピューターの構成
サポートされるバージョン
Windows Server 2003 オペレーティング システム、Windows XP Professional またはそれ以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
システム › リモート プロシージャ コール

レジストリ

StateInformation

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
保持する RPC ランタイム状態情報:
オプション
項目保存される値
なし0
Auto11
Auto22
サーバー3
フル4
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; なし
"StateInformation"=dword:00000000
; Auto1
"StateInformation"=dword:00000001
; Auto2
"StateInformation"=dword:00000002
; サーバー
"StateInformation"=dword:00000003
; フル
"StateInformation"=dword:00000004
CMD
:: 選択項目 (1 つだけ使用)

:: なし
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
:: サーバー
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 3 /f
:: フル
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "StateInformation" /t REG_DWORD /d 4 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# なし
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
# サーバー
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 3 -Force | Out-Null
# フル
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'StateInformation' -PropertyType DWord -Value 4 -Force | Out-Null