Category Archives: Windows 10

PowerShell Update Oddity Version Confusion

I’m flummoxed. I just upgraded PowerShell from version 7.3.3.0 to 7.3.4.0. It’s the latest stable version, as you can plainly see at GitHub. But even after updating, that preceding version still shows up using winget list powershell. An explicit uninstall request reports “No installed package found matching input criteria.” Hmm; WTF? I can only call this a PowerShell update oddity version confusion problem!

If you look at the left-hand tab in the lead-in graphic, you’ll see two versions of Powershell, one numbered 7.3.3.0 and the other 7.3.4.0. But when I try to uninstall the older one, winget can’t find it. And indeed when I try to open it in the right-hand tab, it comes up at the current (latest) version. I’ve seen something like this before, so I start thinking about causes and workarounds. Read on to see how I resolved this one…

Resolving PowerShell Update Oddity Version Confusion

I’m of the school that says if you can’t do it one way in Windows, you can almost always find another. If I poke around in my file system searching on “pwsh.exe” (the name of the powershell executable file), I see an app-based instance of the 7.3.3.0 version in ProgramFiles\WindowsApps. And sure enough, inside Settings → Apps, I find three (count ’em) versions of PowerShell. Here’s a snap:
AFAIK, I only need the middle one, so I right-click to uninstall the other two. When I’m done, I check Windows Terminal, and it tells me I need to reset my default profile. I do, and choose version 7.3.4.0. When I open a new Terminal window and run winget list powershell again, it shows only a single (and correct) version. Problem solved!

Now, all I have to do is figure out why the winget uninstall didn’t work, but a manual uninstall inside the Apps widget in Settings did the trick. I’m gonna have to think about that for a while… Stay tuned!

Facebooklinkedin
Facebooklinkedin

Installing Updates Silently (or Not)

In dealing with the never-ending story of Windows OS and app/application updates, I sometimes marvel at the obvious and visible role that certain installers play in that process. Fortunately, some tools — like PatchMyPc — make a virtue out of “silently installing” such things, too. The arrival of a new Intel Bluetooth driver this morning on some of my PCs prompted the observation that installing updates silently (or not) has real value. For me, at least… (see lead-in graphic for my inspiration).

Why Installing Updates Silently (or Not) Matters

It’s all about the user interactions. Some installers demand that users respond to their requests for permission and acknowledgement before they’ll proceed. This morning’s Bluetooth item, for example, required no less than four mouse clicks to go through its paces.

This matters because it makes life interesting for admins who have to automate updates via scripting and automation. It also explains the broad appeal of a product like RoboTask and AutoHotKey (see this Windows Report story for some useful coverage of this topic). Capturing mouse movement and clicks and replaying them becomes a vital ingredient in turning something done “by user, by hand” into something that can run as part of a general scheduled update process. But in general, such things are best avoided if possible.

Going Down the Rabbit Hole…

Switching over to silent updates can be challenging, though. Take a look at this Spiceworks forum thread that walks readers through the requirements involved in working with Chrome templates and Group Policy Objects (GPOs). It’s kind of scary, but also pretty fascinating. There’s a lot of research and, sometimes, effort involved in putting complete update packages together for automated deployment. That’s the kind of stuff I like to observe, and learn from, when I have the chance.

 

 

Facebooklinkedin
Facebooklinkedin

Windows 10 PowerToys Registry Preview Issue

I’m not sure if what I’m seeing is general to Windows 10, or specific to my two remaining Windows 10 installs. But I’m seeing a Windows 10 PowerToys Registry Preview issue here at Chez Tittel. Don’t take it wrong — the tool works just fine. But you can’t use its built-in “Open file” button, nor the “Ctrl-O” key combo to open a registry (.reg) file. Instead, only a right-click on a .reg file in Explorer (or equivalent, such as VoidTools Everything) will do the trick.

What’s with the Windows 10 PowerToys Registry Preview Issue?

I wish I knew. Everything works as it oughter on Windows 11. As far as I can tell, the issue applies only to Windows 10. Given that there’s a relatively easy workaround, I’m guessing there’s some kind of simple gotcha preventing the Explorer hook-up in Windows 10 for Registry Preview “File Open” from working.

I’ve already tweeted @ClintRutkas, fearless team leader for PowerToys about this. Hopefully, that will help spur corrective action. But it reminds me that it’s always interesting to take new software facilities for a spin. Despite internal testing’s best efforts, stuff like this often pops up when more general releases occur.

Don’t Stop Your Own PowerToys Investigations

Please note that the issue — and Registry Preview itself, in fact — pops up only in the latest version. And, as you can see below that version number still starts with a leading zero. By convention, that means this is still a pre-release version out on extended beta test. These things happen with such software, for sure. But it’s fun to find one yourself now and then — just be sure to report in with your findings. Cheers!

