err0r.net
<my little piece of the internet/>
Archive January 2026
Using Winget to Update Apps on Windows 11
The sane way to keep your system up to date
If you’re running Windows 11 and still manually updating every app one by one, you’re doing it the hard way. Microsoft quietly solved a big part of this problem with winget, the Windows Package Manager. It’s built into modern Windows, it’s fast, and once you get used to it, you’ll wonder why you ever trusted a dozen auto-updaters running in the background.
I use winget regularly, especially on dev machines and clean installs. It is not perfect, but it is absolutely worth using.
Let’s break down what it is, how to use it, and the real pros and cons.
What is winget?
Winget is Microsoft’s official command-line package manager for...
Instantly Sleep Your Monitors With a One-Click BAT File (Windows 11)
Want a quick way to turn off your monitors immediately, without putting your PC to sleep? This tiny batch file does exactly that. Your screens will go dark instantly and wake back up the moment you move the mouse or hit a key.
What this does
This script sends Windows the “turn off display” command. It does not:
shut down your PC
hibernate
close apps
stop downloads, streams, or music
It only puts your display(s) to sleep until you interact again.
Step 1: Create the batch file
Open Notepad
Paste this code:
@echo off
powershell -command "(Add-Type '[DllImport(\"user32.dll\")] public static extern int SendMessage(int hWnd, int hMsg, int wParam, int...