?
Solved

PortQuery RPC Failure: "RPC query failed (5)"

Posted on 2006-03-28
1
Medium Priority
?
3,268 Views
Last Modified: 2009-12-16
PortQuery RPC Failure: "RPC query failed (5)". We were attempting to retrieve data from the Windows Event Logs using the Eventquery.vbs script. In the midst of trying to figure out why Eventquery.vbs wouldn't run, I ran "PortQry -n <hostname> -e 135" and received the message "RPC query failed (5)". In order to get the Eventqry.vbs script to run, we disabled Windows FireWall - after which Eventquery.vbs ran.

However, we continue to get the "RPC query failed (5)" message when I try to run PortQry. Does anyone know what this error message means?

We did some further testing and found the following:

(1) if we run PortQry with the firewall ON, we get the "failed" error.

(2) if we run PortQry with the firewall ON, and with Exceptions configured for File & Printer Sharing - as well as adding 135 TCP/UPD ports, we get a return of "Failed". Eventqry.vbs also fails with the error "Please check the system name, credentials, and WBEM Core".

(3) if we run PortQry with the firewall ON, and with Exceptions configured for File & Printer Sharing (only), the program returns "Filtered". Eventqry.vbs returns the same error message: "Please check the system name, credentials, and WBEM Core".


We haven't been able to find any information on the PortQry error. And there's not concise information on the Eventqry/WBEM errors, either.

Any assistance would be appreciated.
0
Comment
Question by:In3T
1 Comment
 
LVL 6

Accepted Solution

by:
vand earned 1200 total points
ID: 16317233
Port 135 is for the RPC end point mapper database. Are you running this against an AD DC?

If not, there is nothing to respond on 135 and will result in the RPC error.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question