Using the command line version of Microsoft Support and Recovery Assistant


If you want to use the command line version of Microsoft Support and Recovery Assistant (SaRA) on a Windows 11/10 computer, here’s how to do it. It is suitable for remote diagnosis of problems related to Microsoft Office. Here’s how to download and set up SaRA on a Windows 11/10 computer.

There may be times when you want to support a remote computer related to Microsoft 365 Apps. If you can’t download Microsoft Support and Recovery Assistant for some reason, you can use the command-line version to get the job done .

How to use the command line version of Microsoft Support and Recovery Assistant

To use the command line version of Microsoft Support and Recovery Assistant, follow these steps:

  1. Download SaRA from the official website.
  2. Extract the DONE folder.
  3. Search for cmd in the taskbar search box and click Run as administrator.
  4. Click the Yes button.
  5. Wear CD command to access the DONE folder.
  6. Enter a command like: SaRAcmd.exe -S OfficeScrubScenario -AcceptEula

You may also be interested in:

To learn more about these steps, keep reading.

At first, you need to download Microsoft Support and Recovery Assistant from the official website. After downloading, extract the FINISHED folder and save it somewhere else.

Then you need to open Command Prompt as administrator. To do this, find organized in the search box on the taskbar, click the Execute as an administrator and select the option Yes option.

Next, you need to navigate to the DONE folder. Let’s say you have this folder on your desktop. To do this, enter the following command:

cd C:UsersusernameDesktopDONE

You can now enter commands to use the command line version of Microsoft Support and Recovery Assistant. The following commands are available:

SaRAcmd.exe -S OfficeScrubScenario -AcceptEula

command line version of Microsoft Support and Recovery Assistant

In the above command, -S is a switch indicating the type of diagnostic/scenario you want to perform or explore. There are other switches like -AcceptEula, -DisplayEULA, -To helpY -?.

Based on the issue, SaRA will decide what to do next. Depending on the action performed, it may display various messages in the Command Prompt window, and some of them look like these:

An offline scan was performed because Outlook is not running or is running with elevated privileges (as administrator). Watch in %localappdata%saralogsUploadLogs.

A full scan has been performed. Watch in %localappdata%saralogsUploadLogs.

etc.

The best thing about this tool is that you don’t have to choose the action. Microsoft Support and Recovery Assistant automatically chooses the action for you.

What is Microsoft Support and Recovery Assistant?

Microsoft Support and Recovery Assistant is a troubleshooting and diagnostic tool that allows you to perform various tests to discover issues related to Microsoft 365, Outlook, etc. It is possible to run the application and use it as a command line tool.

Why is Microsoft Support and Recovery Assistant taking so long?

Sometimes there may be multiple issues that Microsoft Support and Recovery Assistant needs to resolve to provide you with a better user experience. When troubleshooting various problems, SaRA may take longer than usual on your computer.

How does the SaRA tool work?

Microsoft Support and Recovery Assistant or SaRA runs a scan on your computer to identify the error related to Outlook, Microsoft 365 Apps, etc. If you find something important, many troubleshooting actions are needed to fix the problem. Sometimes you may need to open SaRA with administrator privileges to perform the task it is supposed to do.

How do I run Microsoft Support and Recovery Assistant?

There are two methods to run Microsoft Support and Recovery Assistant on a Windows 10 or Windows 11 computer: use the GUI mode or the command line tool. To learn more about Microsoft Support and Recovery Assistant GUI mode, you can follow this tutorial. To learn more about the command line method, this article is for you.

This is how you can run or use the command line version of Microsoft Support and Recovery Assistant. If you want, you can download it from docs.microsoft.com.

How to use the command line version of Microsoft Support and Recovery Assistant

How useful did you find this content?

Click on a star to rate!

Average score 0 / 5. Counting of votes: 0

So far, no votes. Be the first to rate this content.

I'm sorry this content was not useful for you!

Let me improve this content!

Tell me, how can I improve this content?

You may also be interested in:

Deja un comentario