In addition to providing a new Update Now feature in Office 2013 applications, Microsoft has also included some additional command-line options in Service Pack 1 to help with managed updating.
Using an OfficeC2RClient.exe, located in the %Program Files%\Microsoft Office 15\ClientX86 or %Program Files%\Microsoft Office 15\ClientX64 (depending on the platform), administrators can use command-line switches to automate the updating feature.
The command-line options are:
- updatepromptuser (true or false) – enables or disables the user prompt indicating that an update is available for installation. The default is false.
- forceappshutdown (true or false) – gives the user the option to cancel the update, otherwise, all running Office applications will shut down and the update will commence. The default is false.
- displaylevel (true or false) – shows or hides the update dialog box. The default is true.
- updatetoversion (version to install) – this is used to choose the specific version to install and can be used to install older versions if a rollback is required. If you don’t use this, the updating process will default to installing the most current update version.
Example of a command-line update:
The example command-line initiates the update (/update), disables the user prompt, forces all running applications to shut down and update immediately, and causes the update to install silently.