Windows 11 Policy Gremlins

Remember the movie Gremlins? A friendly creature that if you fed it after midnight, all heck would break loose and humans would be left to clean up the mess in the morning.
Despite setting all of the basic configurations to the contrary, Windows 11 occasionally reboots after an update on its own. It restores all of the running windows afterward in an attempt to hide this from users. Sometimes it fails on the restart, and I have to dig my laptop out from under the monitor stand where it is connected to everything via a USB dock. Other times it succeeds and most users wouldn’t notice. I, on the other hand, have a massive amount of data and virtual machines collected over 34 years of Windows versions (and another 6 of DOS and whatever the original Mac OS was), all of which reside on encrypted external drives, and there is only one reason they will all have been disconnected: a stealthy reboot.

Step 1: Spot the Sneaky Restart in Event Logs (Skip the Freezing GUI)

Event Viewer sounds official, but it freezes like molasses when filtering big logs. Don’t bother with it—use PowerShell instead (search “PowerShell” → Run as Admin).
First command to check for crashes/power losses:
PowerShell
Get-WinEvent -FilterHashtable @{LogName='System'; Id=41,6008} -MaxEvents 20 | Sort-Object TimeCreated -Descending | Select-Object -First 1 TimeCreated, Id, LevelDisplayName, Message | Format-List
  • What it does: Looks for “dirty” shutdowns (ID 41 or 6008). No results? Good news—your restart was “clean” (planned). (Mine showed nothing, so not a crash.)

Step 2: Dig for the Real Story with Broader Boot/Shut Logs

No crash? Check all reboot clues:
PowerShell
Get-WinEvent -FilterHashtable @{LogName='System'; ID=12,13,1074,6005,6006,6009} -MaxEvents 10 | Sort-Object TimeCreated -Descending | Format-Table TimeCreated, Id, LevelDisplayName, ProviderName, Message -Wrap
  • Key IDs: 1074 reveals who restarted (e.g., “TrustedInstaller.exe… Operating System: Upgrade (Planned)”).
  • The Culprit: TrustedInstaller (Windows Update’s installer) often forces an “upgrade” reboot. (Mine hit at 10:51 PM—classic move.)
Bonus quick boot time check:
PowerShell
Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object LastBootUpTime

Step 3: Lock Down Future Restarts (Microsoft’s Hidden Maze)

Your BSOD “no auto-restart” setting? Useless here. Windows ignores it for updates. Time for the real fixes.

Quick Registry Shield (Copy-Paste PowerShell as Admin)

PowerShell
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoRebootWithLoggedOnUsers" -Value 1
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "AlwaysAutoRebootAtScheduledTime" -Value 0
gpupdate /force
  • Why it works: Tells Windows “Don’t reboot if I’m logged in.” Verify with Get-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU".

Pro GUI Version (gpedit.msc)

  • Run gpedit.mscComputer Config → Admin Templates → Windows Components → Windows Update → Manage end user experience.
  • Enable Configure Automatic Updates → “2 – Notify download/install”. (This stops the OS from making decisions for you.)
  • Enable Turn off auto-restart during active hours → Wide hours (e.g., 6 AM–11 PM).
  • gpupdate /force.

Nuclear Option: Tame Update Orchestrator

  • services.mscUpdate Orchestrator Service → Startup: DisabledStop.
  • No sneaky scheduling anymore (updates still work manually).

Why Microsoft Makes This So Hard (Minor Rant)

I get why the default configuration reboots on its own. Most users will never bother to check updates on their own, and if they are installed automatically but require a reboot, the message will be ignored by the general populace until the next upgrade. Anytime a non-technical friend or family member brings me a device that is giving them problems, finishing an update fixes it 92.8% of the time. But…

There’s a bunch of us nerds who came up from our basements (or down from the attic, in my case) and still want fine control over our own equipment without having to spend 4 hours on Google (or Gemini, or Claude, or…you get the idea). Or blowing up a movie theatre.

If you found this interesting, please share.

© Scott S. Nelson
Digging Holes

A Biased Review of an Unbiased Study on Developer Productivity with AI

A long time friend sent me a link to Does AI Actually Boost Developer Productivity? (100k Devs Study). While writing my response, I realized my reaction was a bit more than a chat reply, so I’m sending him a link to this post and hope he forgives me for the delay…

After watching this video of Yegor Denisov-Blanch, my inner critic wants to jump straight to:
He referred to mid-range engineers at the outset, in the context of who Meta said they were cutting. It wasn’t clear if the study participants were  mid-range.That out of the way, I’ve seen similar studies, though this is the best so far, based on number of participants, approach, and level of detail. Those other studies had the boost at 0 or less, and I didn’t trust the data but did recognize the premise. The premise being that AI is a multiplier, and if a developer tends to go down rabbit holes rather than focusing on the business goals, they will go deeper down rabbit the hole and become even less productive.

I think another aspect that is lost in these studies is that it is a paradigm shift, which means even the most experienced are still figuring out how to be productive in their use of AI. Since everyone is finding it so easy, no one admits that it takes some getting used to. That will account for some of the productivity hit.

One aspect Denisov-Blanch spends a good amount of time on where the mass media usually skims or skips entirely, is the difference between greenfield and brownfield projects. The difference is huge, where brownfield productivity gains are much lower. This information is critical to businesses that are planning on reducing their development teams based on published gains, since, for most enterprises, the majority of work is decidedly brownfield.

We also haven’t yet seen the impact of greenfield applications built primarily with GenAI when it comes to long-term maintenance. Yes, we have seen some anecdotal results where they are disastrous, from both a security and CX perspective, but we haven’t seen anything at scale yet. As an architect I am probably biased, but I don’t have much confidence in GenAI to create a reliable and flexible solution for no other reason than most people don’t think to ask for one at the start (except maybe architects😊).

The tools are improving (this based on anecdotal evidence from people who have both a high degree of skill as a developer and demonstrated critical thinking about tools and processes in the past). The people using the tools are becoming more skilled. So the gains in productivity will likely either climb across the board, or those below mid-range may crawl up from the less-than-zero productivity zone.

Meanwhile, anyone looking to cut their developer workforce in the next couple of years should watch this video, draw their own conclusions, and then revise their estimates.

If you found this interesting, please share.

© Scott S. Nelson

Upgrading to Windows 11 for Luddites Like Me

tldr; If you have serious performance issues after upgrading and have tried all the usual tweaks, check the Power Mode settings.

The last Windows upgrade where I felt better for the experience was Windows 2000. Yes, there have been some marked improvements in media capabilities since then (if not, I’d still be on Windows 2000 — except for the security path problem). The only past upgrade I found difficult (excluding disappointment as a challenge) was from 3.1 to 95. That was hard because there were all of these disk changes to do because CD ROMs were still not ubiquitous. So I was bit put off when I experience a huge performance hit after the upgrade from 10 to 11. An upgrade that I only performed because they are ending free security updates in October for Windows 10 (I believe that makes it the shortest lived, in terms of support, ever) and I happened to be between deadlines at the moment. The last thing I wanted was to do the upgrade in the midst of some deliverable date because I expected it to be less than fun.

Expectations met. I spent three days after the upgrade trying to live with it. I knew going in that I needed to fix a lot of the default settings to keep big tech from becoming Big Brother, and had a list prepared before I even started so I could thwart the privacy pirates promptly. My inner Fox Mulder believes that much of the performance degradation of Windows 10 the last few years was meant to urge people like us to upgrade. After, I started to think that it was more a manner of acclimating us to problems to come.

After spending way to much time discussing the problem with Perplexity, and then trying to pretend that I could live with a machine that was 50 generations newer than the one I had in 1996 and yet somehow slower, I decided to work on a hobby project that is running on another machine. Did I mention that all of my Windows devices are laptops? When I booted up the hobby machine, I did so before plugging it in and noticed the usual effects of running on battery mode, with the monitor dimmer and the machine a bit slower. I plugged it in and it perked right up, as did my hind brain. I went back to my recently degraded machine and checked the power settings, and lo and behold, Big Brother decided that I could get by with a reduction in performance even while plugged in.

Windows 11 Power Mode Settings

I’m convinced that it is actually a combination of all of the other changes I made in addition to setting Power Mode to Best Performance when Plugged in. I have to believe that, because the alternative of the wasted time, and Tylenol®, is too much to bear.

Speaking  of too much to bear, writing up all of those steps is also a bit of a chore. However, I used a Space on Perplexity for the whole journey, so I asked it to write a blog post about it in my style. It still does not have my style right, which is partly me, for being to brief in the context and skimpy on the training files, and partly just that AI isn’t human and can’t really get me (most humans have the same problem). So as not to let all of that energy-expensive processing go to waste, I’m sharing it with you below.

And now, a word from our AI:

Why I Upgraded to Windows 11 Early—and How You Can Do It with Privacy and a Classic Windows 2000 Feel

Microsoft is ending free upgrades from Windows 10 to Windows 11 this October. I chose to upgrade now while I had no pressing deadlines so I could handle the transition calmly and set everything up for my privacy-first, vintage Windows 2000 style preference. Here’s a streamlined approach to upgrading that respects your privacy and brings a classic user experience.

Why Upgrade Now?

Waiting to upgrade means potential fees and stress when deadlines loom. Tackling Windows 11 ahead of time lets you customize and troubleshoot without pressure, making the switch smoother.

Step 1: Prepare Your System

  • Full Backup: Use an external drive plus a system image backup. Protect your irreplaceable data and system state.
  • Legacy Software & Drivers: Collect all your essential old-school apps and hardware drivers ahead of time, preferably from manufacturer websites.
  • Create a Recovery Plan: Have Windows 10 installation media ready just in case you want to roll back.

Step 2: Privacy-Centered Installation

  • Use a Local (Offline) Account: Avoid Microsoft’s enforced online sign-ins to maintain privacy.
  • Disable Telemetry and Data Sharing: Go to Settings > Privacy & Security and turn off every form of telemetry, diagnostics, and data collection.
  • Disable or Remove Cortana: Cortana’s integration hampers privacy; uninstall or disable it completely.
  • Block Web-Connected Search: Turn off options that send your search queries online.
  • Limit Microsoft Account Usage: Avoid syncing or using Microsoft accounts wherever possible.

Step 3: Recreate a Windows 2000 Look & Feel

  • Classic Start Menu: Install Open-Shell to bring back the familiar Windows 2000 style Start menu.
  • Taskbar Customizations: Use scripts or apps to move the taskbar to the left, reduce icon spacing, and disable icon grouping.
  • Remove Widgets and News Feeds: Disable or uninstall unnecessary widgets and news to reduce clutter.
  • Restore Classic System Sounds and Icons: Swap in old system sounds and icon sets to enhance the nostalgic experience.

Step 4: Upgrade Process Tips

  • Take Your Time: Don’t rush the prompts; decline any offered “extra” software or cloud features.
  • Monitor Network: Temporarily disconnect from the internet during installation to avoid surprise background downloads or telemetry.
  • Updates on Your Terms: Post-upgrade, disable automatic updates or set them to manual to avoid unwanted changes.

Step 5: Post-Upgrade Privacy and Performance Tuning

  • Verify Privacy Settings: Double-check that all telemetry and data sharing options remain off; Windows sometimes re-enables features after upgrades.
  • Manage Startup Programs: Use Task Manager to disable all non-essential startup apps, speeding boot times and avoiding background tracking.
  • Disable Unnecessary Services: Turn off services that you don’t use or that compromise privacy (e.g., Windows Tips, Feedback Hub).
  • Use Host File Hacks or Firewall Rules: Block known Microsoft telemetry servers for an extra layer of privacy.
  • Schedule Routine Privacy Checks: Set reminders to revisit privacy and UI settings after big Windows updates.

Final Thoughts

Upgrading while you have the bandwidth gives you control and peace of mind before the free upgrade deadline passes. By prioritizing privacy, minimizing modern OS distractions, and returning to a classic interface, Windows 11 can feel more comfortable and secure—closer to the straightforward experience of Windows 2000 but with current OS capabilities.

Don’t wait until October and the pressure mounts. Take charge now, protect your privacy, and make Windows 11 work your way. Your future self will be grateful.

If you found this interesting, please share.

© Scott S. Nelson

Slices of #ITisLikePizza with Perlexity.ai

In early 2022, I had hoped to start a social media thread with the hashtag #ITisLikePizza, but it was clearly a half-baked idea since no one replied to the first four posts:

  • A good cook can make a better pizza with the same ingredients as a bad pizza.
  • All pizzas look good from a distance.
  • If you rush the cook, it will not be as good.
  • You always regret consuming too much too fast, no matter how good it is.

Had any engagement occurred, I was ready with nine more:

  • A great-looking pizza can still not taste good.
  • It’s rarely as good as it sounds in a commercial.
  • When it is as good as the commercial, the next time it isn’t.
  • The best pizzas are often found in small, little-known places.
  • When the small, little-known place gets popular, the quality goes down.
  • Some ugly-looking pizzas are the most satisfying.
  • The hungrier you are, the longer it takes to arrive.
  • If you forget about it in the oven, the result may not be salvageable.
  • If you don’t follow the recipe, your results will vary.

Here we are, three years later, and GenAI being all the rage, it occurred to me that maybe I could extend the list with AI. My cloud-based GenAI of choice is Perplexity, so that’s what I tried it with. I originally stuck with Perplexity because it hallucinated less than other options by default, mostly because it provides sources for its outputs, which I find handy when I rewrite those outputs for my various posts. Had this been a true experiment, I would have run the same prompts in ChatGPT and Copilot, but this is just me avoiding my ever-growing to-do list for a few minutes, so it’s going to be short and anecdotal.

So, my first prompt was ‘Expand on this following list of how “IT is Like Pizza”:’ followed by the original baker’s dozen list I had come up with so far. Instead of adding new pithy pizza ponderings, it gave explanations for each. They were actually really good explanations. And no citations were provided, so this was just the LLM responding. Kind of interesting in itself.

So then I tried the usual lame improvement of the prompt with “Don’t explain the lines. Generate new lines following the same concept.” The result this time was more what I was looking for, though it may just be writers’ ego that made me think they all need some improvement, except those that could just be tossed.

Then I did something I learned somewhere (I subscribe to half-a-dozen AI-specific newsletters, another dozen that cover AI frequently, plus follow a slew of companies and people on LinkedIn—not to mention that YouTube’s algorithm had caught on to my interest—so I can rarely attribute a particular concept because I either heard it multiple times or I forgot to include the attribution when making a note to cogitate on it more later): I asked Perplexity what the literary term was for the original dirty dozen dictums and it told me “analogical aphorisms” (actually, it told me more than that, but I cling to alliteration the way the one topping you don’t like on the family pizza does).

Armed with my fancy new GenAI-generated term, I demanded (in several of those newsletters and videos I have heard that asking with ‘please’ is just a waste of tokens…which I mostly agree with unless you think the best sources are places like Reddit, but more on that another time): “Create ten more analogical aphorisms with the same them of IT is like Pizza”.  It’s like more sunk-cost-fallacy than truth that this list seemed much more on target, though some were definite deletes, and some clearly needed editing, and…yeah,  it was definitely a case of time commitment bias.

For the curious, the full thread with all the responses can be found here for however long the link is good for (I expect only slightly longer than my Pro subscription):

https://www.perplexity.ai/search/expand-on-this-following-list-UdB7O3KzSxCkl.WTIKBy4A

Interesting side note: I find I sometimes have to remind Perplexity to follow the context instructions for a Space.

Interesting side note about that side note: I have to specify “Perplexity Space” or it will do all sorts of random stuff that has nothing to do with Perplexity Spaces.

One more interesting side note: The most annoying thing that Perplexity does is anticipate punctuation errors. I use it to check my spelling, grammar, and punctuation because I got tired of finding the mistakes after posting. Here is one of the suggestions (similar ones are common):

  • Add a comma after “Here we are, three years later”
    Original: Here we are, three years later, and GenAI being all the rage, it occurred to me…
    Correction: Here we are, three years later, and with GenAI being all the rage, it occurred to me…

OK, one more side note and that’s it: It’s interesting that Perplexity (and other GenAIs) will properly understand a mis-spelled prompt and not point it out, but in spell-checking content it does point it out, as in:

  • Change “theme” not “them”
    Original: …with the same them of IT is like Pizza…
    Correction: …with the same theme of IT is like Pizza…

Sorry, can’t resist: The side notes (originally spelled ‘side-note’) were written while editing, and when I ran them through the “Check the following for spelling, grammar, and punctuation…” prompt, it wanted to correct its own spelling, as in:

  1. In “as in: Change ‘theme’ not ‘them’,” add a comma after “theme” so it reads:
    • Correction: Change “theme,” not “them”
If you found this interesting, please share.

© Scott S. Nelson