Solved

Exchange - Microsoft Filter Pack : Could not open key

Posted on 2014-03-12
3
63 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

615 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