VerMishelb's stash

Home page

Tips & tricks

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.

Registry values


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

    

Alt codes

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

The computer can't go to sleep, wakes up on a whim

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.

Linux

Discord update script for Debian

Arch has automatic Discord updates but Debian doesn't, for some reason. Therefore I use this small script to update it every time this annoying "Download .deb" screen pops up. Stackoverflow says it's a bad way of doing this but it also never says why, so until this is disclosed I guess we're fine. You can't run this script by double-clicking it, but you can run it from the terminal just fine.

#! /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