To update Microsoft 365 (formerly Office 365) via PowerShell, you must trigger the Office Click-to-Run (C2R) client using the command "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user. This command forces the Office installation manager to check for available updates and begin the installation process immediately without requiring the user to open an Office application and navigate through the manual update menus.

Updating via PowerShell is particularly useful for system administrators who need to ensure multiple workstations are current or for users who find the built-in "Update Now" button unresponsive. By interacting directly with the OfficeC2RClient.exe executable, you bypass the GUI overhead and send a direct instruction to the background service that manages the software lifecycle. This method works for most standard installations of Microsoft 365 Apps for enterprise and business.

What You'll Need

  • A Windows PC with Microsoft 365 installed.
  • Administrative privileges on the local machine (required to execute commands that modify program files).
  • An active internet connection to reach the Microsoft Content Delivery Network (CDN).
  • PowerShell (Windows PowerShell or PowerShell Core) opened with "Run as Administrator".

Step-by-Step

  1. Open PowerShell as Administrator: Click the Start menu, type "PowerShell", right-click on the Windows PowerShell app, and select "Run as administrator". This is critical because the Office update executable resides in the Program Files directory, which is protected by system permissions. If you run PowerShell as a standard user, the command will likely return an "Access Denied" error.
  2. Verify the Path to the C2R Client: Before running the update, ensure the Office Click-to-Run client is located in the default directory. Type the following command and press Enter: Test-Path "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe". If the result is "True", you are ready to proceed. If it is "False", you may have a 32-bit version of Office installed on a 64-bit OS, in which case you should check C:\Program Files (x86)\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe.
  3. Execute the Update Command: Copy and paste the following command into your PowerShell window and press Enter:
    & "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user
    The ampersand (&) is the call operator in PowerShell, which tells the shell to execute the string that follows as a command.
  4. Optional: Force a Background Update: If you want the update to happen silently in the background without showing the progress window to the user, use the following variation:
    & "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user displaylevel=false
    This is the preferred method for remote management where you do not want to interrupt the end-user's current workflow.
  5. Monitor the Process: If you used the standard command, a small window will appear indicating that Office is downloading and applying updates. If you used the displaylevel=false flag, you can verify the process is running by opening the Task Manager (Ctrl+Shift+Esc) and looking for "Office Click-to-Run" or "Office Setup" in the Processes tab.
  6. Restart Office Applications: Once the process completes, any open Office apps (Word, Excel, Outlook) will need to be restarted for the updates to take effect. In some cases, the updater will prompt you to close these applications; ensure all work is saved before initiating the command.

Common Mistakes

One of the most frequent errors is forgetting to run PowerShell as an Administrator. Because the update executable is located within the system's Program Files, a standard user account does not have the necessary permissions to trigger the execution of the C2R client, resulting in a failure to launch the update process.

Another common mistake is misidentifying the installation path. While most modern installations use the 64-bit path, older installations or specific corporate images may use the 32-bit path (Program Files x86). If the command returns a "Path not found" error, always check the alternative directory before assuming the software is missing.

Users also often mistake the /update user command for a full re-installation. This command only triggers the check for new versions and patches; it does not repair corrupted files or reinstall the entire suite. If the application is crashing or missing features, a simple update command will not solve the problem; a "Quick Repair" or "Online Repair" via the Control Panel is required instead.

Finally, some users attempt to run this command while they have a very unstable internet connection or are behind a strict corporate firewall. If the firewall blocks the connection to the Office CDN, the command will execute, but the update window will either disappear instantly or hang indefinitely without downloading any data.

Tips

To automate this process across multiple machines, you can save the command as a .ps1 script file. This allows you to deploy the update via Group Policy Objects (GPO) or a Remote Monitoring and Management (RMM) tool, ensuring that all company devices are patched without manual intervention.

If you are managing a large number of devices, consider combining the update command with a check for the current version. You can query the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration to find the current version string before deciding whether to trigger the update.

For those who prefer a more comprehensive management approach, using the Office Deployment Tool (ODT) is recommended. While the PowerShell command is great for a quick trigger, the ODT allows you to specify exactly which update channel (Current, Monthly Enterprise, or Semi-Annual) the software should follow, giving you more control over when features are rolled out to your users.

Always ensure that you have a stable power source when updating. If a laptop loses power during the "Applying Updates" phase of the C2R process, it can lead to a corrupted installation that requires a full uninstall and reinstall of the Microsoft 365 suite.

Troubleshooting

If the command executes but no update occurs, the first step is to check your update channel settings. If your organization has locked the update channel to "Semi-Annual," you will not receive updates as frequently as those on the "Current" channel. You can check this within any Office app by going to File > Account. If updates are disabled by your administrator, the PowerShell command will be ignored by the system.

If you receive an error stating that the file cannot be found, verify the path again. Use the dir command in PowerShell to browse the folders manually: dir "C:\Program Files\Common Files\microsoft shared\ClickToRun". If the folder is empty or the OfficeC2RClient.exe is missing, your installation may be corrupted, and you should run a repair from the Apps & Features menu in Windows Settings.

In cases where the update process hangs at a certain percentage, try disabling your third-party antivirus or firewall temporarily. Some security software may flag the C2R client's attempt to download large binary files from the internet as suspicious behavior, blocking the connection silently.

If the update completes but the version number does not change, restart your computer. Occasionally, the system requires a full reboot to clear cached DLLs and finalize the replacement of core system files used by the Office suite.

Frequently Asked Questions

Does this command work for the free web version of Office?

No. The web versions of Word, Excel, and PowerPoint are hosted on Microsoft servers and are updated automatically by Microsoft. This PowerShell command only works for the locally installed desktop applications.

Will this command delete my documents or settings?

No. Updating the software only replaces the application binaries and system files. Your documents, cloud saves, and personal application settings remain untouched during the update process.

Can I use this to downgrade to an older version of Office?

No. The /update user command only moves the software forward to the latest available version for your assigned channel. Downgrading requires the Office Deployment Tool (ODT) and a specific configuration XML file.

How often should I run this command?

Microsoft 365 typically updates itself automatically. You only need to use this command if you suspect your version is out of date, if you are troubleshooting a bug that has been patched, or if you are preparing a machine for a specific software compatibility test.

Is this different from the "Update Now" button in Word?

Functionally, it is the same. Both trigger the Click-to-Run client to check for updates. The PowerShell method is simply a way to initiate that process without needing to launch the actual Office applications.

What is the difference between /update user and /update?

The /update user switch is the standard way to trigger the client-side update check. Using /update without the user switch may behave differently depending on the version of the C2R client and the system permissions, often failing to launch the UI properly.