en-US windows computer

Allow remote access to the Plug and Play interface

Verified with Windows 11 26H2 — updated on July 10, 2026 Supported on: Windows Server 2008, Windows 7, and Windows Vista

Windows 11 26H2

Path in the GPO console

Computer Configuration\Administrative Templates\System\Device Installation

Registry

HKLM Software\Policies\Microsoft\Windows\DeviceInstall\Settings
Value name:
AllowRemoteRPC REG_DWORD
Enabled:
1
Disabled:
0

Description

This policy setting allows you to allow or deny remote access to the Plug and Play interface. If you enable this policy setting, remote connections to the Plug and Play interface are allowed. If you disable or do not configure this policy setting, remote connections to the Plug and Play interface are not allowed.

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO. ⓘ

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Allow remote access to the Plug and Play interface
; State: Enabled
; Supported on: Windows Server 2008, Windows 7, and Windows Vista

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings]
"AllowRemoteRPC"=dword:00000001
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Allow remote access to the Plug and Play interface
# State: Enabled
# Supported on: Windows Server 2008, Windows 7, and Windows Vista

$path = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'AllowRemoteRPC' -Value 1 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview