HOSTING SINCE 2007 · 60-SEC CHECKSIN BUSINESS SINCE 1998 · GREENTREE SINCE 2007 · SOUTHBURY, CT
GREENTREE1998 · GT 2007
Web Applications · Cloud · Enterprise Email
Scope a Project
ALL SYSADMIN FIELD NOTES & RUNBOOKS
FN-2026-05 // ROOT-CAUSE FORENSICSRoot-Cause Forensics · 8 min read

Forensic Root-Cause Case Study: How a Sleeping Bluetooth Keyboard and Dell Peripheral Manager (VID_FFFF&PID_BACE) Spawned 1,349 Calculator Instances in Explorer.exe

When a machine locks up three times in four days with zero obvious error dialogs, most people reboot, reinstall drivers at random, or blame Windows. Here is how our infrastructure engineering workflow traced a mysterious workstation crash to the exact millisecond—and why root-cause forensics beats trial-and-error every time.

Published: 2026-10-25•Last tested: 2026-10-25•Tested on Windows 11 Pro 24H2 (Dell Latitude 9450), Dell KB700/KB7221W (VID_413C&PID_2511) & Dell Peripheral Manager 1.7.x
01 // THE SYMPTOM

A Dell Latitude 9450 workstation periodically froze until virtual memory hit 0 and explorer.exe crashed—even when undocked, on battery power, and unplugged from all USB cables.

02 // THE ROOT CAUSE

When the paired Dell KB700/KB7221W Bluetooth LE keyboard (VID_413C&PID_2511) went to sleep or dropped out of range across the room, Dell Peripheral Manager (DPMService.exe) failed ReadFile on Col04 (gle: 0x3e5) and left its software virtual USB keyboard (VID_FFFF&PID_BACE) stuck blasting APPCOMMAND_LAUNCH_APP2 (Launch Calculator) into explorer.exe ~3,000 times per second.

03 // THE PERMANENT FIX

Two-layer defense: (1) Place an idempotent single-instance guard on HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey\18 so Calculator only opens or focuses one window, and (2) Stop and disable the buggy DPMService background service.

EVENT CORRELATION
3 / 3 Crashes
DPMService-log.txt gle: 0x3e5 preceded TWinUI Event ID 5961 on Oct 22, Oct 24 & Oct 25
PACKET STORM RATE
Every 0.2ms
1,349+ Calculator activations fired across 15+ threads in explorer.exe until RAM exhausted
HIDDEN VIRTUAL HID
VID_FFFF&PID_BACE
Dell Peripheral Manager Virtual Device - 1 injected media/app keys even while undocked
TWO-LAYER REMEDIATION
AppKey\18 + Service
Single-instance registry guard on AppKey\18 + disabling DPMService stops the repeat loop
Sysadmin Safety Notice: Test registry and service changes on a non-production system first. Always back up HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey\18 using reg export before modifying registry keys.
INTERACTIVE SYSADMIN RUNBOOK · SAVED IN YOUR BROWSER

Interactive Workstation & Server Hang Forensic Triage Checklist

Use this diagnostic sequence if a Windows workstation or server experiences mysterious Explorer hangs or runaway app spawns:

PROGRESS: 0 OF 5 STEPS VERIFIED (0%)CLICK ANY STEP TO CHECK OFF
FIELD NOTE 01 // THE PUZZLE: WHY DID IT HAPPEN UNDOCKED?

1. Correlating TWinUI Event ID 5961 With DPMService-log.txt Across All Three Crashes

What made this bug deceptive at first glance was that it happened even when the laptop (a Dell Latitude 9450) was completely undocked, sitting on battery power, with no external USB keyboard plugged in. Yet three times in four days (Oct 22, Oct 24, and Oct 25), explorer.exe suddenly spun up 15+ threads and consumed every byte of system commit memory until the machine locked up.

Instead of guessing, we pulled the Microsoft-Windows-TWinUI/Operational log right before each crash and cross-referenced every background service log on the machine. That uncovered two critical facts:

• 1. The Hidden Virtual Keyboard (USB\VID_FFFF&PID_BACE): Dell Peripheral Manager (DPMService.exe) installs a software Virtual USB Keyboard (Dell Peripheral Manager Virtual Device - 1) inside Windows to translate programmable hotkeys. • 2. Direct Bluetooth LE Pairing Across the Room: The external Dell KB700 / KB7221W keyboard (VID_413C&PID_2511) was paired directly to the laptop’s internal Bluetooth LE radio—not just the USB dongle in the dock. When the laptop was undocked or carried into another room, the keyboard’s Bluetooth LE connection went to sleep or dropped out of range. At that exact moment, DPMService logged ReadFile failed (gle: 0x3e5) on Col04 (the programmable Calculator key channel)—and its virtual HID device got stuck blasting APPCOMMAND_LAUNCH_APP2 (Launch Calculator) into explorer.exe every 0.2 milliseconds!

Crash DateDPMService-log.txt Failure EventTWinUI Calculator Storm StartCalculator Spawns Logged
Thu Oct 2219:29:26 — ReadFile failed (gle: 0x3e5) on HID VID_413C&PID_2511 Col0419:31:57 (Event ID 5961)229+ instances (crashed explorer.exe)
Sat Oct 2406:10:06 — ReadFile failed (gle: 0x3e5) on HID VID_413C&PID_2511 Col0406:11:00 (Event ID 5961)350+ instances (forced reboot at 07:33 AM)
Sun Oct 2506:19:35 — ReadFile failed (gle: 0x3e5) on HID VID_413C&PID_2511 Col0406:20:53 (Event ID 5961)1,349+ instances (fired every 0.2ms until virtual memory hit 0)
FIELD NOTE 02 // THE TWO-LAYER PERMANENT FIX

2. Stopping the Storm Permanently While Keeping the Calculator Key Working

In systems engineering, we never rely on a single fix when a two-layer defense costs nothing extra:

• Layer 1 — Single-Instance Guard on Explorer\AppKey\18: Windows maps the hardware Calculator key (APPCOMMAND_LAUNCH_APP2) to registry key 18 under HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey\18. By default, Windows spawns a brand-new CalculatorApp.exe process every time that key fires—even if 500 copies are already opening. Routing AppKey\18 through a tiny single-instance check ensures that if Calculator is not running, it opens one Calculator window; if Calculator is already running, it brings the existing window to the front and ignores any flood. • Layer 2 — Disabling DPMService: Because the Dell keyboard and mouse work natively over standard Windows Bluetooth and USB HID drivers, stopping and disabling DPMService removes the buggy VID_FFFF&PID_BACE virtual device altogether.

PowerShell Diagnostic & Remediation Commands (Test on Non-Production System & Back Up Registry First)
# 0. Back up existing AppKey\18 registry key before making any changes
reg export "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey\18" "$env:USERPROFILE\Desktop\AppKey18-backup.reg" /y

# 1. Check TWinUI Operational Log for Calculator Activation Storms (Event ID 5961)
Get-WinEvent -LogName 'Microsoft-Windows-TWinUI/Operational' |
  Where-Object { $_.Id -eq 5961 -and $_.Message -match 'Calculator' } |
  Group-Object { $_.TimeCreated.ToString('yyyy-MM-dd HH:mm') } |
  Sort-Object Count -Descending | Select-Object -First 10 Count, Name

# 2. Check Dell Peripheral Manager Log for ReadFile (gle: 0x3e5) on Col04
Select-String -Path "C:\ProgramData\Dell\Dell Peripheral Manager\DPMService\Log\DPMService-log.txt" -Pattern "ReadFile failed|0x3e5|Col04" | Select-Object -Last 15

# 3. Stop & Disable Dell Peripheral Manager Service (Standard Windows HID Drivers Remain Active)
Stop-Service -Name "DPMService" -Force
Set-Service -Name "DPMService" -StartupType Disabled
⚠ Test on a non-production system first and verify backups before running administrative commands.
SYSADMIN Q&A

Common Questions on Dell DPMService & TWinUI Calculator Storm Forensics

If I disable DPMService (Dell Peripheral Manager), will my Dell wireless keyboard and mouse still work?

Yes. Standard Windows USB HID and Bluetooth LE drivers handle typing, mouse movement, scrolling, volume keys, and the dedicated Calculator key natively. Disabling DPMService simply removes Dell’s custom background service and its virtual USB device (VID_FFFF&PID_BACE).

Why did the Calculator storm happen when the laptop was undocked and unplugged?

Because the keyboard was paired via Bluetooth LE directly to the laptop’s internal radio in addition to the dock receiver. When the laptop was undocked or moved across the room, the weak/sleeping Bluetooth LE connection caused DPMService’s ReadFile call on HID Col04 to abort with error 0x3e5, leaving the virtual keyboard driver stuck repeating the Calculator key.

What is AppKey\18 in the Windows Registry?

Under HKLM and HKCU Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey\18, Windows defines the action for APPCOMMAND_LAUNCH_APP2 (the dedicated Calculator media key found on many keyboards). Overriding AppKey\18 in HKCU lets you replace the default multi-instance launch behavior with a single-instance check.

COMPANION CORNERSTONE REFERENCE GUIDE (/LIBRARY)

Should You Run Your Own Server Stack? What Self-Hosting Actually Asks of You

See why reading real event logs, correlating service timestamps, and maintaining multi-layer defenses is a full-time engineering discipline.

Read Full Engineering Guide
ACCOUNTABLE SYSTEMS ENGINEERING

Why Forensic Methodology Matters on Your Production Servers Too

Whether we are tracing a workstation HID storm, a PostgreSQL lock, a BIND DNS serial mismatch, or an intermittent mail relay delay, we read the actual logs, correlate the timestamps, and fix the root cause permanently.

RELATED FIELD NOTES & RUNBOOKS

Related Notes From the Sysadmin Desk

View All 8 Field Notes