Update Office without opening an Office application
How do you trigger an Office update without opening an office application?
I need this to update Office after an offline install of o365, specifically in instances where Office needs to be updated between installing o365 apps and actually deploying the system.
I know you can do this by opening an office app, then going to File > Office Account > Update Options > Update Now, but I am trying to avoid triggering the Office activation / trial countdown before actually needing to sign a user in.
***edit: I found a solution and posted it below. Please feel free to contribute additional solutions especially if this does not work for older versions of Office.
From command prompt:
"C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user
This should trigger the Update GUI.
You can also do this silently by adding displaylevel=false forceappshutdown=true:
"C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user displaylevel=false forceappshutdown=true
source: TechNet Blog: Office365 and its associated command-line and switches
If you need to change the Office update channel for a client to switch them to the monthly update channel you can run the followng:
“C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe” /changesetting Channel=Current
If you need to do this for a group of computers you can use psexec and a text file with the computer names like such:
psexec @computers.txt -d -n 3 cmd /c “C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe” /changesetting Channel=Current
AND
psexec @computers.txt -d -n 3 cmd /c “C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe” /update user updatepromptuser=false forceappshutdown=true displaylevel=false