I checked the store.exe version on both the servers and found that it was a mismatch.
Now to fix the issue, I ran the setup again on exch01 server and it completed successfully.
Note: exch01 server had Rollup Update 4 installed before running the SP2 setup on the server.
On other server, I had upgraded Rollup Update 6, hence I had to install the same on this server too. Started installing Rollup Update 6 for SP2 on exchange01 and it failed with the error “Setup Wizard for Update Rollup 6 for Exchange Server 2010 Service Pack 2 (KB2746164) ended prematurely”.
To fix this issue, what I had to do was, to run the this file as “Run as Administrator”. Hence, opened Command Prompt with “Run as Administrator” and copied the path and pasted in it and pressed the Enter Key. Setup took time but it failed again with Rolling Back message and finally the above error message.
Disabled the UAC on the server and restarted the server, ran the setup again and it failed with the same error.
Checked the ExecutionPolicy on PowerShell and it was restricted. Set the ExecutionPolicy as Unrestricted and ran the setup again, but it failed again.
Added the Administrator account in security on PowerShell key in registry “HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell. Restarted the server and ran the setup still No Go. Checked the setup but didn’t find anything, nothing in Event viewer.
I had seen this issue before but those resolutions weren’t working here.
Uninstalled the entire exchange server and reinstalled it, tried to install Update Rollup 6, still it failed.
Unbelievable resolution in my case was “Disable the Windows Firewall on the server” run the setup and it completed successfully.
Weird as I didn’t had to do it before to install the Update Rollup and on other Active Server, it got installed successfully without making any changes.