Skip to main content

Posts

Featured

Dealing with Localized Performance Monitor Counters Part 2/2

 In the last post we talked about using the PdhAddEnglishCounter function to add English-localized performance counters to a query set, but were stuck on how enumerate through all of the counters on a specific object. I disassembled PDH.dll and found that PdhAddEnglishCounter uses an internal function, PdhTranslateLocaleCounterA, to do the needful.  It would be nice if that function were public and documented. :| I kept digging and traced this function down several layers deep, and found it's getting data from the registry.  (That's a clue.)  Digging deeper into that I found some references online to a very old (2006) Windows 2003 KB article, Q287159 Using PDH APIs Correctly in a Localized Language. This content is no longer available from Microsoft, and inconveniently the internet archive is currently offline due to a DDOS attack.  I was able to find the article here:  Microsoft KB Archive/287159 - BetaArchive Wiki . That KB/Q gives the keys for ...

Latest Posts

Dealing with Localized Performance Monitor counters Part 1/2

How to clear clogs on an eufy x8 Pro robot vacuum

Can you thermoform 3D printed parts after printing? Yes!

Creating Prior Art: Filament changers equipped with dynamic filament drying

Do-Something-Saturday: USB Microscope mount

Quickie: How to make a .iso file with native tools on Windows 11.

Microscopy: It's a lamp, how hard could it be?

Down the rabbit hole, TLS/RSA AES 128 and 256 SHA support for Windows Server 2003

Configuring SAP Cloud Connector to talk to Active Directory LDAP/LDAPs

Fixed: Why is robocopy changing my folder names and icons?!

Chess: I broke 700!

Chess: I broke 600!

How do I create firewall rules for the New Teams in Intune?

How do I identify if anyone is using 3DES cipher suites on my IIS server?

Tool Time: Making impact sockets legible with a paint pen

How to set Proxy settings for Microsoft Network Policy Server (NPS) Radius for Azure / Entra AD MFA

Quickie: How do I assign a drive letter to my OneDrive folder that persists after reboot?

Quickie: What network ports are listening on my machine in PowerShell?

Why aren't my Domain Controllers Global Catalogs?

Quickie: What update do I need to be able to install patch a Server 2012 r2 RTM machine?

Why did my box reboot? Getting Reboot information from the System and SCCM Reboot Coordinator logs

Fixed: Removing the "Edit with Acrobat" Ad in Edge's PDF Viewer.

Fixed: SCOM "No Device Ping" on network discovery