Exchange Server 2007 SP2 Woes

dwhitnall
dwhitnall used Ask the Experts™
on
I had Exchange server 2007 sp1 installed on windows server 2008, downloaded the sp2 file, ran it. It crashed on install, since then have been unable to recover, install, update, uninstall. I have gone though many pages to try and resolve this, and still having no luck. at the moment i'm getting :Log Name:      Application
Source:        MsiInstaller
Date:          23/10/2009 3:32:32 PM
Event ID:      11402
Task Category: None
Level:         Error
Description:
Product: Microsoft Exchange Server -- Error 1402. Could not open key: UNKNOWN\Components\1FA18F7974E099CD0AF18C3B9B1A1EE8\461C2B4266EDEF444B864AD6D9E5B613.  System error 5.  Verify that you have sufficient access to that key, or contact your support personnel.
When i'm trying to install, update or recover.
When i try to uninstall i get an error code 5, and following the information i can find by re-regestring the dll file, it doesn't resolve it. this is a production server, and is also dc/gc
Please help
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Dwhitehnall where are you running SP2 from? Could you please copy it to the root of the exchange 2007's C drive and try again, if this is still causing an issue I would strongly advise raising a support case with MS as you say this is a live production server it would cost £195 to raise a support ticket or there abouts and would be resolved no matter how much time is required it beats getting an exchange guru in to try and resolve it which again would consist of time and hourly costs by the consultant.

If you still would like us to assist then by all means we will be happy to please tell us what you are seeing in the event logs screenshots please and try the above and we will walk through the bottom of this.

I am providing you the best information possible due to this being a production server.

Commented:
There is one more thing you could try BUT i must stress please backup your registry prior to doing this and do so at your own risk:

As this error is complaining about permissions I would attempt to reset the registry back to default on this exchange server:

download subinacl: http://www.microsoft.com/downloads/details.aspx?FamilyID=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&displaylang=en

Install this and it should install to C:\program files\windows resource kit\subinacl (along those lines)

Then copy this script into notepad:

____________________________________________________________

cd /d %ProgramFiles%\Windows Resource Kits\Tools
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f


_____________________________________________________

save it to the same directory (i.e. C:\program files\windows resource kit\subinacl) as reset.cmd (open notepad past the above and save as reset.cmd then run this from the directory C:\program files\windows resource kit\subinacl

This should reset the registry permissions and reboot your server and try again, I would personally go with the first option of raising a support case with MS

Commented:
Oh should of mentioned script created by Ramesh Srinivasan taken from:

http://www.winhelponline.com/blog/reset-the-registry-and-the-file-permissions-in-windows-xp/

Even though it says XP it does work on windows server, if this is a domain controller then please DO NOT attempt this script
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
I'm running it from a Folder on the administrators desktop.
The database, exchange bins etc are still phisiclay located on the hard drive, also still listed in the active directory, I have been tempeted to delete it from there.
I have attached the latest setup log while i was tring to recover the server. I have tryed changing the version numbers about in the registry, active directory etc. unsure where to go from here
Thanks for the quick reply
ExchangeSetup.log

Author

Commented:
This is a Domain controler, and global catalogue, I do have a secondary server, wich is also a Domain controler, and global catalogue.

Commented:
Hey no problem,

I am some what hesitant on giving advice on this as this is a production server and I am not sure on the setup and somewhat in a blind spot not to add insult to injury but it should of been tested in DEV never the less you are in this situation the events are saying lack of rights is causing the failure if you dont want to pay for a MS suppose case then I would say try the above regarding resetting the registry back to default and attempt again but please make sure you backup before making changes so you can revert back if you have other issues after doing this let me know how you get on

Commented:
Also have you tried logging in with another use account and trying the update it could be profile specific...please try this first if you have not before proceeding with the registry change

Author

Commented:
At this stage i'm acepting the fact that i have to reinstall exchange server, i can't however reinstall the complete server, i have managed to solve the registry problem, changing the permissions in regedit, etc, that at least is solved. i still have a copy of the databases, so when i do get it back up, only a matter of reconnecting the mailboxes, I had to do this the first time when installing sp1.

Commented:
OK well like let me know if you need any further assistance
Thanks for all your help, I have managed to sort it all out now, can't seem to install the UM role, but thats not nessasary to me at this time. Basicly, changing the permissions in the reg, changing the unpacked version & configured version in the reg, and updating the roles with sp2, and it finnaly installed. reconnected the mailboxes, and all is up and running.
Just under 30hrs to get it up again.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial