Registry Hacks
Master the Windows Registry from the command line.
Start Interactive LessonThe Windows Registry is a hierarchical database that stores configuration settings for the operating system, applications, and hardware. With the REG command, you can query, add, modify, and delete registry keys and values directly from the command line — a critical skill for system administrators and power users.
Which REG subcommand would you use to inspect a key?
Querying the Registry
The REG QUERY command lets you inspect any registry key. This is especially useful for checking installed software, system configuration, or environment variables.
Adding Registry Values
Use REG ADD to create or modify registry values. Always be careful when modifying the registry, as incorrect changes can affect system stability.
Knowledge Check
1 / 2Which command reads a registry key's values?
References
These documentation links provide authoritative details for the commands used in this article.