Fix registry could not set security and Error 1402.Could not open key

I had to install Adobe CS4 and practically spent the whole day dealing with "Error 1402.Could not open key". I found the error in the Program Files/Common Files/Adobe/Installers in a zipped log file using a text editor to view. At the bottom of the file was the error 1402. Some registry keys could not be accessed.



I sought to use the registry editor (regedit) to locate the keys and elevate the permission https://goo.gl/qhf1bm but it was unsuccessful. For some strange reason, my administrative user did not seem to have the right permission to modify the permission on the keys in question. There was always an "access denied" error.

Finally I chanced on a post that talks about a System Internals Tool called PSExec which can edit the registry with system user privileges. I downloaded this tool collection known as PSTOOLS

Since it is a collection of command line tools and to make things easier, I searched for a GUI (graphical user interface) for PSTools which I found here so that I can execute PSExec without opening a command prompt or typing commands into a terminal window. 

How to Use


  1. I extracted PSTools into a folder and extracted the FePsTools gui utility into the same folder.
  2. I ran the fepstools as administrator by right-clicking and selecting "run as Administrator".
  3. Next I entered "regedit" in the "Program" field and clicked on execute




This opens registry editor as administrator.

Use "Edit", "Find" to locate the key in the log file you seek to edit by pasting and searching for the key.
Once found, rightclick and modify the permission as suggested here https://goo.gl/qhf1bm

My installation went on smoothly after I was able to modify the permissions of the offending keys.

Comments

Post a Comment

Popular posts from this blog

The Mysterious Subframe Bushings: When Your Vehicle Clunks And Swerves And You've Done It All With No Resolution.

Dusk To Dawn Photocell Wiring Guide - Automating Your Outdoor Light

Easy Step By Step Guide to Using Google NotebookLM - A Personalized Research Assistant.