Here is a basic registry FAQ with detailed explanations – based on the user questions on your list, but generally understandable and expanded for beginners and advanced users.1. What is the Windows Registry?
|
| Key | Meaning |
|---|---|
HKEY_CLASSES_ROOT |
File types, shortcuts, context menus |
HKEY_CURRENT_USER |
Settings of the currently logged-in user |
HKEY_LOCAL_MACHINE |
System-wide settings (hardware, drivers, software) |
HKEY_USERS |
All user profiles on the PC |
HKEY_CURRENT_CONFIG |
Active hardware configuration |
Each key contains subkeys and values ??(strings, numbers, binary data).
5.) Registry value types – briefly explained
- `REG_SZ` – Text string
- `REG_DWORD` – 32-bit number (often for on/off, 0 or 1)
- `REG_QWORD` – 64-bit number
- `REG_BINARY` – Binary data
- `REG_MULTI_SZ` – Multiple lines of text
- `REG_EXPAND_SZ` – Text with variables such as `%SystemRoot%`
6.) Show/hide hidden & system files via script (FAQ #15)
You can control this via the registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
- `Hidden` = 1 ? Show hidden files, 0 ? Hide them
- `ShowSuperHidden` = 1 ? Show system-protected files, 0 ? Hide them
Via script (PowerShell):
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "Hidden" -Value 1 Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "ShowSuperHidden" -Value 1
After making changes: Restart Explorer (e.g., via Task Manager).
7.) Customizing the Windows 11 taskbar – size & more (FAQ #14)
In Windows 11, the taskbar is severely limited, but some registry tricks work:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
- `TaskbarSi` ? 0 = small, 1 = medium (default), 2 = large
Additionally for taskbar alignment (center left):
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced - `TaskbarAl`? 0 = left, 1 = centered
Explorer restart required.
8.) Disable reserved storage (FAQ #13)
Since version 10, Windows reserves approximately 7 GB for updates and temporary files. Here's how to disable it:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager
- Change `ShippedWithReserves` from 1 to 0
- Set `BaseHardReserveSize` to 0.
Caution: After a major feature update, the reserved memory may be reactivated.
9.) WordPad settings in the registry (FAQ #12)
WordPad stores its settings in:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad
There you will find, for example:
- `Options` – View mode, ruler, status bar
- `Recent File List` – Recently opened documents.
WordPad will disappear from Windows in the future, but the registry entries often remain.
10.) How to enable Dark Mode for Windows 10, 11 & 12 (FAQ #11)
For apps (UWP, settings, store):
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize - `AppsUseLightTheme`= 0
For the classic Explorer window (shaky, but possible):
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize - `SystemUsesLightTheme`= 0
Note regarding "Windows 12" – the system is not officially available yet, but the registry paths mostly remain compatible.
11.) Which registry settings are currently being changed? (FAQ #10)
Tool tip: Process Monitor (from Microsoft Sysinternals) can log live which processes are reading or writing which registry keys.
Alternative – PowerShell:
Get Process | ForEach Object{ $_. Modules}
This only shows loaded modules, not detailed registry accesses. Better to use `regmon` (old) or ProcMon.
12.) Add “Always open with Notepad” to the context menu (FAQ #9)
Create a new key:
HKEY_CLASSES_ROOT\*\shell\OpenWithNotepad\command
Set the (default) value to:
notepad.exe " % 1 "?
Now, for every file (including .exe, .dll, .reg), the entry "OpenWithNotepad" appears – perfect for quickly checking text content.
13.) Remove path length limit (260 characters) (FAQ #8)
Windows has an old limit of MAX_PATH = 260 characters. To remove it:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem - `LongPathsEnabled`= 1 ( DWORD)
For this to work, the group policy or `gpedit.msc` setting "Enable Win32 long paths" must be enabled. Then restart.
> Works from Windows 10 version 1607 onwards.
14.) “Move to” / “Copy to” in the context menu (FAQ #7)
Create:
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To
-( default) = { C2FBB630-2971 -11D1 -A18C-00C04FD75D13}
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To
-( default) = { C2FBB631-2971 -11D1 -A18C-00C04FD75D13}
After that, two new entries appear in the context menu of all files and folders.
15.) Write protection for external USB drives (FAQ #6)
To prevent data from being written to USB sticks:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies - `WriteProtect`= 1 ( DWORD)
If the key doesn't exist, simply create it. With `WriteProtect = 1`, all USB mass storage devices are write-protected (except those already mounted). The change takes effect after a restart or reconnecting the device.
16.) Saving & Loading Registry Favorites (FAQ #5)
`regedit` doesn't have an official favorites system, but you can:
- Collect frequently used paths in a `.txt` or `.reg` file
- You can't jump directly to a path using `regedit.exe "path"`, but you can insert it via the address bar
- Third-party tool: Registry Finder (free) with bookmark function
. Homemade workaround:
Windows Registry Editor Version 5.00
[ HKEY_CURRENT_USER\Software\MyRegFavs]
"Favorite1"= "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"
"Favorite2"= "HKEY_CURRENT_USER\\Control Panel\\Desktop"
No direct jump, but a structured collection.
17.) Environment variables in the registry (FAQ #4)
Environment variables (such as `%PATH%`, `%TEMP%`) are located in two places:
System variables (for all users):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
User variables :
HKEY_CURRENT_USER\Environment
After making changes, a new command prompt often needs to be opened – or `reg add` should be executed with `/f`.
The `%PATH%` should always combine the system-wide and user-specific versions. Do not simply overwrite it!
18.) Completely disable airplane mode (FAQ #3)
Especially useful for desktops without wireless modules:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\RadioManagement\SystemRadioState
Here you can fix the value to 0, but sometimes that's not enough. Alternative path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\LocationAndSensors - `DisableRadio`= 1 ( DWORD)
This deactivates all radio management (WLAN, Bluetooth, mobile networks) – airplane mode is then effectively dead.
19.) Desktop context menu for Windows security settings (FAQ #2)
Create:
HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsSecurity
-( Standard) = "Windows Security"
- `Icon`= “%ProgramFiles% \Windows Security\MSASCui.exe”
HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsSecurity\command
-( default) = “start windowsdefender:”
Now you can right-click on the desktop and select "Open Windows Security".
20.) Opening, editing, backing up and restoring the registry (FAQ #1)
In summary:
- Open: `regedit`
- Edit: Right-click on value? Change
- Backup: File? Export
- Restore: Double-click on `.reg` or Import
- Complete reset (not recommended): Reinstall Windows
Additional tip: Use `regedit /e backup.reg` on the command line.
21.) Common pitfalls
| problem | Solution |
|---|---|
| "Error editing the registration" | No administrator rights? Run regedit as administrator. |
| Changes disappear after restart | Key is overwritten by group policy |
| Windows no longer starts | Accessing the recovery menu via Windows USB? Restoring the registry from a backup |
| The .reg file cannot be imported. | Check if the file Windows Registry Editor Version 5.00starts with and if the paths are correct. |
22.) Useful Registry Tools
- RegEdit (integrated)
- RegShot – Compares registry snapshots (before/after)
- Autoruns – Shows all autostart registry entries
- RegCool – Advanced editor with multilevel undo
- PowerShell – `Get-ItemProperty`, `Set-ItemProperty`, `New-Item`
23.) Bonus: Create your own registry tweaks
Example: Removing a "3D object" in Explorer (Windows 10/11)
Create a `.reg` file:
Windows Registry Editor Version 5.00
[ -HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{ 0DB7E03F-FC29-4DC6- 9020 -FF41B59E513A}]
The minus sign deletes the entire key.
24.) Registry and Security
Malicious software often sets registry keys for autostart, browser hijacking, or disabling Defender.
Check regularly:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- With `Sysinternals Autoruns` you can see even more hidden areas.
25.) Conclusion – Best Practices
Always back up your system before making registry changes
. Only apply individual, well-documented tweaks
. Note down the changed keys
. If unsure, create a system restore point
. Avoid using registry cleaners – they usually do more harm than good.
Do you want a specific registry entry from your list explained in more detail?
Just tell me the number (e.g., "more about #6"), and I'll write you an in-depth guide with background information.
FAQ 16: Updated on: 1 May 2026 19:12
