Category Archives: Cool Tools

Fixing Winget Source Update Fail

In the past two-plus years that I’ve used WinGet nearly every day, I’ve seen one error show up occasionally. It reads “Failed in attempting to update the source: winget.” This means that the winget command is looking to its own repository of known packages to obtain the latest list but unable to complete that access request. You can see what this looks like at the top of the lead-in graphic. The error follows right after the initial WinGet upgrade… command. The bottom part of that same screencap (it’s two pieces stitched together, actually) shows what’s involved in fixing WinGet Source update fail.

Fixing Winget Source Update Fail Has Its Own Command

It should come as no surprise that there’s a WinGet Source command that takes various subcommands to add, list, update, remove, reset and export WinGet sources. You can read all about these items in this MS Learn item The winget source command.

As you can see at the bottom of the lead-in graphic I used WinGet Source Update -n WinGet for my fix. Basically, that tells Winget to “try again” with updating the default WinGet source named WinGet. It does so automatically when you run WinGet Upgrade… But it does occasionally fail. And when it does, most of the time the Source Update at the head of this paragraph fixes things.

When Might WinGet Source Update Itself Fail?

A variety of problems could provoke error messages from the WinGet Source Update -n WinGet command I used for my fix. It might be that the WinGet source is offline. It might be some kind of networking communication problem is preventing access. I’ve never had this happen, but it would no doubt produce a different error message to help point you in the right direction. WinGet is well engineered that way.

Indeed, WinGet is now an essential part of my admin toolbox. I simply can’t live without it anymore. Cheers!

Facebooklinkedin
Facebooklinkedin

WinTerm Customization Remembered & Repeated

I’m closing setting up and tweaking my Lenovo loaner SFF PC , just the way I like it. Indeed, I plan to switch my production desktop over from the 2016 vintage Skylake i7 I now use.Instead I’ll go with an uber-powerful ThinkStation P3 Ultra. It’s equipped with a 13th-Gen i9-13900, 64 GB RAM, Nvidia RTX A2000 12 GB, and a Hynix 2TB Gen 4 SSD. As a near-final step, I am fumbling through WinTerm customization remembered & repeated. You can see what I mean in the lead-in graphic…

Digging Thru WinTerm Customization Remembered & Repeated

It took four steps to get all the pieces lined up to customize my Windows Terminal as you see it in the graphic:

  1. Install Jan DeDobbeleer’s OhMyPosh for a custom prompt. That also required creating a $Profile file for startup. There are plenty of good how-tos around on this. I’m sad to report, however, that TekkiGurus.com is off the air. And thus, my series on this subject, too — find it instead on the WayBack Machine.
  2. Download and install the CaskaydiaCove Nerd Font (which I grabbed from NerdFonts.com) so that OhMyPosh can do its fancy thing with Windows Terminal prompt characters and environment variables. Handy now that drag-n-drop font install works inside Settings > Personalization > Fonts.
  3. Grabbed one of my favorite MS SpotLight images and then dimmed it up (30% opacity or thereabouts) to use as the Windows Terminal background. Dare I say I find it fetching?
  4. Ran the command Install-script WinFetch inside WinTerm to visit the script archive and install the eye candy that this displays about target systems when run.

Looks pretty good, doesn’t it? I’ve learned to expect and appreciate a bit of Windows Terminal pizazz to keep my eyeballs entertained while working at the command line.

And there you have it. Just another day in the paradise known to some as Windows-World. Good stuff!

Facebooklinkedin
Facebooklinkedin

PatchMyPC Home Updater Mini Annoyance

First things first: I’m a HUGE fan of PatchMyPC’s Home Updater product. Indeed, I got invited to try out the company’s latest version — an app-based implementation that supersedes PatchMyPC.exe — because I’ve written about it often and positively. In the interests of sharing my enthusiasm and support, I also have to report a recent PatchMyPC Home update “mini annoyance.” Let me tell you more…

What Is the PatchMyPC Home Updater Mini Annoyance?

