Find Installed AI Apps on Windows
Searches machine and user uninstall keys for AI apps such as ChatGPT, Claude, Copilot, Cursor, Perplexity, Ollama and LM Studio. A first step for a Shadow AI inventory.
- Windows18
- macOS5
- Linux5
- Network3
- Disk and storage4
- Inventory4
- Security9
- Updates4
- Maintenance4
Script
$pattern = 'ChatGPT|Claude|Copilot|Cursor|Perplexity|Ollama|LM Studio|Gemini|DeepSeek|Windsurf'
$keys = @(
'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
)
# Per-user installs live in each loaded user hive
Get-ChildItem 'Registry::HKEY_USERS' -ErrorAction SilentlyContinue | ForEach-Object {
$keys += "Registry::$($_.Name)\Software\Microsoft\Windows\CurrentVersion\Uninstall\*"
}
$found = Get-ItemProperty $keys -ErrorAction SilentlyContinue |
Where-Object { $_.DisplayName -match $pattern } |
Select-Object DisplayName, DisplayVersion, Publisher -Unique
if ($found) { $found | Format-Table -AutoSize | Out-String -Width 250 } else { Write-Output 'No known AI apps found.' }Run it on every device with Moftgate
- 01
Add the script
In the Moftgate console, open Scripts > New script and paste the code.
- 02
Select the OS
Select Windows as the target operating system.
- 03
Test it
Run it on one test device first and read the output.
- 04
Roll out
Send it to all targets by group, profile or tag. Each device result is recorded separately.
These may help too
List Installed Software on Windows
Lists installed programs with name, version and publisher from the 64-bit and 32-bit uninstall keys. It does not use Win32_Product, which can trigger MSI repairs.
Windows · PowerShellWindows System Information Summary
Returns computer name, manufacturer, model, serial number, OS version, CPU and RAM in one output.
Windows · PowerShellClear the DNS Cache on Windows
Empties the DNS client cache. Use it when a site resolves to the wrong IP or a DNS record has just changed.
Manage scripts from one console
Target selection, a confirmation step, per-device output and an audit log. The first 200 endpoints are free for a year.