Receive Random Error Messages when Installing or Opening an Office Program
When installing the program, you may receive an error at the end of the setup procedure:
“Error 1401: Setup cannot create Registry Key,"
“Error 1402: Setup cannot open Registry Key,"
“Error 1406: Setup cannot write the value to the registry key,"
“The error message that you receive lists the registry subkey that is causing the error to occur."
If you haven’t received any of these messages, but have received the following error, you need to fix it manually: “Microsoft program has not been installed for the current user. Please run setup to install the application," (instead of program, you will see the actual Office program name, such as Word or Excel).
To fix these errors, log onto the computer using the Administrator account, and open the Windows Explorer. Click “Folder and Search Options" from the “Organize" menu, and click “View."
Click “Show hidden files, folders, and drives," under the tab “Hidden files and folders." Make sure you clear the check boxes “Hide extensions for known file types," and “Hide protected operating system file (Recommended). Now click “OK," and select “Yes" on the “Warning" dialog box.
Navigate to the folder: “C:\Users\All Users\Microsoft\Office\Data\." Right-click the file “Opa12.dat" and select the “Properties" option. From the new dialog box on the screen, navigate to the tab “Security" > “Advanced" > “Permissions," and select “Everyone" in the list of “Permission entries." Then click “Edit" and select the “Full Control" check box. Now you will have to click “OK" four times, after which the errors should be removed.
If the above mentioned method doesn't work, remove the “Opa12.dat" file from the folder “C:\Users\All Users\Microsoft\Office\Data."