Here's how to Repair Office 365 on Windows 10 and Windows 11.
Here is an example BAT file that you can use to repair Office 365 on Windows:
@echo off
title Office 365 Repair
REM Stop Office Click-To-Run service
net stop ClickToRunSvc
REM Repair Office 365
cd "C:\Program Files\Common Files\microsoft shared\ClickToRun"
officec2rclient.exe /repair
REM Start Office Click-To-Run service
net start ClickToRunSvc
echo.
echo Office 365 has been repaired.
pause
This BAT file first stops the Office Click-To-Run service, then changes the current directory to the ClickToRun shared files folder, and runs the "officec2rclient.exe /repair" command to repair Office 365. Finally, it starts the ClickToRun service and displays a message indicating that Office 365 has been repaired.
Save the above code in a text file with the .bat extension (e.g., "repair_office365.bat"), and then run the file as an administrator. This should initiate the repair process for Office 365 on your Windows system.
Ещё видео!