This is a collection of tips, tricks and other PC-related stuff that I have collected over the years of using Windows versions 7 through 11. Some of it used to be in a text file I had on my local drive but this drive is long gone. This time I am storing this online so it doesn't disappear into the void.
Windows Registry Editor Version 5.00
;Turn off automatic folder mode adjustment thing to speed the explorer up
[-HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]
[-HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]
[HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="NotSpecified"
;Local account creation in Windows 11. Use Shift-F10 to open CMD on OOBE screen and call 'regedit' there. If the CMD doesn't show up, kill Secure Boot and try again.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE]
"BypassNRO"=dword:00000001
;Treat the BIOS time as UTC instead of local time. Helps if there's a Linux installation as an extra system and the clock breaks on both systems after every switch.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
These mostly work on any keyboard layout, but some might be depending on it.
—; – | 0151; 0150 | Em dash; En dash
↑↓→← | 24 25 26 27
™; © | 0153; 0169
| 0160/255 | non-breaking space
accent mark | 769 [doesn't work everywhere, and in word there's 0301 → Alt-X combo that is more universal]
█ | 987
• | 0149
° | 0176 eng | Degree sign
±²³ | 0177-0179
§; ¶ | 0167/21; 0182 | Paragraph sign, carret return
· | 0183
Go to your power management settings, the ones from Windows Vista (use Win-R and type "control" to bring up the old control panel) and modify your active power plan to disable "wake-up on event timers" or some option of that kind. Optionally, you can turn off "Wake-on-LAN" and "Wake on magic packet" to prevent the wake-ups from the network adapter. Do this through the adapter options in the device manager.
There are two types of cache — IconCache and ThumbCache. The former is for regular icons, like apps and folders. The latter is for previews for videos, images and so on. Usually it's the former one that is broken. Put the following into a .bat file and execute it as administrator.
taskkill /f /im explorer.exe
cd /d %localappdata%\Microsoft\Windows\Explorer
rem This command removes (-) the "Hidden" attribute (h) of the file.
attrib -h iconcache_*.db
del /f IconCache*
rem Remove "rem" from the following if you want to reset image previews as well.
rem del /f ThumbCache*
cd /d %localappdata%
attrib -h IconCache.db
del /f IconCache.db
start explorer.exe
Use this epic thing. The instructions are simple enough, but in case they are gone somehow, just call a regsvr32 on it as Admin.
#! /usr/bin/bash
discord_url="https://discord.com/api/download/stable?platform=linux&format=deb"
curl -L -o /tmp/discord.deb $discord_url
sudo apt install /tmp/discord.deb