ModS
ModS

Reputation: 836

What is Windows Registry?

So, I was researching The registry yesterday in conjunction to learning about powershell, I am being led to believe the following fact: The registry is like a memory card for your settings, Your program settings (just about any program) are stored into the registry, and you can CREATE new records that will basically persist the settings of your home made softward, is this correct or have i mistaken

Upvotes: 0

Views: 1407

Answers (1)

cHao
cHao

Reputation: 86496

The registry is basically a tree-style database for settings, much the same as a file system is for files. It's no accident that registry key names look a lot like file paths; the same mechanisms play a role in both.

Windows systems use the registry for just about everything at one time or another. Nearly every system setting has a place in there. For example, when you you double-click a .txt file, the registry is what tells it "use Notepad to view this type of file".

And yes, you could store your own values in the registry, and many apps do just that. What the settings do, and whether they'll be per-user settings or machine-wide, depends on where you put them. There are specific keys reserved for application settings, and if you want to store values without causing wackiness on your user's machine, you'll stick to those locations.

Upvotes: 5

Related Questions