Category Archives: Windows 11

Restore Point Pros & Cons

By default, Windows 10 and 11 both turn on restore points (RPs). These may be used to return an OS environment back to a prior state. The OS typically shoots one RP daily, and takes one as it starts the WU process. In addition, app developers may include taking an RP snapshot early on during their own install processes. All this said, there are plenty of Restore Point pros & cons.

What Are Restore Point Pros & Cons?

These days you reach Restore Points through the System Protection tab in the System Properties window in Control Panel. Interestingly enough, you have to navigate through Settings > System to get there. Once you find what you’re looking for (see lead-in screencaps) you can enable or disable RPs, and also allocate a maximum percentage of the system/boot disk which these system snapshots can occupy.

RP’s positives include the following:

  • Convenience and ease of use: you can create an RP manually with a few mouse clicks, and it takes little time to complete one. It’s also fairly easy to revert to a Restore Point using either Windows built-in tools or one of my faves (it’s an oldie, but a goodie): System Restore Explorer. It tool 33 seconds to create one on my i7Skylake desktop, and 1:05 to restore same on that PC.
  • Provides a simple layer of system protection: can easily revert Windows to undo update, app or application, and driver changes. This is faster — but more limited in scope — than even the fastest image backup restore. As a knock-on effect: this can also undo software or library conflicts (after adding an app or application, or a new .NET version, or something else that’s similar).
  • Some cleanup when removing new software: This might be somewhere between a pro and a con.  Restoring an RP does result in removal of executable files and dlls added when installing apps. But shortcuts, preferences, and other files (including home folders — e.g. inside C:\Program Files or C:\Program Files (x86)) remain intact.

By contrast, RP’s negatives include:

  • No antivirus protection: restoring an RP won’t necessarily eliminate triggers for or stealth executables that cause malware infections. Thus malware can return even after using an RP.
  • No data file backup: RP copies the contents of the system volume shadow using the Volume Shadow Service (aka VSS). This does not include data files by design (to keep the snapshot as small as possible). So RP provides no data restore capability, either.
  • New user accounts are not protected by RP: if you define a new user account after the point in time at which an RP shapshot is created, those accounts will no longer exist when that RP is restored. That said, the User files for that account will persist. IMO, this is a kind “worst of both worlds” situation. Sigh.

My Net-Net Is: Don’t Rely Solely on RPs

Reading through the previous plusses and minuses, it’s pretty easy to see that  RPs can have value in a limited set of circumstances. But they’re no substitute for a recent image backup, and they’re no panacea for solving non-trivial Windows issues or problems.

I don’t use RPs much myself anymore myself (though I did in the Vista and Windows 7 eras). These days I rely mostly on in-place upgrade repair install for semi-serious to serious troubleshooting, and a clean install (or image restore) for outright system failures and boot problems. It’s also my repair of last resort when nothing else will produce a working Windows instance. Go figure!

Facebooklinkedin
Facebooklinkedin

Widget Screenshot Users, Beware

Wow! Did I get an ugly surprise in the mail yesterday. I got two demand letters from a Canadian image rights company, seeking payment of US$1,334 for use of two thumbnails in a screen capture I made. Where and how did this happen? I was reporting about the introduction of the Windows News Bar (Beta) app, before the whole news and weather widget stuff rolled onto the Windows taskbar. That’s why I admonish fellow bloggers and Web content developers: “Widget screenshot users, beware!”

Ouching into Widget Screenshot Users Beware

The actual images the claimant asserts I’m using without a license are thumbnails. They measure 78×41 pixels. They’re included as an illustration of what the news bar looked like on the Windows desktop at the time (after I downloaded and installed the app).

Of course, news and weather info is now available from the taskbar. It comes courtesy of the so-called “Widgets” icon there, where the popped-up window that clicking on it produces is simply called Widgets. It shows both captions and images because it has more pixels to work with. This original design let users pick whether to see captions or images (images by default). Because I screen-capped two of their clients’ images on March 30, 2020, I must pay . . .  says the claimant.

Fair Use to the Rescue

“Not so fast,” is my response. I replied in writing  as follows:

  •  I make no money from my website
  • I was reporting news about a new MS Store app (News Bar Beta)
  • I used the image strip (5 or 6 of them altogether, if memory serves) purely to show what the app looked like, and made no reference to individual images
  • I reproduced the strip as thumbnails only, heavily cropped
  • I do not sell or license images to any third parties, and I make no money from the site, so it can’t impose commercial losses on the copyright holders

These are all part of the arguments through which “fair use” is proven in the US. I think I’m on solid ground, but it’s pretty disturbing nonetheless. Going forward, I’ll look more closely at exactly what’s in my screencaps. I’d advise you to do likewise for anything that goes online as well. Better to avoid trouble than to have to (de)fend it off.

Facebooklinkedin
Facebooklinkedin

Another Teams Iteration Hits Build 26080

Yesterday, March 13, Windows 11 Canary Channel saw a new feature update hit the Insider Preview Canary Channel: 26080.1. Amidst the many changes it brought, I found an add-on of particular interest — Microsoft Teams. In an era when Teams (classic) and Teams (work or school) coexist side-by-side, a new version of the latter is available via WinGet or the Microsoft Store. You can see its icon in the lead-in graphic. If you read this blog, you can probably guess that when another Teams iteration hits Build 26080, I got it via WinGet. You can also see its traces in the next Windows Terminal screencap that follows.

Another Teams Iteration Hits Build 26080.winget

Examine this closely to see a new Teams version ending in .1505.
[Click image for full-size view.]

Why Another Teams Iteration Hits Build 26080 Matters

For the longest time I’ve had to use both Teams (classic) and the previous iteration of Teams (work or school).  Actually, I’ve often used its web-based counterpart to avoid Taskbar confusion.

No longer! This latest version lets me use the same program, define multiple accounts, and switch easily between them. Minor quibble: MS says this switching is “fast” but it does take a while. Indeed, some of my Teams logins use 2FA and require re-authorization each time I enter the environment. I guess I’m starting to grok what passwordless  authentication is about, eh? But once you’ve got multiple taskbar elements open, switching takes only a mouse click.

For the moment, though: I’m tickled. It is a lot more helpful to be able to use both AD- or Entra-managed work or school accounts alongside personal ones. Good work, MS. I wish you’d done it this way from the outset. But, as things sometime turn out in Windows-World, later is always better than never.

News Flash Added 1 Hour Later

In both 26080 announcements (it’s out in both Dev and Canary channels) MS talks about “a preview experience of the new, unified Microsoft Teams experience on Windows.” Windows Central calls it a “unified Teams client.” I like that terminology and wish I’d made it up. You’ll definitely want to read the announcement for lots of useful deets and examples. Good stuff.

Another Possibly Helpful Test/Observation

Just for grins, I made an image backup of one of my Canary Channel test PCs, then uninstalled the old version of Teams from same. With the new version installed by itself, I am still able to do what I need to do with just the one version installed. That said, I do seem to have lingering MSA issues when using only my personal account. Very interesting!

Facebooklinkedin
Facebooklinkedin

Checking Wi-Fi Signal Strength

Here at Chez Tittel, most PCs use wired Ethernet for their network connections. That is: of the 10 PCs on various LAN segments here, 7 use GbE connections; the other 3 use Wi-Fi. But our cellphones, iPad, and other devices — including 3 thermostats — are all on Wi-Fi. It’s a mixed bag. I like to check Wi-Fi quality from time to time, so I have to thank Mauro Huculak at Windows Central. He just reminded me about what’s up with checking Wi-Fi signal strength. See his story “How to check Wi-Fi signal strength…” for a raft of potential ways in Windows 11.

Checking Wi-Fi Signal Strength: Command Line

I’m a command line junkie, so I’ll skip the various UI-based methods he describes. There’s a single command in the network shell (netsh) that will tell you what you (or I, in this case) want to know:

netsh wlan show interfaces

Mr. Huculak also provides a tasty one-liner version in his article that’s worth sharing and keeping around (cut’n’paste into a text editor like Notepad, and remove all but one space between the text on the 1st & 2nd lines, please, so it will run in Command Prompt or PowerShell):

(netsh wlan show interfaces)
-Match '^\s+Signal' -Replace '^\s+Signal\s+:\s+',''

You can see both of these at work in PowerShell on one of my Windows 11 test PCs in the lead-in graphic above. The short version produces all of the interface info for the one and only Wi-Fi interface on that machine; the long version simply shows the signal strength as a percentage (i.e. the “99%” at lower left above). You can go either way. Works the same on Windows 10, too. Very handy!

Thanks again, Mauro. Made my morning…

Facebooklinkedin
Facebooklinkedin

Creating New Windows 11 VM Gotchas

Whoa! I hit a couple of interesting snags when setting up a new Hyper-V VM, late yesterday and this morning. Indeed I came across a couple of interesting gotchas that I want to document — if only to help me to remember what to do the next I have to do this. These creating new Windows 11 VM gotchas include getting the ISO-based install to run, and then being able to log into that VM. Pretty basic but vital stuff, in other words…

Creating New Windows 11 VM Gotchas Recited & Explained

Gotcha #1: Getting the installer to run from an ISO. Turns out you can’t do this from an RDP session. I had to do this from the physical desktop, probably because of too many levels of indirection from keyboard stuff in the input path. I also had to set up the VMs with TPM to get Windows 11 install to complete (otherwise, I would get the “doesn’t meet hardware requirements” error message). This turned out to be fairly easy, if vexing from the standpoint of “Why doesn’t Hyper-V do this by default?”

