Category Archives: Troubleshooting

Repair Install Unsticks WU

For the past 5 weeks or so, I’ve been working with the Lenovo ThinkPad T14s Gen5 laptop. For the last two weeks, updates have been stuck, with an error code that indicates file download issues. The usual repair techniques haven’t helped, either — namely run the troubleshooter or the reset & re-register Windows Update components. So this morning, with a new cumulative update out, I installed the latest Windows 11 24H2 repair version. That built-in repair install unsticks WU and catches me up with pending stuff, as you can see in the lead-in graphic.

Repair Install Unsticks WU Trades Time vs. Convenience

The problems with the afore-mentioned techiques (troubleshooter, reset&re-register) is that they take multiple steps and a bit of effort. Double that when, as often happens, remediation is also needed. It took a while to click Start > System > Recovery > Reinstall now and then work through that process. But the details took care of themselves and I didn’t have to do anything except fire it off to make it work.

In the end, this turned out to be easier and less vexing than the other techniques. Its results were also immediately apparent, and entirely positive, once completed — as you can see in the lead-in graphic. That said, Update History does become a little opaque when you conduct this repair. Here’s what it says now:

It doesn’t show the problem CU installed and running. It simply shows that “Windows 11, 24H2 (repair version)” got installed today. Of course, that means the installer used the latest version of the Windows image — including those problem CUs — as the install base. So really, it’s all fixed now. You just have to know what this reference means.

And ain’t that just the way things go here in Windows-World? The problem may be solved, but a hint of mystery — or is it confusion? — remains. Cheers!

Note Added 4 Hrs Later: Get-Hotfix Tells the Story

Reading through ElevenForum.com threads just now, I learned that running Get-Hotfix in PowerShell will shows installed KBs from a repair install image, to wit: This shows that various updates and security updates are indeed present in the newly repaired image. The current build number for that PC — 26100.3775 — also shows that KB5055523 has been applied. Good stuff…

Facebooklinkedin
Facebooklinkedin

Dell Updates Replaces Power Plan

Yesterday afternoon, upon returning from a lovely drive into the Texas Hill country “the Boss” remarked that she now had to power on her Dell Optiplex D7080 to wake it from sleep. “Hmmm” I thought to myself “I bet something changed with sleep/wake/hibernate.” It sure did: a recent item via Dell Command Update installed and selected a “Dell” power plan. Alas, when Dell updates replaces power plan, their chosen alternative forced use of the power button to initiate wake. Easily, easily fixed: read on for those details, please…

When Dell Updates Replaces Power Plan, Switch Back

As you can see in the lead-in graphic, there’s a new power plan in the mix. It’s named Dell and it had been selected by default after some recent item ingested through the Dell Command Update utililty. To inspect the contents of a power plan in PowerShell, two commands are needed: the first provides a list of all plans, the second inquires about the contents of a specific plan through its GUID. Those commands are:

powercfg -list
powercfg -query <GUID>

Fortunately, the list output includes both human readable names and GUIDs so I was quickly able to get the deets for the Dell power plan. And sure enough, as I suspected, it had a setting for hibernate after 1 hour of idle time. That was the key!

Wake from Hibernate Requires a Poke

A poke of the power button, in fact, which was just what the boss didn’t like. So, as you can see from the lead-in graphic, I switched her back over the the High Performance plan she’d been using before Dell Command Update made that switch. It doesn’t include hibernate, and it wakes on keypress or mouse click from sleep. That’s what she wanted. And now, that’s what she’s got.

Facebooklinkedin
Facebooklinkedin

Mapping Windows Memory Usage

I like to keep an eye on how Windows is using system resources. To that end, I still use Helmut Buhler’s excellent 8GadgetPack utilities. They don’t really tell you anything that Task Manager can’t but you can keep them in view all the time, and they don’t exact much system overhead, either. For a rough and ready picture of what’s up with Windows memory (RAM), those tools (e.g. Task Manager and the CPU Monitor gadget) can tell you how much RAM is on your PC, how much is in use, and how much is free. The gadget also reports page file info: total, free, used as well. But when it comes to digging deeper into how Windows uses memory, the Sysinternals tool for mapping Windows memory usage –namely, RamMap – is what you need. Let me explain…

For Mapping Windows Memory Usage, Try RamMap

