OfficeC2RClient.exe get progress state

Anonymous
2023-05-30T10:23:22+00:00

Hello,

I would like to implement Office updates into our scheduled maintenance automation. Therefore, using OfficeC2RClient.exe and a CMD should be a convenient way to achieve this. I'm using the following parameters:

"C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user displaylevel=false forceappshutdown=true

Unfortunately, OfficeC2RClient works asynchron and delivers no state at all. It's just fire and forget. But for monitoring and reporting purposes we need to track the progress and get a final state (success, error, anything else). I've already tried a couple of different things:

  • Start as process in PowerShell and check if "OfficeC2RClient.exe" is running
  • Check logfiles in Temp directory

Both approaches are not optimal and have some downsides.

Do you have any idea, how to achieve this in the most simple and consistent way?

Microsoft 365 and Office | Install, redeem, activate | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2023-05-31T07:33:01+00:00

    Hi Sean,

    thank you! I've copied the post to OfficeC2RClient.exe get progress state - Microsoft Q&A

    You can close this thread if you want to.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-05-30T15:53:52+00:00

    Dear KevinSchweiger,

    Thanks for posting in Microsoft community.

    We'd love to help, considering we mainly focus on general and build-in queries in Microsoft365 applications, we may have limited resource about PowerShell and CMD script.

    At the same time, considering we have a dedicated channel Office Development - Microsoft Q&A, for you to be assisted properly, we sincerely recommend you go to that community and post a new thread, members and engineers over there will focus on the specific situation on your side and share specific suggestions. We are sure that our experts from that team can address your query effectively and accurately.

    Thanks for your understanding and cooperation! Hope you keep safe and healthy always.

    Sincerely,

    Sean | Microsoft Community Moderator

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments