tips
33 tips Windows
One command, setting or habit at a time about Windows: what it does, the line to copy and a caveat or two.
Windows 31
-
A keyboard shortcut that toggles the color filter you picked in Windows settings.
Win+Ctrl+C -
Send the active window to the monitor on the left or right without touching the mouse.
Win+Shift+Left arrow -
Create a desktop, switch between desktops and rename them from the keyboard.
Win+Ctrl+Left arrow -
Two Print Screen combinations: the active window to the clipboard, or the whole screen to a file.
Alt+PrtScn -
A shortcut that switches the high contrast theme on and off in Windows.
Left Alt + Left Shift + Print Screen -
Lists installed Windows hotfixes, or checks for one specific KB number.
Get-HotFix -
Set a delayed shutdown for Windows and cancel it if you change your mind.
shutdown /s /t 3600 /c "Backup should be done by now" -
See which sleep and hibernate modes the machine offers and why others don't.
powercfg /a -
Fetch an app's installer to a folder for later or another PC.
winget download --id Microsoft.PowerToys -
Create an HTML report of recent Wi-Fi sessions, errors and disconnect reasons.
netsh wlan show wlanreport -
Run a downloaded PowerShell script you checked, without loosening the execution policy.
Get-Item * -Stream Zone.Identifier -ErrorAction SilentlyContinue -
Find the PowerShell scope whose policy wins, before changing anything.
Get-ExecutionPolicy -List -
Check encryption state, progress and key protectors for every drive.
manage-bde -status -
Save a whole WSL distribution to a tar file you can import again.
wsl --terminate Ubuntu -
Avoid the alias that turns curl into Invoke-WebRequest and breaks copied commands.
curl.exe -I https://example.com -
Shows the last lines of a file and keeps printing new ones as they are written.
Get-Content -Path C:\Logs\app.log -Tail 20 -Wait -
Lists the programs and drivers that stop Windows from sleeping or turning off the display.
powercfg /requests -
Restarts Windows into the recovery menu or the firmware settings without key mashing.
shutdown /r /o /t 0 -
Scans an NTFS drive for errors online, without locking it or restarting first.
chkdsk C: /scan -
Shows the services a Windows service depends on, and which services depend on it.
Get-Service WinRM -RequiredServices -
Saves the permissions of a folder tree to a file, so you can restore them after a mistake.
icacls D:\Share\* /save D:\acl-backup.txt /t -
Keeps a single app out of winget upgrade --all, or holds it at a version range you pick.
winget pin add --id Microsoft.PowerToys -
Repairs the Windows component store, so sfc has good copies to fix system files with.
sfc /scannow -
Pulls only recent critical and error events from a Windows log, without opening Event Viewer.
Get-WinEvent -FilterHashtable @{LogName='System'; Level=1,2; StartTime=(Get-Date).AddDays(-1)} -
Calculates the SHA256 checksum of a file in PowerShell so you can compare it.
Get-FileHash .\ubuntu.iso -
Scans protected system files and replaces damaged ones with a cached good copy, from an admin prompt.
sfc /scannow -
Shows detailed configuration of the computer and its operating system in a Command Prompt window.
systeminfo -
Lists the IPv4 or IPv6 addresses configured on each network interface of a Windows PC.
Get-NetIPAddress -AddressFamily IPv4 | Format-Table InterfaceAlias, IPAddress, PrefixLength -
Opens a panel with emoji and symbols that you can search while you are typing in any app.
-
Resets the Windows graphics driver with one key combination, which can wake a frozen or black screen.
-
Shows the last things you copied, so you can paste an older one instead of copying it again.
System 2
-
Tells you where the VirtIO drivers ISO goes so Unraid's Windows VM form can attach it.
/mnt/user/isos/virtio-win.iso -
Give an existing Windows 10 VM the virtual TPM that Windows 11 needs.
BIOS: OVMF -> OVMF-TPM
Nothing in this filter yet.