Windows 10 PowerToys Registry Preview Issue.version-info

Facebooklinkedin
Facebooklinkedin

Reboot Releases Macrium Backup Volumes

If you’ve been reading this blog lately, you know I experienced a drive crash earlier this week (see “Bye-Bye Seagate…” for details). In the wake of that failure, I had to recover the very data volume that failed from a Macrium Reflect backup. That went off without a hitch. But I hit a snag when I attempted to unmount the volume, which normally requires only right-click menu navigation. Eventually I figured out — and confirmed — that a Windows reboot releases Macrium backup volumes.

An example of a mounted backed-up volume appears above; the normal menus below.

Normally, a two-step cascade provides easy access to unmount a Macrium backup volume. Not that time!
[Click Image for Full-Sized View.]

I’m Glad Reboot Releases Macrium Backup Volumes

After I’d finished grabbing the two folders I really needed from that backup I tried to unmount the volume and drive letter Reflect created to grant me access to its contents. No dice. When I right-clicked the Macrium Reflect entry, the all-important next-level “Unmount Macrium image” item shown above did not appear.

Geek that I am, I attempted to unmount it at the command line. But I couldn’t get PowerShell or Command Prompt to give me the details I needed to make that happen. (I simply couldn’t figure out how to get a GUID or other key drive ID details.)

I reasoned to myself: “Because Reflect mounted the volume, it must surely get unmounted if I reboot the PC.” And indeed, that’s exactly what happened. When I rebooted the PC, the volume that Reflect had mounted appeared no more.

As you can see from the preceding screenshots, it was just a momentary glitch. I mounted a different volume to shoot those images. This time, the right-click menu worked perfectly to dismount from the second image what shows up mounted (boxed in red) in the first image. Go figure!

Facebooklinkedin
Facebooklinkedin

Bye Bye Seagate STL1000LM014

Yesterday, I was bopping along and working away. Somewhere after lunch I noticed my D: drive had gone missing. I’ve been working feverishly to try to resuscitate that volume, but it ain’t coming back. Good thing I back it up frequently. I just restored the folders I care about most from that backup (and know where to find more, if I need them). So now, it’s time to say: Bye bye Seagate STL1000LM014.

Impacts from Bye Bye Seagate ST1000LM014

A bit of surprise and upset was my first reaction. But then, I looked at the manufacture date: 2014. Hmmm … let’s see … that’s 8-9 years ago. So, actually, not too surprising. I spent a couple of hours trying to recover the drive. But it won’t read in Windows for more than a minute or two before it falls over and throws a “failed USB device” error. So, I’m retiring this drive from service. I wasn’t able to recover its contents or restore it to working condition using Disk Management, MiniTool Partition Wizard, or SeaTools. That means it’s time for it to go.

It’s already been replaced with a different 2.5″ drive. It was mounted in a pop-out drive cage, which made it easy to remove the dead drive and drop in a live replacement. This time around, I’m going with a Seagate ST2000LX001FireCuda 2TB model, manufactured in 2020 or thereabouts. It should last for a while yet (at least 5 more years if the previous iteration is any guide). I think I’ll be OK.

Thank God for Good Backup!

I’m so glad I made the old D: drive part of my daily backup routine. I didn’t lose more than a day’s work. Now, I have to clean up the backup definition and make sure I’m still covered when the next drive fails. As they often say here in Windows-World: it’s always something!

Facebooklinkedin
Facebooklinkedin

Happy World Backup Day 2023

Courtesy of NeoWin, I’ve just learned that March 31 is World Backup Day. There’s even a website at — you guessed it — worldbackupday.com. Sponsors include Amazon, Mega (file download service provider), iStorage and Backblaze (online backup/storage providers) and mijn.host, along with the World Backup Day organization. There’s even a pledge: “I solemnly swear to backup my important documents and previous memories on March 31st. #WorldBackupDay.” Indeed, let me wish all readers a happy World Backup Day 2023.

Note: the intro graphic comes from the WorldBackupDay.com home page, and is intended to motivate people to back up their stuff. I can only endorse this proposition. I myself learned the importance and value of backups in 1990 when a 300MB SCSI drive on a Mac died on me, and lost me a book I was writing at the time (and more). It was a disaster! But I learned my lesson, and I’ve lost nothing important since to the slings and arrows of outrageous fortune.

What Happens on World Backup Day 2023?

Ideally, everybody makes sure they make a backup of everything they want to keep, or protect against damage, loss or breach. Personally, I back up my production PC daily (including the system drive, plus two smaller drives where I keep all ongoing project work).

