How to use command-line Microsoft Support and Recovery Assistant
Feb 24, 2026
If you want to use the command-line version of Microsoft Support and Recovery Assistant (SaRA) on a Windows computer, here is how you can do that.
It is suitable for remote diagnostics of problems related to Microsoft Office or Microsoft 365. Here is how you can download and set up SaRA CMD on Windows computer.
There may be times when you need to provide support for a remote computer related to Microsoft 365 apps. If using downloading the Microsoft Support and Recovery Assistant is not possible due to some reasons, you can use the command-line version to get the job done.
This video will show you how to use the command-line version of Microsoft Support and Recovery Assistant (SaRA CMD) on Windows computers.
The consumer version of Microsoft Support and Recovery Assistant (SaRA) has been deprecated in November 2024. But you can use the Enterprise version of SaRA, which is a command-line tool.
Link: https://www.thewindowsclub.com/command-line-version-of-microsoft-support-and-recovery-assistant
00:00 Intro
01:02 How to use SaRA command line
Commands for command prompt:
cd C:\Users\username\Desktop\DONE
SaRAcmd.exe -S OfficeScrubScenario -AcceptEula -OfficeVersion All
For instance, to uninstall Office 2024, use:
SaRAcmd.exe -S OfficeScrubScenario -AcceptEula -Officeversion 2024
To uninstall Microsoft 365 Apps, use:
SaRAcmd.exe -S OfficeScrubScenario -AcceptEula -OfficeVersion M365
Other Links: https://www.thewindowsclub.com/microsoft-support-and-recovery-assistant
https://www.microsoft.com/en-us/download/details.aspx?id=103391
https://learn.microsoft.com/en-us/troubleshoot/microsoft-365/admin/miscellaneous/sara-command-line-version
Show More Show Less 
