Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Registry ► ««« »»»

🧠 Basic Windows Registry FAQ – Everything you need to know!


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?
2. How do I open the Registry? (FAQ #1)
3. Backup & Restore of the Registry (FAQ #1)
4. Basic Registry Structure
5. Registry Value Types – Briefly Explained
6. Show/Hide Hidden & System Files via Script (FAQ #15)
7. Customize the Windows 11 Taskbar – Size & More (FAQ #14)
8. Disable Reserved Memory (FAQ #13)
9. WordPad Settings in the Registry (FAQ #12)
10. Enable Dark Mode for Windows 10, 11 & 12 (FAQ #11)
11. Which Registry Settings Are Currently Being Changed? (FAQ #10)
12. Add "Always open with Notepad" to the context menu (FAQ #9)
13. Remove the path length limit (260 characters) (FAQ #8)
14. Add "Move to" / "Copy to" to the context menu (FAQ #7)
15. Write protection for external USB drives (FAQ #6)
16. Save & load registry favorites (FAQ #5)
17. Environment variables in the registry (FAQ #4)
18. Completely disable airplane mode (FAQ #3)
19. Desktop context menu for Windows security settings (FAQ #2)
20. Open, edit, back up, and restore the registry (FAQ #1)
21. Common pitfalls
22. Useful registry tools
23. Bonus: Create your own registry tweaks
24. Registry and security
25. Conclusion – Best practices








1.) What is the Windows Registry?



The registry is a central, hierarchical database where Windows and almost all programs store configurations, user settings, hardware information, and operating system options. Every change to the Control Panel, folder settings, or installed software often ends up directly or indirectly in the registry.

You can think of it as the nervous system of Windows – without a functioning registry, the system won't start correctly.







2.) How do I open the Registry? (FAQ #1)




Press `Win + R`, type `regedit`, and press Enter. If you have administrator privileges, Windows will ask for confirmation (UAC).

Important: Only modify keys whose purpose you understand. An incorrect entry can make Windows unstable or cripple programs. Create a backup
before any major changes .







3.) Registry Backup & Recovery (FAQ #1)




Here's how to create a backup:

1. Open `regedit`.
2. Click on `File > Export`
at the top. 3. Select "Everything" or a specific folder (e.g., `HKEY_CURRENT_USER`).
4. Save as a `.reg` file.

To restore:
Double-click the `.reg` file and select "Yes." Done. Or use `File > Import`.

> Tip: Windows automatically creates system restore points – these also back up the registry.







4.) Basic Registry Structure




There are five main branches (root keys):

KeyMeaning
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




problemSolution
"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 Windows
Registry

Show or hide hidden and system files via script on Windows 10, 11, ect.?


Here are the scripts to conveniently show or hide hidden and system files without having to manually navigate through the folder options Contents: 1.
Registry

Open, edit, backup and restore registry!  


Experimenting with the settings in the Windows 11, 10, etc. registry makes sense, but a backup in order to be able to restore it is also useful Editing
Registry

Add desktop context menu for Windows security settings!


Add security in the desktop context menu under Windows 11, 10, etc. to enable faster access to the security settings under MS Windows OS 1. Security
Registry

Disabling Airplane Mode Completely on Windows?


If you dont need the flight mode, you can simply deactivate it completely with a small registry intervention, the airplane mode under Windows is permanently
Registry

Environment variables in the Windows 11, 10, ... Registry!


You can easily find, edit or delete the environment variables in the Windows 11, 10, registry Everyone probably knows ►  What the environment variables 
Registry

Save and load registry favorites on Windows!


Saving or transferring preferred registration keys or favorites to another MS Windows Desktop PC or MS Windows Server is very popular 1. Saving the
Registry

Registry entry for write protection on external USB drives!


The registry hack to disable writing to USB drives is very popular to prevent unauthorized people from copying  data to the stick 1. Registry entry

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: registry, basic, windows, everything, need, know, here, with, detailed, explanations, based, user, questions, your, list, generally, understandable, expanded, beginners, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + RAMagic
  + DesktopDigitalClock
  + Find Same Images
  + Print Folder Tree


  + Freeware
  + FlyOutNotePad
  + FreeCellOK
  + MagicMouseMove
  + SmartTextCrypter
  + MineSweeperOK
  + SolitaireOK
  + ProcessKO
  + ThisIsMyFile
  + Bitte.Wenden
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2026 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
46.218 msec.


>> ☕ Buy SoftwareOK a Coffee ☕ <<



► Adjustments of the digital desktop CLOCK on Windows 11, 10, ...! ◄
► Customize folder Columns / Save in Quad Explorer on Windows 10, 8.1, ...! ◄
► Tabs in Edge are suddenly on the left and not at the top! ◄
► All subfolders in Explorer show shortcut directory tree! ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....