RPC client server access denied on windows xp sp2
Posted on 2004-10-19
an RPC client program that communicates with an RPC server program over tcpip on port 8000 was running fine before winxp sp2 installation.
after windows xp sp2 I started getting ERROR_ACCESS_DENIED when the client tries to contact the RPC server program.
I had to add registry key RestrictRemoteClients=0 to enable client to communicate with the RPC server program on the local machine.
also I had to turn the windows firewall off to enable remote clients to contact the RPC server program.
Is there a better way for doing this. that is per program instead of compromising the whole system?
the server program registers with
status = RpcServerRegisterIf(