The following error message appears when manually upgrading or uninstalling the Secure Storage Agent:
.png)
NOTE: The folder beneath the Installer directory may have a randomly assigned name.
The issue occurs due to a missing registry key: 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine'. In some cases, access to this key may be denied.
SOLUTION 1:
Using the Registry Editor, manually create the following String registry entry:
HKLM\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine\ApplicationBase
Assign its value to the full path of the default PowerShell installation directory where the "Profile.ps1" file should be located:
C:\Windows\System32\WindowsPowerShell\v1.0\
Note: In some environments, you may find the "Profile.ps1" file located in the "C:\Windows\System32\WindowsPowerShell\v1.0\Examples" path instead. You can either copy it to the location above or use this location instead.
Disclaimer: Quest does not provide support for problems that arise from improper modification of the registry. The Windows registry contains information critical to your computer and applications. Make sure you back up the registry before modifying it. For more information on the Windows Registry Editor and how to back up and restore it, refer to the Microsoft website.
SOLUTION 2:
Instead of doing an inplace upgrade, attempt to first uninstall/remove the existing version of the Secure Storage Agent by using the installer used before to install the existing version, before installing the new version using the new Secure Storage Agent installer.