# The Registry as a Drive

The registry is where Windows and its apps keep their settings, and PowerShell shows it as two drives, HKCU: for your own settings and HKLM: for the whole computer, where Get-ChildItem lists keys like folders and Get-ItemProperty reads their values; before changing one, rehearse with -WhatIf and back up the key with reg export.

![Cheat sheet for the lesson The Registry as a Drive: The registry is where Windows and its apps keep their settings, and PowerShell shows it as two drives, HKCU: for your own settings and HKLM: for the whole computer, where Get-ChildItem lists keys like folders and Get-ItemProperty reads their…](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/a67d44137ecf48ffb889ef64044477c5.webp)

- Category: PowerShell
- Level: Freelancer
- Tags: get-itemproperty, operating-system, powershell, provider-and-drive, registry-key, whatif-and-confirm, windows-registry
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/powershell-registry-cheat-sheet
