Windows registry

From taracodlabs/aiden · View interactive version

Windows registry is an AI agent skill from the GitHub repository taracodlabs/aiden. Read, write, query Windows Registry via PowerShell provider

How to use this skill

Skill file

Windows Registry

Read and write Windows Registry keys and values using PowerShell's built-in Registry provider — inspect startup entries, app settings, and system configuration without regedit.

When to Use

How to Use

Read a single registry value

Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer" `
  -Name "ShellState"

List all values under a key

Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion"

Check startup programs (current user and all users)

# Current user only
Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run"
# All users (machine-wide)
Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"

Create a new registry key

New-Item -Path "HKCU:\Software\Aiden" -Force

Set a registry value (string)

Set-ItemProperty -Path "HKCU:\Software\Aiden" -Name "Version" -Value "3.5.0" -Type String

Set a registry value (DWORD)

Set-ItemProperty -Path "HKCU:\Software\Aiden" -Name "Enabled" -Value 1 -Type DWord

Delete a registry value

Remove-ItemProperty -Path "HKCU:\Software\Aiden" -Name "OldSetting"

Delete a registry key and all subkeys

Remove-Item -Path "HKCU:\Software\Aiden" -Recurse -Force

Search registry for a value name

Get-ChildItem -Path "HKLM:\SOFTWARE" -Recurse -ErrorAction SilentlyContinue |
  Where-Object { $_.Property -contains "DisplayName" } |
  Get-ItemProperty |
  Select-Object DisplayName, DisplayVersion, Publisher |
  Sort-Object DisplayName

List installed software

Get-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*" |
  Select-Object DisplayName, DisplayVersion, Publisher, InstallDate |
  Where-Object DisplayName |
  Sort-Object DisplayName

Examples

"What programs launch at startup for my user?"

→ Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" — each value name is an entry, value data is the command.

"List all installed software with version numbers"

→ Query both HKLM and HKCU Uninstall keys and merge results.

"Add a registry entry to run a script at login"

→ Set-ItemProperty -Path "HKCU:\...\Run" -Name "MyScript" -Value "powershell.exe -File C:\scripts\login.ps1"

Cautions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.