Skip to main content
All CollectionsMigrateGet startedInstallation
Run a silent install with the Command Prompt
Run a silent install with the Command Prompt
Updated over 2 weeks ago

You can run a silent install of ShareGate Migrate with PowerShell or the command prompt. This action can be helpful to deploy ShareGate Migrate to your users, run the installer as an admin, troubleshoot installation failures, and more.

Installation steps

  1. Download the latest ShareGate Migrate installer to your drive.

  2. Click on the Start menu in Windows.

  3. Search Command Prompt.

  4. Open Command Prompt.
    โ€‹Note: You have to run the script in an elevated session. The usual method is to right-click on the application (Command Prompt or PowerShell) and select Run as administrator in the dropdown to start Command Prompt as an admin.

  5. Access the installer's location (MSI file) with the following command:

    cd %UserProfile%\Downloads

    Note: CD stands for Change Directory. If your install file is not in your Downloads folder, you will have to adjust the path to point to the folder containing the ShareGate Migrate install file.

  6. To install ShareGate Migrate for the current user only, use the following command line:

    msiexec /i ShareGate.msi /q SHAREGATEINSTALLSCOPE=PERUSER RESTARTEDASADMIN=1
  7. To install ShareGate Migrate for all users, use the following command line:

    msiexec /i ShareGate.msi /q SHAREGATEINSTALLSCOPE=PERMACHINE RESTARTEDASADMIN=1 ALLUSERS=1

Notes:

  • Make sure you update the file's name to reflect the exact name of the install file you downloaded in your script. For example, replace ShareGate.msi with ShareGate.1.2.3.msi in the script if that is the name of the install file you downloaded.

  • You can run the scripts with PowerShell as well. Check this article to set the location of the MSI file, and then you can run the same command line.

Did this answer your question?