1
Vote

Cannot find path 'HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node

description

The server does doesn’t have x86 support installed. I hope I'm not too far off with my assumption:
 
When navigating and clicking Add and Remove Progams -> Remove Progams Button
 
Get-ChildItem : Cannot find path 'HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Micro
soft\Windows\CurrentVersion\Uninstall' because it does not exist.
At D:\Programs.ps1:363 char:26
  • $RootKey = Get-ChildItem <<<< HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windo
    ws\CurrentVersion\Uninstall
    • CategoryInfo : ObjectNotFound: (HKEY_LOCAL_MACH...rsion\Uninsta
      ll:String) [Get-ChildItem], ItemNotFoundException
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetCh
      ildItemCommand
       
      You cannot call a method on a null-valued expression.
      At D:\Programs.ps1:366 char:30
  • $DName = $Childkey.getvalue <<<< ("DisplayName")
    • CategoryInfo : InvalidOperation: (getvalue:String) [], RuntimeE
      xception
    • FullyQualifiedErrorId : InvokeMethodOnNull
       
      Exception calling "Add" with "1" argument(s): "Value cannot be null.
      Parameter name: item"
      At D:\Programs.ps1:367 char:28
  • $lstboxPrograms.items.Add <<<< ($DName)
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : DotNetMethodException

comments