Bacth File “Allow remote access to the PnP interface”

Posted: December 29, 2011 in Windows

Contributed by Aang

Open notepad, type below and save with *.bat

@ECHO OFF
ECHO.
ECHO Allow-PNP.bat
ECHO This Script use to Allow remote connections to the Plug and Play interface.
ECHO by Registry .
ECHO.

>”c:regpatch-allow-PNP.reg” ECHO Windows Registry Editor Version 5.00
>>”c:regpatch-allow-PNP.reg” ECHO.
>>”c:regpatch-allow-PNP.reg” ECHO [HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsDeviceInstallSettings]
>>”c:regpatch-allow-PNP.reg” ECHO “AllowRemoteRPC”=dword:00000001
>>”c:regpatch-allow-PNP.reg” ECHO.

REGEDIT /S “c:regpatch-allow-PNP.reg”
DEL “c:regpatch-allow-PNP.reg”

Leave a Reply

Your email address will not be published. Required fields are marked *