sodcalculator

10 Tech How-To

Run Microsoft Office From an External Drive

Guide 10-52600 · Updated · Step by step

Running Microsoft Office directly from an external hard drive or SSD lets you carry your installed applications with you, so you can work on different computers without reinstalling or reconfiguring. This guide covers the two realistic ways to achieve this: installing Office to a portable drive using the official deployment tool, or using a portable version of Office if you have a volume license. You will need a Windows PC, an external drive with enough free space (at least 10 GB), and a valid Office license (Microsoft 365 or Office 2021/2019/2016).

What You’ll Need

  • An external hard drive or SSD (USB 3.0 or faster recommended for performance)
  • A Windows PC (Windows 10 or 11) to perform the installation
  • Your Microsoft account credentials or an Office product key
  • Internet connection to download the Office installer
  • Office Deployment Tool (free from Microsoft) – required for the portable install method
  • Administrator rights on the PC you use for installation

Step-by-Step

  1. Prepare the external drive. Connect the drive to your PC. Ensure it has at least 10 GB of free space (more if you plan to install multiple apps). For best performance, use an SSD and a USB 3.0 or Thunderbolt connection. Format the drive to NTFS if it isn’t already (right-click the drive in File Explorer → Format → NTFS).
  2. Download the Office Deployment Tool. Go to the Microsoft Download Center and search for “Office Deployment Tool”. Download the executable (e.g., officedeploymenttool.exe) and run it. It will extract the setup files to a folder you choose (e.g., C:\ODT).
  3. Create a configuration XML file. In the folder where you extracted the ODT, you’ll find a sample configuration file (configuration.xml). Open it in Notepad. You need to edit it to specify the installation source and the target directory on your external drive. A basic configuration for a 64-bit install of Microsoft 365 Apps (with only Word, Excel, and PowerPoint) looks like this:
    <Configuration>
      <Add OfficeClientEdition="64" Channel="Current">
        <Product ID="O365ProPlusRetail">
          <Language ID="en-us" />
          <ExcludeApp ID="Access" />
          <ExcludeApp ID="Publisher" />
          <ExcludeApp ID="Outlook" />
          <ExcludeApp ID="OneNote" />
          <ExcludeApp ID="Skype" />
          <ExcludeApp ID="Teams" />
        </Product>
      </Add>
      <Property Name="SOURCE_PATH" Value="E:\Office" />
      <Property Name="TARGET_DIR" Value="E:\Office\Programs" />
      <Property Name="AUTO_ACTIVATE" Value="1" />
    </Configuration>

    Replace E: with the actual drive letter of your external drive. Save the file as config.xml in the same folder as setup.exe.

  4. Download the Office installation files to the external drive. Open Command Prompt as administrator (right-click Start → Command Prompt (Admin) or Windows Terminal (Admin)). Navigate to the ODT folder (e.g., cd C:\ODT). Run the following command to download the Office files directly to your external drive:
    setup.exe /download config.xml

    This will download the installation files into the SOURCE_PATH folder you specified (e.g., E:\Office). Wait until the download completes (it may take several minutes depending on your internet speed).

  5. Install Office to the external drive. With the same command prompt, run:
    setup.exe /configure config.xml

    This will install Office into the TARGET_DIR folder on your external drive. The installation may take 10-20 minutes. Do not unplug the drive during this process.

  6. Activate Office. After installation, launch any Office app (e.g., Word) from the external drive. Sign in with your Microsoft account or enter your product key if prompted. Activation is tied to your license, not the drive, so you may need to sign in on each new PC you use.
  7. Run Office from the external drive on any PC. When you connect the drive to a Windows PC, navigate to the TARGET_DIR folder (e.g., E:\Office\Programs) and double-click WINWORD.EXE, EXCEL.EXE, or POWERPNT.EXE to launch the respective app. You can also create shortcuts on the desktop of the PC you’re using.

