Error: RPC Requires Authentication
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Error: RPC Requires Authentication.
The Visual Studio debugger cannot connect to the remote computer. An RPC policy is enabled on the local computer which prevents remote debugging.
To correct this error
Run
\windir\system32\regedt32.exeLocate and delete
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\RPC\RestrictRemoteClients.Restart your computer so the registry change will take effect.
If the problem persists, contact your domain administrator about the Computer Configuration->Administrative Templates->System->Remote Procedure Call->Restrictions for Unauthenticated RPC clients group policy setting.