Gotcha #2:  Logging into the new VM, once installed. One must log into the VM with “Enhanced session mode” disabled, then go to Settings > Accounts > Sign-in options > Additional settings, then turn off “…allow only Windows Hello sign-in…” toggle. Turns out, this doesn’t work with RDP either, as explained at MS Answers. Boy, won’t it be nice when Copilot gets smart enough to do this with a single prompt (no luck right now).

Facebooklinkedin
Facebooklinkedin

Hotpatching Windows 11 24H2?

If Zac Bowden at WindowsCentral is right — and he often is — there’s something unusual coming in the next feature update for Windows 11 (24H2). When it emerges later this year, it may include something called hotpatching. In an October 2023 Learn Story, MS defines hotpatching. It is “…a way to install OS security updates … that doesn’t require a reboot after installation.” Basically, it means that PCs can defer the mandatory reboot that follows certain monthly cumulative updates. But there’s more…

Beyond Hotpatching Windows 11 24H2

Right now, hotpatching only applies to WindowsServer VMs inside the Microsoft Azure umbrella. Bowden also asserts it’s used on Xbox systems. According to his unnamed sources they’re already experimenting with hotpatching 24H2 images in Redmond. Same sources say MS plans to push them out into the Dev and Canary channels in coming months.

Because MS has been doing this for a while (with Windows Server VMs and Xbox) this is less startling than it might otherwise be. The MS Learn item is particularly worth reading for the section entitled “How Hotpatch works.” It explains this technique relies on patching “the in-memory code of running processes without the need to restart the process” so that “applications are unaffected.” Good to know!

A quarterly reboot is still required to make sure that an actual CU acts as the baseline for the current running Windows image (say in January). Then, February and March can be hotpatches, with another CU to follow in April, and so on, as shown in the lead-in graphic.

Presumably, full update integration would occur on the “next reboot” for hotpatched PCs. I’ve never had a Windows desktop run for 3 months without a single reboot myself. Thus, I’m pretty sure I’ll be finding out when and as hotpatches show up inside Windows 11 Insider Preview releases — hopefully, soon!

 

Facebooklinkedin
Facebooklinkedin

Windows 11 Nears Built-in IPRI Facility

Here’s a nice Windows 11 milestone to ponder. Those who opted for KB5034848 (released 2/29/2024) already have it. Those who wait for the March Patch Tuesday release will get it. What is it: an IPRI, or in-place repair install capability, as depicted in the lead-in graphic from my Lenovo ThinkPad P16 Mobile Workstation. That’s the basis for the title (also above) that reads “Windows 11 nears built-in IPRI facility.” Let me explain what makes this cool…

Sussing Out Windows 11 Nears Built-in IPRI Facility

I’ve been hip to the IPRI technique — which basically involves launching setup.exe from an installer image that matches whatever version of Windows is currently running — since I joined up at TenForums.com back in November 2014. It’s my favorite technique to restore Windows to stable, normal operations when things start getting weird and normal troubleshooting techniques shed no light on things. IPRI works by re-installing all the OS files but leaving apps, applications, and the registry alone.

And now in the CU Preview for March (and thus presumably also in the March update), Windows 11 users running the latest version will get the “Reinstall now” button that lets them attempt to “Fix problems using Windows update.” While this will reduce my level of need for UUPdump.net to built an ISO for IPRI from time to time, it is incredibly convenient and generally helpful. Good stuff.

One word of warning: Having tried this tool out on a Beta release a couple of months back, I can observe it takes quite a while to do its thing. It took me 55 minutes to get through the process on that Beta image, and I assume it will do something similar with this Preview CU image should I put it to the test again. I’m pretty sure that’s because it has to build a custom image (just like the UUPdump.net batch file does) before it can start doing its repairs.

And so it often goes, here in Windows-World, where spending more time for improved convenience is a common trade-off. Cheers!

Facebooklinkedin
Facebooklinkedin

Canary 26063 Throws Install Error

Oh well: it happens sometimes. One of my two test PCs on the Insider Preview Canary 26063 throws install error right near the end of the install process. It’s one I’ve seen before –namely:

Failed to install on ‎2/‎22/‎2024 - 0xc1900101

It’s something of a grab-bag error in that it can come from insufficient disk space, driver conflicts (esp. from external USB devices), an out-of-date driver on the target PC, AV conflicts, and more (see this MTPW Backup Tips note for all the deets).

When Canary 26063 Throws Install Error, Then What?

I’m trying a two-pronged strategy this morning. First thing is a simple retry. And when I ran that option in WU, it thought for a while, then jumped from the download phase to the GUI install phase. So obviously, it checked over yesterday’s UUP downloads and found them satisfactory. Right now, WU is 49% into installling 26063. Here’s hoping that works.

