Exchange 2010 SP3 Rollup 10 fail with PS version 4.0

Recently We have upgraded our DAG servers with WMF 4.0 as our Storage solution required it. After upgrade few of the scripts broke for which we have implemented some workarounds but this Post is not about those scripts , It is about the issue we faced during installation of the Rollup 10.

We were able to upgrade CAS servers successfully but on DAG servers installation failed with error:

“Setup Wizard for Update Rollup 10 for Exchange Server2010 (KB3049853) ended prematurely”


Than we enabled logging by following below steps:

  • Enable installation logging. It can be done in 2 ways

Use command : exe /p <MSP path> /log “C:\Users\<username>\Desktop\Test.log”

  • To find the error, look for “return value 3” in the logs


Now you can see that servicecontrol.ps1 script is failing.


On further analysis it has been found that error relates to script: ManageScheduledTask.ps1 🙂


To fix this error you have to modify the script:

Open the script “ManageScheduledTask.ps1” in Powershell ISE


Go to line 462, and replace “return $success” with “Write-Output $success” and save it


Now when you will try again Rollup will install successfully. This error can come with PS 3.0 as well as 4.o. Our CAS server were on PS2.0 so error was not encountered & DAGs reported the error because of PS version 4.0.

Thanks to my Teammate Alex, who have done troubleshooting ,searched the Internet & found the Fix.

Note: Do consult with Microsoft before following this procedure.

Update: Checked with MS, they will not officially support this but what they support is below:

Uninstall WMF 4.0

Install Rollup 10

Install WMF 4.0


Tech Wizard



6 thoughts on “Exchange 2010 SP3 Rollup 10 fail with PS version 4.0

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s