If you look at the lead-in graphic, I’ve superimposed the CPU Usage gadget (aka CPU Monitor) at center far right, with the Sysinternals RamMap tool beneath it. This pretty much shows things as they work and contrasts the minimal level of detail available from Task Manager and the Corresponding CPU gadget to the more detailed and nuanced RamMap.

TLDR version: Use Task Manager or the CPU Gadget to get a gross overview of memory and paging file stuff; use RamMap to get more details about what’s consuming memory and what state that memory is in.

In large part differences are a matter of details. Task Manager and the CPU Gadget tell you how much RAM is used (blue numbers under the Used, Free, Total column heads in white: 23.6GB) and free (~8GB). It also tells you that the page file is not in use (yellow numbers right underneath RAM entries). That’s pretty much it.

RamMap, OTOH, provides a lot more memory status categories: Active, Standby, Modified, Modified No Wire, Transition, Zeroed, Free, and Bad (you want to see THAT one in a memory map). You get a much more informed and detailed view here (and under other tabs besides “Use Counts” in the leftmost position, shows by default).

How “Used” and “Free” Fit RamMap Categories

Here’s something worth knowing: Used Memory in Task Manager/CPU Gadget combines the RamMap totals under Active, Standby and Modified. Free memory in Task Manager/CPU Gagdet combines the RamMap totals under the Zero and Free headings.

But when RamMap runs you can also see how those numbers change as processes execute, tasks get handled, services do their thing and so forth. It’s much more detailed and useful if you want that level of detail, especially if you’re hunting a memory leak of some kind.

Good stuff! Grab yourself a copy today (or you can simply run the web-based executable, to make sure you’re always using the latest and greatest version).

Facebooklinkedin
Facebooklinkedin

Build 26120.3653 Gains QMR

In the latest 24H2 Beta Build for Windows 11, the OS gains a facility called Quick Machine Recovery. That’s right: Build 26120.3653 gains QMR, ready for test and use after install. Indeed, the lead-in graphic shows commands to set up a QMR test, as documented at MS Learn. (That entire article is worth a quick read for an overview and explanation of QMR’s cloud- and OS-based remediation capabilities).

Testing How Build 26120.3653 Gains QMR

On a suitably-equipped Windows 11 PC, QMR testing must first be enabled. The first of the two commands shown above handles that:

reagentc.exe /SetRecoveryTestMode

Next, you must instruct QMR to take over the PC after the next reboot. That forces QMR into action (otherwise, it kicks in only after some kind of error or boot failure):

reagentc.exe /BootToRe

This instructs the boot loader to hand the next boot over to the Window Recovery Environment. That’s WinRE, the “Re” in the command string at far right. Overall, reagentc.exe handles WinRE configuration and auto-recovery handling. It also lets admins direct recovery operations and customize WinRE images.

QMR Remediation

QMR’s magic comes from its automated ability that — in the words of the afore-linked MS Learn article — “enables the recovery of Windows devices when they encounter critical errors that prevent them from booting.” In fast, QMR can “…automatically search for remediations in the cloud and recover from widespread boot failures…”

FWIW, I see this new facility as a well-crafted Microsoft response to 2 major issues in 2024. First, there was a Microsoft security update (KB5034441) in January of that year, that rendered PCs with smaller UEFI partitions unable to boot. Second, a Crowdstrike update in July left PCs in a “boot loop” unable to start up at all. Both incidents reportedly affected 8M+ Windows PCs, but the latter caused business service interruptions lasting up to 4 days. Many of those PCs ran remotely, inaccessible without some “interesting” boot-strapping maneuvers involving KVM tools (and lots of cursewords, apparently).

Hopefully, QMR will make such debacles obsolete, and provide cloud-based mechanisms to inject remediation automatically as soon as fixes can be concocted. This could be a very good thing. It’s going to take a while before QMR goes mainstream (probably in 25H2) but it should make life easier for Windows admins everywhere.

One more thing: Sergey Tkachenko at WinAero reports “A test patch is expected to be released in the coming days, which will allow you to test the Fast System Restore feature in practice.” That will let admins try out the auto-remediation feature for real.

Facebooklinkedin
Facebooklinkedin

Thunderbolt Share Gets Interesting

OK, then. I asked Lenovo to send me another Thunderbolt 4 capable laptop so I could try out the new Intel Thunderbolt Share app. Looks like I’m at least temporarily stymied, and have learned some things I don’t especially like, either. Indeed, Thunderbolt Share gets interesting from the get-go possibly because of licensing issues. Right now, I’m stymied because when I run a TB4 cable between my 2 TB-equipped laptops right now, I can never get past the “Waiting for connection” screen shown above. Sigh.

Thunderbolt Share Gets Interesting Because…?

Notice the disclaimers beneath “Connect both Computers” in the foregoing screencap. I may be stuck on the clause that reads:

At least one PC or Thunderbolt accessory must be Thunderbolt Share licensed by the manufacturer

From what I can tell, the newest of my pair of PCs — the only one that could possibly qualify here — had its Windows image burned on November 20, 2024. Given that Thunderbolt Share made its debut in May of the same year, it’s entirely possible that Lenovo didn’t license this program for the ThinkPad T14s Gen5. At any rate it’s not working between my only TB4-capable laptops right now. I’ve asked Lenovo for help, and we’ll see what happens. But there’s more…

Thunderbolt Share Won’t Open in RDP Session

My usual way of working on test and eval PCs is to RDP using  Remote Desktop Connection (mstsc.exe) on my primary desktop. That’s what I tried first to get into Thunderbolt Share on the two target machines. Guess what? Thunderbolt Share won’t launch from inside an RDP session. I have to physically use the target PCs to get the app to run. I have to laugh…

Once launched,  it keeps running if I then remote into either the P16 or the T14s. But of course, it’s stuck at “Waiting for connection” right now. So I’m getting nowhere, fast. That means my plans to compare TB4 cable transfer speeds against GbE and Wi-Fi transfers are on hold for now. Stay tuned. I hope to get this straightened out soon.

Facebooklinkedin
Facebooklinkedin

KB5053643 Kills Mouse, Keyboard

Last Thursday, I downloaded and installed a new Preview CU for Windows 10 — namely KB55053634. After lunch Friday, I finally got around to rebooting to complete that process. Eventually, it succeeded. But first, just to make things incredibly exciting KB5053634 kills mouse, keyboard — my vital USB peripherals — dead. Here’s the story of what I had to do to bring those devices back to life, and actually log in to Windows 10.

KB5053643 Kills Mouse, Keyboard: Now What?

Because I couldn’t get past the lock screen without a valid input device, that turned out to be a little more vexing than one might guess. So first, of course, I rebooted again. Still no joy: the keyboard didn’t respond to keypresses (a good test on my Comfort Curve 4000 is to toggle the Function Lock or Scroll Lock keys because those also toggle handy little green indicator LEDs). Nor did a mouse click open the PIN input box as usual.

So I tried again. Still no dice. Then I thought: “maybe the device needs a cold, hard boot?” That means powering off the PSU, waiting 1-2 minutes, powering back up, and pressing the power button. And indeed, that did the trick. Once I went through that maneuver, the hardware got completely reset, reinitialized and enumerated. It was enough to restore my key USB peripherals to working order.

What (Would Have Been) Next?

If the cold boot or hard boot didn’t work, I’d have had to jump into UEFI, turn off Secure Boot, and then target bootable repair media to get something running on that PC. I’ve done it many times before and will no doubt do it again. But hey: I was glad not to have to do it this time. Cold, hard boot did the trick.

Makes me feel like I dodged a bullet. Remember to give that a try if you find yourself bereft of mouse and/or keyboard after installing a Windows update or upgrade. If you’re lucky like I was, that will bring the USB drivers back into play, and let your PC get back to work. Cheers!

Facebooklinkedin
Facebooklinkedin

WU: How Long Is Too Long?

Here’s a Windows road I’ve been down many times. Indeed, it’s the kind of road, as in Robert Earl Keen’s excellent song, that “goes on forever…” It’s the road you walk on when WU hangs during download, GUI install, or post-GUI install. I read with amazement this morning in an ElevenForum thread that some poor soul waited THREE HOURS on a stuck install before asking for help. Ouch! Of course this raises the question with WU: How long is too long when things get stuck?

For me, the TLDR; answer is “10-15 minutes.” I just don’t have the patience to wait much longer. And FWIW, I’ve only seldom seen something that’s been stuck that long succeed after such a delay.

In WU, How Long Is Too Long Depends on You