It’s a Store app, so you must call it via the Start menu as “PatchMyPC Home Updater” to launch the program. But it’s NOT available in the Windows Store. Rather you must download it direct from the maker’s website, from the PatchMyPC Home Updater home page. If you try to find it in the MS Store, you get a big fat zip instead. Ditto for a search on “Patch My PC” as it appears here:

Only the website will do: the app is NOT in the MS Store.

Forewarned is forearmed, I guess. But gosh, it’s kind of a minor thing to add an app to the Store, isn’t it? C’mon guys: fix this sooner, rather than later. I applaud the new UI and the switch to a modern app style for this excellent tool. But please: finish the job and put it in the Store. Just sayin…

Facebooklinkedin
Facebooklinkedin

PC Manager Gains Advanced Browser Cleanup

Thanks to a recent story in Windows Latest, I just learned that a new version of the Chinese-built MS store app named PC Manager is out. For those who don’t already know, this tool offers performance boost, health check, storage  and startup cleanup tools, and more. Though I’ve heard from plenty of used inclined to be skeptical, if not distrustful, of this tool, I’ve never had it cause me a problem in the 16 months I’ve been writing about it (here’s my first intro post from July 2023). With the latest 3.14.10.0 release, PC Manager gains advanced browser cleanup tools.

Showing PC Manager Gains Advanced Browser Cleanup

You can see the results of such a cleanup in the lead-in graphic: especially for Chrome, they’re substantial (5.0 GB). Of the 9.7 GB in disk space that the Deep Cleanup tool freed up, 6.84 GB (~70%) comes from this newly-minted browser cleanup facility. IMO, that’s pretty major — especially because web browsers account for plenty of the CPU and memory cycles, and disk and memory space on Windows PCs.

Indeed, Copilot says that on a typical Windows PC, web browsers generally consume around 10-20% of the total runtime resources (CPU, memory, network and storage). I think that’s on the low side, but then I nearly always have 20 or more Chrome, Edge and Firefox processes visible in Task Manager (each), and at least a half-dozen tabs open in all 3 browsers. Seems like double (or more) in my case as compared to Copilot’s estimate.

Whatever your typical usage patterns might be, this newly-added cleanup tool will probably be worth running once in a while. I’m going to try it daily and see if it makes any difference.

Give It a Try?

If you’re not using PC Manager already, this new facility makes it even more compelling. If you don’t have it installed, you can find in the MS Store, or grab it via this MS Store link. Go ahead, check it out. You may enjoy it!

Facebooklinkedin
Facebooklinkedin

Macrium Reflect X Rocks

I’ve known about this for a couple of months, but until last week I was under embargo, as they say in trade press lingo. Macrium Reflect X (version 10, so it’s a Roman numeral) went public on October 8, so now I can talk. Reflect X not only backs up ARM PCs — the lead-in graphic comes from my Lenovo ThinkPad T14s Gen 6 Copilot+ PC — it does so swiftly and surely. As you can see it created a 47.24GB full disk image backup in under two minutes (1:51). But there’s more…

Why Say: Macrium Reflect X Rocks

It’s not just way speedy (it would be two to four minutes faster than version 8 for the same setup on a Wintel PC), it’s also got other things going in its favor as well. ARM support is a big deal (it’s one of a very few tools that offers scalable backup for ARM CPUs). But Macrium Reflect X also offers:

  • Resumable imaging: Even after interruptions, image backup can pick up where it left off, with no data or time losses.
  • Open-source file formats: Reflect has published specifications for its .mrimgx and .mrbakx file formats so other programs can use them.
  • Enhanced filtering: Relect X can ignore files (e.g. contents of the Temp directory, caches, and other transient items that don’t need backing up) to reduce backup size and speed image capture time.
  • Improved compression and backup optimization techniques (see this video for a backup that goes from over 8 minutes for version 8 to under 2 minutes for version X).

Reflect X Does Come at a Cost

With this latest release, Paramount Software (the company behind Macrium Reflect) has changed its licensing approach. It’s moved over from perpetual licenses plus annual maintenance fees to a pure annual subscription model. Because I had 8 licenses (4 from a 4-pack perpetual license, 4 more from a version 8 subscription purchased last year) my upgrade costs to get into Version X were right around US$200 (approximately US$25 per license per year).

I think that’s a reasonable price, but understand that new buyers won’t get as good a deal. That said, the company runs occasional specials wherein they drop list prices anywhere from 25 to 50%. Best to keep an eye out for such, if you’re planning on getting into the latest Macrium Reflect X version. IMO, it’s completely worth it, and very much the best backup/restore/repair option available for Windows PCs. You can check out a free trial for 30 days.

Facebooklinkedin
Facebooklinkedin

WinGet High Water Mark 14

Holy mackerel. It’s not so much that I’ve been ungodly busy lately. It’s more like my ongoing visual impairment (I’ve had one lens replacement done, and go back in next Monday for the second) is limiting my activity to only what’s essential. Thus, while I’ve been distracted from my usual routine. WinGet’s been piling up updates. Today, I hit a WinGet high water mark: 14 updates pending, as you see in the lead-in graphic. Wow!

When WinGet High Water Mark (14) Hits, Then What?

Wait. Wait. And wait some more. The whole process took about 18 minutes to complete, much of which went to a Visual Studio update. Interestingly Windows Terminal did NOT come in at the end of the batting order, as it normally does. Why? Because WT needs restarting when it’s updated. But this time, Teams snuck in at the end, so it got updated before I could get WT restarted. Go figure!

As usual, my hat’s off to Demitrius Nelon (@denelon) and his WinGet team, for their stellar work in making updates safe, easy and routine. I’m a rabid partisan on their behalf, and recommend this tool unreservedly to all charged with keeping Windows PCs current and correct.

Best of all I got a clean bill of health from WinGet after a single run: “No installed package found matching input criteria.” That’s WinGet speak for “everything is up to date.” Good-oh!

Facebooklinkedin
Facebooklinkedin

WinGet Discord Update End-Around

I absolutely love Microsoft’s built-in package manager WinGet. But occasionally things happen when updating application that it can’t (or won’t) handle. As you can see in the lead-in graphic, it cheerfully discloses in red that Discord “…cannot be upgraded using winget.” Indeed, its own built-in update facility did nothing to get me to version 1.0.9165. Thus, my only shot at a WinGet Discord update end-around was the tried-and-true uninstall-reinstall maneuver. That worked, as you can see…

Why Use a WinGet Discord Update End-Around?

Short answer: because it worked. Apparently, it’s uninstaller is smart enough to leave user account information alone. Even though I uninstalled the old version and then installed the new one, it carried over anyway. I’d been worried I’d have to set accounts back up, but no. Everything came up as it should’ve even after an “out-with-the-old, in-with-the-new” operation had completed.

I’m counting myself lucky in this case. There are plenty of other applications that don’t ask if you want to keep personal, account and config info. Then they cheerfully wipe all that stuff out as part of the uninstall process. That makes getting back to where one started a little more time-consuming, especially when a reinstall requires account, password, and possibly even other information to complete.

What’s with Discord’s Pinned Status Anyway?

Notice my attempts to unpin Discord reported “There is no pin for package Discord” (line 7 in the intro graphic). In the past, WinGet has often reported it can’t update Discord because the app is pinned. That’s an experimental feature in WinGet that prevents ordinary syntax for updates from working on certain apps.

Contrary to expectations, though, Discord wasn’t pinned. Yet WinGet couldn’t update it, either. Because the built-in updater didn’t do anything when I tried it (right-click on the notification area icon, then select “Check for updates…” in the resulting pop-up menu), I didn’t have a lot of other options. Thus, I’m grateful that the remove-replace approach did the trick. As you can see from the name of the package downloaded, I did wind up with version 1.0.9165. That’s just what I wanted.

Good thing one can sometimes get lucky here in Windows-World. Glad to have this behind me with no apparent ill effects.

Facebooklinkedin
Facebooklinkedin

Outlook Search String Magic

This is an IDKYCDT item. I work with Outlook every day, and have done so since the 1980s. You’d think I’d have learned a long time ago about how to make Outlook search string magic stand up and bark. Not so: in trolling the Internet today I learned about the “isread:no” string in Outlook search, which shows you all unread messages for the current search focus. Indeed, it’s the bomb when applied to my inbox, where things can sometimes pile up alarmingly.

You can see a sample search string of this type in the lead-in graphic. It reads the sender field (from:) in messages, and shows those that match what’s on the other side of the colon. In this case, recent stuff from one of my main project editors at Actual Tech Media.

Exploring Outlook Search String Magic

By itself, this isread:no string is a big boon to my productivity. But naturally, I’d like to find a compendium of all such strings. The closest I could come as an MS Support note entitled “How to search in Outlook.” It lists a pretty good number of such strings. But it isn’t really structured, appropriately organized, or complete in that specific area . Ditto for another support note “Use Outlook’s built-in search filters.”

In fact, the more I look around, the less I’m able to find a useful resource. I’m thinking I should reach out to the father of the AskWoody newsletter — Woody Leonhard himself, author of many books on Word and Office — and see if he can point me in the right direction. Who know where this may lead? Can’t wait to find out.

Stay tuned!

Facebooklinkedin
Facebooklinkedin

Accessing Hyper-V VM WinRE

Talk about deja vuI! I was trying to access the Windows Recovery Environment inside a VM today. I needed to make some screenshots for a TechTarget story. Turns out the only way to do that is at the command line, using shutdown /r /o /f /t 00. But there’s a problem: this command doesn’t work inside RDP, nor when running an “Enhanced mode” session. Thus, accessing Hyper-V VM WinRE is a little trickier than it could — or should — be. Sigh.

Tricks to Accessing Hyper-V VM WinRE

Turns out, turning off “Enhanced mode” is key in this case. After I did that, not only did the shutdown command work as advertised from a local session, it also worked through RDP, too. Go figure!

I’m used to working on test and road machines via RDP from my production desktop, so this kind of thing comes as no surprise to me. But each time I find one of these bumps in the road to Windows success, I seem compelled to find said bump with my nether regions.

But at least I now know how to get right to WinRE inside a VM. All the other tips I found online — such as extending the timeout interval to give time to hit the F8 key, for example — required too much time and effort (and happy chance) to work. I like doing things through the command line because it’s straightforward and direct, and does not require getting lucky to achieve success.

And boy, howdy, isn’t that just the way things go here in Windows-World sometimes? I’ll take the command line every time, especially if chance (happy or not) must otherwise be involved. You should do likewise…

 

Facebooklinkedin
Facebooklinkedin

Canary Gets New Clock-based Widgets

With the arrival of Build 27695, Windows 11 Canary gets new Clock-based widgets. One is named Countdown, the other Timer, so their clock affiliation should be obvious. One or both may be pinned quite easily into the Widgets column at the left-hand edge of the pop-up Widgets panel. Hint: Launch this by entering WinKey+W at some keyboard.

When Canary Gets New Clock-based Widgets, Then What?

You can see what these simple-seeming widgets look like by default in the lead-in graphic (Countdown left, Timer right). Inside the Widget Panel, you must click the top-line “+” (Plus sign) to open the Add a widget display. Then, you can pin either or both widgets, and they’ll start showing up in the Widgets Panel.

It’s always nice when MS starts adding functionality to its facilities. For a long time, that collection was pretty limited. Right now the count is up to 14: Counddown, Dev Home, Family Safety, Focus session, GitHub, Instant Play, Phone Link, Photos, Sports, Timer, Tips, Traffic, Watchlist, and Weather.

And if you click the “Find more widgets” option at the end of the Pin widgets list, you’ll be wafted off to an MS Store page named “Find your next widget.” Highly recommended: it offers better — and more nicely organized — widget listings than a simple search inside Store on “Widgets” offers.

Good stuff: too bad I can’t figure out a URL for that access. You’ll just have to follow the button inside the Widget panel as I did to get there. Enjoy!

AFD  until Tuesday, September 24

Later today, I’m going in for cataract surgery on my left eye. If all goes well — and they tell me this routine procedure has a 95-99% success rate — I’ll be back at the keyboard next Tuesday. Wish me luck!

BTW, AFD means “Away from My Desk.” I’m not sure if it’s a legit acronym, but I used it to shorten that heading length. Hopefully, it at least makes sense. Happy trails…

Facebooklinkedin
Facebooklinkedin