Skip to content
Skillv1.0.0

windows-registry

Read, write, query Windows Registry via PowerShell provider

by gabrielmoreira(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from gabrielmoreira/agent-skills-mirror (mirrors/repos/taracodlabs@aiden/skills/windows-registry/SKILL.md). Install upstream with npx skills add gabrielmoreira/agent-skills-mirror --skill windows-registry. Copyright stays with the author (Apache-2.0).

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

  • User wants to read a registry value (e.g., installed software, startup entries)
  • User asks to create or modify a registry key or value
  • User wants to list all values under a registry path
  • User needs to check what programs run at Windows startup
  • User asks to remove a registry value or key

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

  • Modifying HKLM keys requires an elevated session (UAC dialog) — HKCU keys do not
  • Always read a key before modifying it to understand the current state
  • Deleting registry keys is permanent — there is no Recycle Bin for registry changes
  • Back up a key before editing: reg export "HKCU\Software\Aiden" C:\backup\aiden-backup.reg
  • Registry paths in PowerShell use \ as separator (not /) and hive aliases like HKCU: and HKLM:

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/gabrielmoreira-agent-skills-mirror-windows-registry/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

gabrielmoreira-agent-skills-mirror-windows-registry.ocm.jsonjson
{
  "ocm": "1",
  "id": "gabrielmoreira-agent-skills-mirror-windows-registry",
  "kind": "skill",
  "name": "windows-registry",
  "description": "Read, write, query Windows Registry via PowerShell provider",
  "publisher": "gabrielmoreira",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "data_analysis"
    ],
    "tags": [
      "skill-md",
      "registry",
      "regedit",
      "windows",
      "powershell",
      "hklm",
      "hkcu",
      "settings",
      "config",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Read, write, query Windows Registry via PowerShell provider"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/gabrielmoreira/agent-skills-mirror",
      "path": "mirrors/repos/taracodlabs@aiden/skills/windows-registry/SKILL.md",
      "ref": "d5c793801e2fc9c29aa3531805809b3460b19d09",
      "url": "https://github.com/gabrielmoreira/agent-skills-mirror/blob/d5c793801e2fc9c29aa3531805809b3460b19d09/mirrors/repos/taracodlabs@aiden/skills/windows-registry/SKILL.md",
      "key": "gabrielmoreira/agent-skills-mirror/mirrors/repos/taracodlabs@aiden/skills/windows-registry/SKILL.md"
    },
    "license": "Apache-2.0"
  },
  "instructions": "# Windows Registry\n\nRead and write Windows Registry keys and values using PowerShell's built-in Registry provider — inspect startup entries, app settings, and system configuration without regedit.\n\n## When to Use\n\n- User wants to read a registry value (e.g., installed software, startup entries)\n- User asks to create or modify a registry key or value\n- User wants to list all values under a registry path\n- User needs to check what programs run at Windows startup\n- User asks to remove a registry value or key\n\n## How to Use\n\n### Read a single registry value\n```powershell\nGet-ItemPropertyValue -Pat",
  "cost": {
    "context_tokens": 795
  }
}

Fetch it by URL: GET /api/v1/registry/gabrielmoreira-agent-skills-mirror-windows-registry/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.