But on the other prong, I’m downloading the 26062 ISO from UUPDump.net. I’ve observed that when a WU-based install fails, sometimes a local install using setup.exe from a mounted ISO will work. It may also provide more useful error messages in local logs should it fall over near the end of the process yet again.

FWIW, this seems to be a pretty substantial update, too. And indeed on the other test PC — the one where the upgrade worked –it  says 24H2 in the Winver window. I guess that means MS is floating Windows vNext to Insiders right now.

Lookit that! 26063.1 says “Version 24H2.” It’s arrived…

More to Follow…

Now, the WU install is at 64% and UUP is building images and stuff for the upcoming ISO file. Based on yesterday’s experience, this will still take a while. I’ll jump back in and update when it gets wherever its going. Stay tuned!

Facebooklinkedin
Facebooklinkedin

CNF Conundrum Gets Some Love

OK, then. I’ve been trying to figure out why, on some of my test PCs, I get an error message when PowerShell loads my profile and tries to import the PowerToys WingetCommandNotFound (CNF) module. You can see that error message in the lead-in graphic above (from my ThinkPad P16 Mobile workstation). Thanks to some fiddling around, this CNF conundrum gets some love — finally!

I haven’t figured out how to fix the problem properly just yet. But for the nonce, if I go into PowerToys, visit CNF, uninstall and then resinstall same, it returns to work. This happens every time I open a fresh PowerShell session, so it’s at least mildly bothersome. But I’m starting to make progress on figuring things out.

How CNF Conundrum Gets Some Love

The error message keeps changing on me as I add things to the folder where the profile resides — namely %user%\documents\PowerShell. First, it complains about not being able  to find the module itself. I copy it into that folder. Then it complains about a .DLL. I copy that, too. Finally, it complains about an error handler not being able to field a thrown exception.

It’s not fixed yet, but I now know that this issue comes from my PowerShell modules path set-up. Something is wonky between those search paths (there’s one for the system, and one for my login account) and PowerToys. This happens for one of my Microsoft Accounts (MSAs)  every time I use it to log into Windows, because this information is shared across those instances through OneDrive.

What’s Next?

I’ve got to research how I should be setting things up in the OneDrive environment to get PowerShell and PowerToys to get along with each other properly. I’ll be contacting the WinGet crew (Demitrius Nelon’s team at MS) to request additional info and guidance. That’s because my online searches have only clued me into what’s going on, but not how to fix it properly.

Stay tuned: I’ll keep this one up-to-date. And I’ll probably post again, when a resolution is formulated. This just in: OneDrive is reporting multiple copies of the PS profile in its file store. Could this be related? I have to think so. Again: stay tuned…

Facebooklinkedin
Facebooklinkedin

Repair Install Fixes Instability

At the beginning of this month, I performed an in-place upgrade repair install on my Windows 10 production PC. It’s now running Build 19045.4046. You can see that this repair install fixes instability on the PC in the lead-in graphic. Over the past 20 days I’ve had only one critical event — mostly self-inflicted when testing winget Chrome update behavior (see last Friday’s post for details). Otherwise, this 2016-vintage system has been rock solid of late.

When in Doubt, Repair Install Fixes Instability

Gosh! I’ve long been a believer that an in-place upgrade repair install (IPURI) is something of a Windows cure-all. Reminder: an IPURI runs setup.exe from a mounted ISO for the same version of Windows that’s currently running on a PC. Thus, it requires the host OS to be running well enough to replace itself. See these terrrific TenForums.com and ElevenForum.com tutorials for all the details…

Thus, you can’t use this technique if you’re having boot problems, or the OS isn’t running well enough to get through  the GUI phase of a Windows upgrade. But for situations where the OS is running (but most likely, not as well as you might like) this technique works extremely well. My earlier Reliability Monitor trace, before the February 1 IPURI, looked something like a sawtooth wave on an oscilloscope. Ouch!

How to Get the Right ISO

I still use UUPDump.net to match build numbers between what’s running and the ISO I have it build for me. Then, I mount that ISO, and run setup.exe from the virtual DVD drive ID Explorer puts out there for me. Lately it’s been showing up as the E: drive; but this morning it comes up as P:. But you’ll most likely see it labeled with the initial characters of the image label like this:Repair Install Fixes Instability.recent-iso

Here’s what Explorer shows me when I mount the ISO I used on February 1 for an IPURI: Virtual DVD Drive P:

For the record, I also use the excellent Ventoy project software to boot into my various ISOs when an IPURI won’t do. Admins and power users will want to keep a USB handy with their fave ISOs for repair and recovery scenarios. I do that on a 1 TB NVMe SSD inside a USB3.2 drive enclosure. Lets me keep dozens of ISOs around, ready to boot into any of them on a moment’s notice. Good stuff!

Facebooklinkedin
Facebooklinkedin