Common Mistakes

  • Using the wrong drive letter: If your external drive gets a different letter on another PC, the paths in the configuration file won’t match, but the installed apps will still work because they are self-contained. However, shortcuts you create manually may break if they reference the old letter.
  • Not using the correct Product ID: For Microsoft 365, use O365ProPlusRetail or O365BusinessRetail depending on your subscription. For Office 2021, use ProPlus2021Volume or Standard2021Volume (requires volume license). Using the wrong ID will cause installation failure.
  • Forgetting to exclude apps: If you don’t exclude apps like Access or Publisher, they will be installed, taking up more space and potentially causing conflicts.
  • Unplugging the drive during installation: This can corrupt the installation. Always safely eject the drive after installation and before moving it.
  • Assuming it works on Mac: The method described here is for Windows only. Office for Mac cannot be installed to an external drive in the same way.

Tips

  • Use an SSD: Office apps load and run much faster from an SSD than a traditional hard drive. A USB 3.0 or USB-C connection is essential for acceptable performance.
  • Keep the drive letter consistent: On the PC you use most often, you can assign a permanent drive letter to the external drive via Disk Management. This helps if you create shortcuts or scripts.
  • Update Office regularly: When you’re on a PC with internet, launch Office and go to File → Account → Update Options → Update Now to get the latest security patches and features.
  • Use portable apps if you have a volume license: If your organization has a volume license, you can use the Office Deployment Tool to create a truly portable installation that doesn’t require per-PC activation. This is the only official way to run Office without installing to the local drive.
  • Back up your drive: Since your Office installation is on a removable drive, it’s vulnerable to loss or damage. Regularly back up the entire drive to another location.

Troubleshooting

  • Office apps won’t start on a new PC: This usually happens because the required .NET Framework or Visual C++ Redistributables are missing. Install the latest versions from Microsoft’s website, then try again.
  • Activation prompts every time: If you’re using a Microsoft 365 subscription, you need to sign in with your account on each PC you use. For volume license versions, activation is automatic if the PC is joined to your organization’s domain.
  • Error “Cannot find setup.exe”: Make sure you’re running the command from the folder where setup.exe is located. Use cd to navigate to the ODT folder.
  • Download fails with error 0x80070005: This is often a permissions issue. Run Command Prompt as administrator and ensure the external drive is not write-protected.
  • Office apps are slow: If you’re using a mechanical hard drive, performance will be poor. Consider upgrading to an SSD. Also, close other programs that are using the drive.
  • Some features missing (e.g., macros, add-ins): Certain add-ins and features may not work if they rely on registry entries on the local PC. This is a limitation of running from an external drive; you may need to install those add-ins separately on each PC.

Frequently Asked Questions

Can I run Microsoft Office from a USB flash drive?

Technically yes, but it’s not recommended. Flash drives are slower and have limited write cycles, which can cause performance issues and shorten the drive’s lifespan. An external SSD is a much better choice.

Do I need a special license to run Office from an external drive?

No, a standard Microsoft 365 subscription or a retail Office license works. However, the portable installation method described here uses the Office Deployment Tool, which is officially supported for all editions. For volume license versions, the process is similar but requires a volume license key.

Will my Office settings and files be stored on the external drive?

Your Office documents are stored wherever you save them, typically on the local PC unless you choose to save them to the external drive. Settings like themes and recent files are stored in the user profile on the local PC, so they won’t follow you unless you also sync them via OneDrive.

Can I run Office from an external drive on a Mac?

No, the method described here is for Windows only. Office for Mac is installed natively and does not support portable installations.

Is it legal to run Office from an external drive?

Yes, as long as you have a valid license. The Office Deployment Tool is provided by Microsoft specifically for this purpose. However, you can only use the software on one computer at a time, and your license terms apply.

Why can’t I just copy the Office folder from one PC to the external drive?

Copying an installed Office folder rarely works because Office relies on registry entries and system files on the local PC. The ODT method creates a self-contained installation that includes all necessary components.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →