This project is read-only.
1
Vote

Unable to find non-Wow6432Node Uninstall Keys

description

When searching for Windows Uninstall Keys/Values Under the LocalMachine Hive, I am unable to reach keys which are located under SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall.

For example Adobe Acrobat XI Pro would be located under: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{AC76BA86-1033-FFFF-7760-000000000006}

Get-RegValue -ComputerName EDM-RCHEN-7 -Hive LocalMachine -Key "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{7299052b-02a4-4627-81f2-1818da5d550d}" -Value DisplayName

Will return a result like:

Get-RegValue : Key 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{7299052b-02a4-4627-81f2-1818da5d550d}'
doesn't exist.
At line:1 char:1
  • Get-RegValue -ComputerName EDM-RCHEN-7 -Hive LocalMachine -Key "SOFTWARE\Microso ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RegValue
However, if searching for a Key under SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ results are returned as expected.

I know this project has not been updated in a long time but I'm hoping someone else has run into this and may have some sort of work-around for it.

comments

TravisOwen wrote May 28, 2015 at 7:05 PM

Sorry for the noise on this. The workaround in this case is to use the x86 version of Powershell instead of the x64 version.