At some point, the stuckee realizes that nothing is going to change, no matter how much longer one waits. That’s the point at which one must bite the bullet, and restart the stuck PC. Holding down the power button for 10 or more seconds until the PC shuts down will usually do it. Sometimes, however, one must either power off the PSU (desktops) or take more drastic steps (e.g. disconnect battery or wait for it to drain completely on a laptop).

Surprisingly, in the dozens of times I’ve had to do this when stuck in the past 5 years or so, the aftermath has mostly been positive. Often, Windows will simply pick up where the stuck update left off and finish up from there. Sometimes, it will roll back to the pre-install state instead.

Only in a handful of cases has the affected PC refused to boot correctly. When that happens, it’s time to pull out your rescue media and perform an image restore to your last known,good, working image backup. You have one of those, right? I’ve learned the answer to that question had better be “Heck, yeah. Let’ s go!”

Overcoming The Worst Case Scenario

No image backup and no working PC can be problematic. Hopefully, you’ve got at least some important stuff backed up someway, somehow (OneDrive, maybe?). You’ll either find a way to run a repair install (works sometimes) or you’ll have to choose between a clean install or a factory reset. Hopefully, it won’t come to that. I haven’t had to go there but once or twice in the 30-plus years I’ve been running Windows. Hopefully, your odds and experience will be the same. Good luck!

Facebooklinkedin
Facebooklinkedin

Long Hard 27788 Upgrade Road

Whoa! In the realm of Windows Insider Preview upgrades, sometimes you win and sometimes you lose. This time around — starting from Build 27783 — I found myself on a long, hard 27788 upgrade road for this latest Canary Channel version. When I tell you what happened, and how I surmounted the obstacles on that path, you may be able to save yourself some unnecessary time and effort.

To begin with, what I lost on this upgrade road was time. I spent most of yesterday afternoon going through various motions to try to get the Insider Preview for 27788 and a companion KB5053390 (CU for .NET Framework…) up and running. All such attempts, alas, proved fruitless.

Traversing That Long Hard 27788 Upgrade Road

Getting to the state depicted in the lead-in graphic — showing that the Lenovo ThinkPad X12 Hybrid Tablet is up-to-date in WU and running Build 27788 in Winver — took some doing and some time. In fact, it wasn’t until I read about a workaround in an ElevenForum post from Russian user @Dronix that I made any real headway. Along the way, each update/upgrade cycle took about 1:10 (70 minutes) to work through.

I’ll deliver a recitation of what I tried that didn’t help my problems. I am also speculating when I say this, but I believe one can’t upgrade to 27788 until KB5053390 for .NET completes successfully. There may be dependencies in the upgrade that need the previous CU to complete successfully. And indeed, once I did that, the upgrade went through without further issues.

Here’s my list of failed strategies:
1. Simply retry the failed KB or upgrade item.
2. Run Eleven Forum’s Reset_Reregister_Windows_
Update_Components.bat from this Reset WU tutorial
3. Run the built-in WU Troubleshooter

What Worked: DISM-GUI 1.3.1.02

Turns out there’s a German software tool named DISM-GUI that lets one install KB .cab files from failed installations. You have to know the name (a partial name will do) of that file to provide it as a target. The afore-linked Eleven Forum thread identifies it, and it includes the KB number as a sub-string. Using Voidtools Everything, I found it immediately (search string *KB5053390*.cab). For the record, the filename is:

Windows11.0-KB5053390-x64-NDP481.cab

Click on the box in DISM-GUI that reads “CAB Install” (lower left) and the program will prompt for the file location. You can get that from Everything, then left-shift click and use the “Copy as Path” option (you’ll have to delete opening and closing quote marks).

This opens a Command Prompt session and uses DISM to install the package for you. Unlike the WU driver install, this actually works. And it takes less than two minutes to complete. Then, when you’ve got the CU installed, the follow-up upgrade to 27788 works, too.

TLDR: Possible Problems with 27788 Are Fixable

If you read through the whole Eleven Forum thread about 27788, some posters were able to install KB5053390 and the 27788 upgrade without any difficulties. Numerous others — myself included– got exactly nowhere until they used DISM-GUI to get over the KB5053390 hump.

Should you find yourself in the same boat, you can go straight to the workaround using that tool, and avoid the hours and hours of thrashing about I went through yesterday. Why not learn from my experience, instead of repeating that misery?