But there’s more:

  1. You must know how to restore the backups you make.
  2. You should make yourself familiar with rescue or repair media so you can boot and restore a backup even on a PC (or other device) that’s not booting normally. Some backup packages require separate bootable media for each protected PC (I have a tray full of teeny-tiny Mushkin Atom flash drives for just that purpose).
  3. You should practice a restore occasionally. I end up using restore capabilities at least once a month myself — mostly because of self-inflicted issues arising from experiments — so I’m always ready to rock’n’roll.
  4. Ideally, you should keep one or more backups offsite or online. That way if a meteorite takes out your home or office, you can still get back online by restoring to a different PC. I keep two backups in the cloud: one on OneDrive, the other in Norton Backup.

My basic guiding principle is that anything worth storing once is worth backing up at least twice (as just described). Thus, let me repeat the salutation “Happy World Backup Day 2023” and gently urge you to backup, backup, backup. Cheers!

(Free) Backup Software Worth Using

My go-to backup solution has long been Macrium Reflect Free (I also use the paid version). But its maker, Paramount Software, has announced its discontinuing that version at the end of 2023. I’m casting about for a replacement, given that something free is important for me and my fleet of 10 PCs (6 of which are loaners from Lenovo for testing purposes). I’m digging into stories like this one (and more like it) at PC World The best free backup software and services…” and Lifewire‘s more comprehensive coverage to find a Goldilocks solution that’s “just right.” Stay tuned…

 

Facebooklinkedin
Facebooklinkedin

The Never-ending Windows Update Story Carries On

Back on March 6, I posted an item about Windows Application Update Rhythms. This offered a snapshot for a week’s update activities across my various PCs. Since then, of course, the updates have continued as the never-ending Windows Update story carries on. I’ve made some interesting observations since then, too.

The lead-in graphic above shows one such data point. I’ve begun to notice that sometimes Winget will update Chrome, and sometimes it won’t. It seems to be related to whether or not the app is open at the moment (yes if closed; no if open).

Never-ending Windows Update Story Keeps Going…

The same thing appears to be true for PowerShell as well, as you can see in this next screencap. Amusingly, the app itself is PowerShell so indeed it’s obviously running too. But there are ways to force a PS upgrade within the app, so this default behavior can be over-ridden. The second post in this SuperUser thread explains how to do just that. It grabs and uses the PS install MSI from GitHub to make that happen.

Never-ending Windows Update Story.update-PS

Winget updates neither Chrome nor PowerShell here.

What’s Behind the Apparent No-Upgrade Behavior?

In various discussions online as to what’s at work here, I learned (or re-learned) a few things. When installer formats change (MSIX to MSI, MSI to EXE, and so forth) Winget won’t perform the update. Indeed, I’ve seen explicit messages to this effect in Winget output from time to time. This Answers.Microsoft.com thread explains how to grab, then use, the download URL for the Chrome installer to bypass the failed (and silent, error-message-wise) Winget update. Likewise interesting!

The more I work with Winget, the more I learn about its various hiccups and gotchas. But the tool continues to impress because there’s nearly always a clever workaround to get things done. It’s definitely made the various installments of the never-ending Windows Update story around Chez Tittel shorter and more entertaining. What more could a Windows-head like me want?

Facebooklinkedin
Facebooklinkedin

Macrium Reflect Swamps CPU Short-Term

Whoa there! I couldn’t help but notice that my production PC slowed briefly to a crawl this morning. A not-so-welcome first, in fact. A quick jump to Task Manager showed me the Macrium Reflect Backup tool was the culprit, with CPU utlization stuck north of 75%. It took about 5 minutes to subside to normal levels. This tells me quite a lot, but let’s start with the blunt observation that Macrium Reflect swamps CPU short-term.

Note: I cheated on the lead-in graphic. It’s from a much older PC where it’s frightfully easy to swamp that CPU. Notice all four cores are pegged at 100% utilization in the ever-handy CPU Usage gadget. I have 8 threads on 4 cores on the i7-Skylake production unit, and they were all likewise pegged at 100%, albeit for a short time. Thus, I saw what I show here, doubled, as that PC bogged down.

What Does Macrium Reflect Swamps CPU Short-Term Mean?

Good question. Beyond the inescapable fact that this program — which was running my daily 9AM backup when this happened — brought my production PC to its knees, there’s more. Let me spell a few things out:

1. This is an i7-Skylake (6th gen) Intel CPU [3.4GHz], 32 GB RAM [DDR4-2133], 512 GB NVMe SSD [Samsung 950 Pro]. I built it in 2017-2018.
2. It’s not Windows 11 capable, so it’s running Windows 10 22H2 Build 19045.2788: that’s the latest preview CU scheduled for general distribution on April Patch Tuesday.
3. It’s never hit the wall performance-wise before to my notice. I beat the beejesus out of this machine daily (there are 13 apps and 148 background processes running, with 4% CPU utilization, as I write this screed). Indeed, this PC (mostly) does what I need it to do.

