What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Why do my WMI sensors show error PE263 after updating PRTG?

Votes:

0

After updating PRTG as of 17.1.28.1341, many WMI sensors in my PRTG installation suddenly show the Down status. They also show the error code PE263 with this message:

The sensor was not able to establish a connection for more than three successive scanning intervals. The reason might be corrupt performance counters or a damaged WMI stack on the target Windows system. To resolve this issue, see https://kb.paessler.com/en/topic/72969. (code: PE263)

Where does this error come from? Have you changed something in PRTG that causes this issue? How can I fix error code PE263?

error error-messages pe263 performance-counters prtg wmi

Created on Jan 30, 2017 4:41:01 PM by  Gerald Schoch [Paessler Support]

Last change on Jan 17, 2023 12:26:16 PM by  Brandy Greger [Paessler Support]



1 Reply

Accepted Answer

Votes:

0

This article applies to PRTG Network Monitor 17.1.28.1341 or later

How to Fix WMI Sensor Error PE263

Windows Management Instrumentation (WMI), the base technology for Windows monitoring by Microsoft, is often the reason why PRTG customers need to contact our technical support team. In many cases, WMI is not properly configured or the WMI system itself on a Windows computer is malfunctioning for some reasons. We have fixed many WMI issues and improved WMI monitoring with PRTG a lot over the years, so in current versions, PRTG basically works fine with WMI. If needed, there are also workarounds for issues that we just cannot fix from our side because they are WMI immanent.

Many WMI Fixes in PRTG 16

While again focusing work on the underlying WMI system of PRTG, we found various hidden issues and fixed them. You can find according entries in the PRTG version history for PRTG 16. With the latest improvements to the WMI system for PRTG version 17.1.28.1341, we have discovered a bigger issue.

If you receive the WMI error PE263 after updating to PRTG version 17.1.28.1341 (or later), you will know that your WMI sensors are affected by this issue. These WMI sensors will turn red and show a Down status after a PRTG update, although before the update everything seemed fine. The error message in this case is:

The sensor was not able to establish a connection for more than three successive scanning intervals. The reason might be corrupt performance counters or a damaged WMI stack on the target Windows system. To resolve this issue, see https://kb.paessler.com/en/topic/72969. (code: PE263)

Reasons for WMI Error PE263

Affected WMI sensors did not work properly before PRTG 17.1.28.1341 and so did not report an error that actually occurred. These sensors did not receive any data, either not at all or at least for certain time spans, and just remained in the status for the most recent data (for example, in an Up status, but other states were also possible). Graphs and data tables show gaps for these time spans.

The root cause that we identified is the following: Several WMI sensors of PRTG access Windows performance counters via WMI requests. Performance counters and other WMI components sometimes get into a certain status and remain there until they trigger a timeout, for example, because of corrupt performance counters or a damaged WMI stack on the target Windows system.

PRTG was able to recognize the broken WMI connection, but scans of other WMI sensors on this device may still have returned a result. This result contained only a special message but no data and caused the gaps in graphs and tables. However, it did not result in a sensor status change that reflected this error.

We have corrected this issue so PRTG will catch and show this error now. This results in WMI sensor error PE263 after updating to PRTG 17.1.28.1341 (or later). If you are affected by this issue, follow the steps below.

Fixing WMI Error PE263

To solve WMI error PE263, first try to repair the performance counters on the target computer.

Rebuilding Windows Performance Counters

According to this Microsoft article, you can manually rebuild all performance counters this way:

  1. Open an administrative command prompt on the Windows computer that you want to monitor.
  2. Rebuild the performance counters with the following commands:
    1. cd c:\windows\system32 lodctr /R
    2. cd c:\windows\sysWOW64 lodctr /R
    3. Note: Command 1 might fail, command 2 should work.
  3. Resync the performance counters with WMI using this command:
    WINMGMT.EXE /RESYNCPERF
  4. Stop and restart the Performance Logs & Alerts (pla) Windows service.
  5. Stop and restart the Windows Management Instrumentation (winmgmt) Windows service.

Check if your affected WMI sensors receive data.

If Rebuilding the Counters Does Not Help

If rebuilding the performance counters does not help and your WMI sensors still show error PE263, we recommend that you consider possible solutions in this article: I have tried a lot of things to fix my WMI. What else can I try to avoid reinstalling Windows?

WMI Error PE264 after Update

Some WMI sensors (multi-query sensors) will show an error message after the update if they showed an Unknown status before the update. You will receive WMI error PE264 in this case. This means that the data returned by the target device is invalid (for example, because of a negative time base) and cannot be properly processed. This is not a PRTG issue but it is caused by the device that you monitor. The error message is:

The data that the target WMI system returns is invalid and cannot be properly processed. This is not a PRTG issue but an issue of the device you want to monitor. For more information, see https://kb.paessler.com/en/topic/72969. (code: PE264)

More

Find other known WMI issues and suitable workarounds in these articles:

Created on Feb 8, 2017 10:59:17 AM by  Gerald Schoch [Paessler Support]

Last change on Nov 29, 2019 12:00:31 PM by  Maike Guba [Paessler Support] (2,404) 2 1




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.