Solved

Exchange - Microsoft Filter Pack : Could not open key

Posted on 2014-03-12
3
46 Views
Last Modified: 2016-05-31
When installing march tuesday updates I got windows update error 57A when installigng KB2837594.
Events viewer show the following event for MSinstaller

Product: Microsoft Filter Pack 2.0 -- Error 1402. Could not open key: UNKNOWN\Components\8C74AF50DE82925438E3210E61AC7181\00004159000290400100000000F01FEC.  System error 5.  Verify that you have sufficient access to that key, or contact your support personnel.
</Event>

In fact, there are several keys in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components which have a subkey \00004159000290400100000000F01FEC that cannot be accessed.

I manually restored access to all of them and Windows update was able to proceed normally.

I have a similar issue installing Exchange 2013 CU2 with subkey \AE1D439464EB1B8488741FFA028E291C

My problem is that manually resetting keys permission is alsmost impossible because of the number of keys involved with exchange.

Is there a way to reset ownership and permission of these keys using Powershell ?
0
Comment
Question by:jdoat
3 Comments
 
LVL 35

Expert Comment

by:Bembi
ID: 39927504
Mmh..., as I can see on my machine, all the permissions in this folder are more or less inherited and owner is SYSTEM. I checked only a few of them, but wondering, why on your system it seems to be different.

Because of the fact, that the permissions are inherited, I would expect, that even the installation dows not change them and just uses, what is windows default.

In the exchange scripts folder there is nothing what I can indentfy into this direction and even a repair installation may be a try but don't expect too much....

And also enable inheritage for the registry subfolder is not really an option, as any application can set the permissions different.
0
 

Accepted Solution

by:
jdoat earned 0 total points
ID: 39997443
Thanks "bembi" and sorry for my late reply
I was able to fix the issue as follows :
Download PStools from Windows Sysinternals
Run Regedit as system with command "psexec -i -s regedit"
Goto key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components
Set permissions of child object to inherit from permissions of this key

However, I would not recommend to do this unless you are prepared to reinstall the whole server !

In my case, it worked fine and I was able to fully remove Exchange Server 2013 CU1 (which caused this mess in the permissions) and reinstall Exchange Server 2013 SP1.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Read this checklist to learn more about the 15 things you should never include in an email signature.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question