But it’s old and somewhat out-dated.  And I have a Ryzen 7 5800X in an Asrock B550 mobo ready to take over the production PC role. That leads me to a vital question:

Why Not Switch Over, Already?

I have lots of obvious answers including inertia, laziness, ongoing usability and the usual fiddle-faddle. But here’s the real reason, in succinct visual form:

Macrium Reflect Swamps CPU Short-Term.This PC

Count ’em: 10 mounted physical drives (4 SSDs, 6 HDDs).
[Click image for full-sized view.]

This totals up to about a nominal 16TB  of storage, of which 40% or so is occupied. Thus, we’re talking around ~6.5 TB of stuff, of which I need to keep at least 5TB’s worth. There’s going to be some thinking, planning, time and effort involved in moving my show to another PC. I’ll have to back everything up to another drive (an 8TB unit should do) and then figure how to map it into a new set of storage devices on the target PC. That should be interesting. I guess I’d better get started. This morning, I got my “early warning!”

Facebooklinkedin
Facebooklinkedin

Flaky Switch Prompts Mouse Hunt

I can tell the end is near — for my Microsoft Wireless Mobile Mouse 3500, that is. In this case, a flaky switch prompts mouse hunt for a replacement. What’s going on? Sometimes, when I click the mouse nothing happens. Sometimes, when I want to left-click once, it clicks twice — and even more annoyingly, vice-versa. Alas, this means the left-side contact switch is starting to fail. I’ve ridden enough meese into the dirt to recognize that this device is at end-of-life.

When Flaky Switch Prompts Mouse Hunt, Amazon Calls…

I have to laugh. It’s going to cost me a whole whopping US$12 to replace this unit. I always buy two, in fact, so I’ll have a spare if something goes wrong with the primary. I blush to confess, therefore, that when the previous primary went south and I fired up the secondary — the one I’m using now — I neglected to order an immediate replacement. That’s why I need to order two today. Just ordered!

I’m a great believer in keeping spares around — for everything. Indeed, if this current mouse dies before its replacement shows up, I’ve got a couple of Bluetooth meese (and corresponding USB3 dongles for my desktop) that I can use in the meantime. Ditto for network interfaces, removable storage, GbE cables and switches, keyboards and more. In my experience the only spare you really, really need is the one you forgot to order when the predecessor failed.

So far, things here at Chez Tittel are OK. As a Prime member, Amazon will get me both replacements tomorrow. I’m not worried. But it’s always good to stay on top of these things.

Cheers!

Note Added March 30 (Morning)

Amazon came through last night after I’d left home for my Wednesday evening pool league. The Boss left them sitting out on the kitchen island for me, so I saw them as soon as I walked into the house. It’s hard to overstate the satisfaction that near-instant gratification of one’s technology needs can deliver. I’ve already got one installed on my production PC. And now I have a ready spare as well. Good-oh!

Facebooklinkedin
Facebooklinkedin

SUMo Developer Pays Attention

If you’ve been reading my posts lately, you’ve probably noticed that I’ve complained — just a little — recently about the Software Update Monitor (SUMo) update utility. Over the weekend, the developer himself tweeted me to let me know he’d seen my input and fixed the issue. In fact, he agreed with me that SUMo shouldn’t be recommending a preview/beta version of ANY software. Hence my assertion that the SUMO developer pays attention. He does!

If SUMo Developer Pays Attention, Then What?

He obviously read my recent (Feb 27) post entitled “Update Semantics: Current versus Preview.” And indeed, SUMo is no longer recommending an update to pre-release versions of OneDrive. As you can see in the screencap at the head of this blog post, the current version is indeed recognized as the current version now. It’s highlighted in blue, and comes up with the same version I agree is the current one. Good-oh!

But What About CPU-Z?

I thought I’d caught him out again for asserting this week that CPU-Z needed an update. The download page reports it as version 2.0.5, but SUMo wants version 2.0.5.1. And, sure enough, upon downloading and updating the latest version from the home page, it self-reports as version 2.0.5 (no fourth digit). But after updating and looking at the readme file, here’s what it says:

Sure enough, it really IS version 2.0.5.1. Says so right there!

I’ll be darned. Sometimes the toolmakers know more than the owners/developers do — or what they report, anyway. Very interesting! My thanks to @KCSoftwares: it is nice to know somebody’s paying attention.

Facebooklinkedin
Facebooklinkedin