MS Patch Installation failed with Error Code:0x87D00668

Checked all software update related logs and found that required patches, already got installed with failed software update returns error code 0x87D00668.

I have tried the below steps which resolve the issue.

1- Stop-Service “wuauserv”
2- Stop-Service “CcmExec”
3- Remove-Item -Path “C:\Windows\SoftwareDistribution\*” -Recurse
4- Start-Service “wuauserv”
5 -Start-Service “CcmExec”

Also we can use below command to execute the above steps on remote computer :

Invoke-Command -ScriptBlock {Stop-Service “wuauserv”; Stop-Service “CcmExec”; Remove-Item -Path “C:\Windows\SoftwareDistribution\*” -Recurse ;Start-Service “wuauserv”; Start-Service “CcmExec” } -ComputerName “Remote Computer”

Advertisements

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s