Providing such info explains why I write this blog. It also explains why I expect lifetime employment doing that kind of thing here in Windows-World. It’s always something…

But Wait! There’s More… (Added Jan 7)

When I logged into the X380 and the X12 this morning, KB5053390 again showed up as needed. And again, a regular WU install failed. So this time, I fired off DISM-GUI taking the left-click “Run as administrator…” option. Apparently that did the trick. Here are some screencaps along the way:

Between the 2nd and 3rd screencap, I ran DISM-GUI again (as admin) and it showed a successful conclusion at the command line, then reboot with successful update there after). Once I rebooted the system and it worked through the rest of the process, I got the 3rd figure above from WU. Gadzooks! I hope it’s finally over…

 

Facebooklinkedin
Facebooklinkedin

NVIDIA Rollback Gets Interesting

Take a look at the lead-in graphic. It shows multiple daily crashes — hardware errors mostly — on my production desktop for the past week. As it turns out, my switchover from Game-Ready to Studio NVIDIA driver did not fix my dual monitor problems. I had to forcibly reload the graphics driver (WinKey+Ctrl+Shift+B) to get both displays working after sleep even after the switch. Resolved to undo recent updates, I learned that NVIDIA rollback gets interesting on this PC. Let me explain…

Why NVIDIA Rollback Gets Interesting

It doesn’t seem to matter which January 30 version of the NVIDIA driver I try to run on this PC and its RTX 3070 Ti GPU. Both posed stability and “wake from sleep” issues. Thus, I knew I had to roll back to the previous version.

Alas, the rollback button in Driver properties was not lit up, so I had to find and download the driver from the NVIDIA website. Once I identified the next-most-recent version — namely 566.36 — I was able to download its installer file from the older drivers listing for my graphics card, filtering on the Studio Driver tab.

Just to be safe, I also told the installer to do a clean install of that driver. This flushes out all associated files and registry settings found on the PC and replaces them with clean new (in this case, older) copies.

Rollback Success?

I was able to reboot and get into  the OS with both monitors working just fine. I just put the PC to sleep, and was able to wake into both monitors without difficulty. I’d hazard the hypothesis that this might have fixed the issues I was experiencing. But after being too quick to declare victory in my Febuary 3 post after switching to the 572.16 Studio driver, I think I’ll wait and see if things keep working before calling this one “fixed for sure.”

Stay tuned! I’ll report back tomorrow and let you know if ReliMon throws any more errors. So far, so good even after “forced sleep and wake…”

Info Added 25 Minutes Later

I just came back from lunch. The PC woke up with a single keystroke (Enter) and both monitors are working as they should be. I’m encouraged.

 

Facebooklinkedin
Facebooklinkedin

Latest NVIDIA Game-Ready Driver Disses Dual Displays

Last Thursday, January 30, I installed new versions of the NVIDIA app and the latest game-ready driver (version 572.16) on my production desktop. It’s got a GeForce RTX 3070 Ti GPU, so I generally stay on the leading driver edge. Not this time! Immediately after I installed the new driver, trouble came to visit. Indeed, I’ll claim that the latest NVIDIA game-ready driver disses dual displays because no sooner did it next sleep, monitor 2 went dark and stayed that way. Eventually, I figured out that I had to cycle power on that monitor to get it working again. Sheesh!

Undoing Latest NVIDIA Game-Ready Driver Disses Dual Displays

I’m OCD enough about Windows stuff that I can’t leave something broken for too long. So when uninstall/reinstall failed to fix my wake-from-sleep issue with Monitor 2 (left-hand, as shown in lead-in graphic), I switched from NVIDIA’s Game-ready driver to the Studio driver model.

It, too, shows the same version number and release date. But as far as I can tell, it’s not inclined to lose Monitor 2 when the desktop goes to sleep. That’s a good enough reason for me to switch and stick with that selection. If I were a gamer — I’m not — I might feel differently. But because I’m not I’m glad that the more staid and reliable Studio version of the driver meets my needs, and keeps my monitors going.

And isn’t that just the way things go here in Windows-World sometimes? But the principle is a good one: if the driver you’re using is causing trouble, and a different model is available, there’s no harm in trying to see if the trouble goes away upon switching. In my case, I was lucky that it did!

Facebooklinkedin
Facebooklinkedin