How to Install MS Office On a Different Drive

Installing a software or program is something everyone is acquainted with. With just a few mouse clicks we can install any software anywhere in our system. However, there are times when the part of installing software “anywhere on the system” hits a roadblock. This happens with people trying to install Microsoft Office 365 on their system using the downloadable version from Microsoft’s website. Users are unable to customize the installation and make it so that the Office suite installs on some other drive than the default C: drive. So, in order to help people out, we provide some methods to install such software on drives other than C:\

The problem faced

Whether you are using an SSD to boost the performance of your system or have simply opted for Office 365 business or student from their website, you will find that you cannot customise the installation, and all the tools are installed on default C: drive. This is because, from Office 365, Microsoft has implemented the Click-to-Run technique of installing software. What this does is that once you click on the file the installation happens by itself, and you cannot tweak it in any way.

This has caused many users to express their resentment. People pay sums of $99 for this product and then find themselves unable even to change the install directory. Many people don’t have the required near approximate 4 GB of space in their default drive, so they absolutely need to change the install directory. Worry not, because we will tell you how.

Method 1: Changing install directory

You can change the install directory to some other path by making some modifications in the Registry. Here’s what you need to do:

In the Start menu or Run, type regedit

Make your way to the following under Registry Editor:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Look for a value named ‘ProgramFilesDir’. Change the default value, which will be ‘C:\Program Files’ to the new location you want

Close the regedit and restart your system so that the change takes effect

Method 2: Create a junction to point to some other location

The operating system thinks it is going to C: drive to run Office but it is going to your new location. Note that this method only works if you want to move Office Suite to a new location, meaning that you already have it installed on your C: drive. Here’s how this works:

Empty the recycle bin

Run Task Manager and end all MS Office related tasks

Find the directories ‘C:\Program Files\Microsoft Office 15’ and ‘C:\Program Files (x86)\Microsoft Office

Delete both of these directories

Open command prompt and enter this:

MKLINK /J “C:\Program Files\Microsoft Office 15” “(your_preferred_disk_drive):\Program Files\Microsoft Office 15”?

MKLINK /J “C:\Program Files (x86)\Microsoft Office” “(your_preferred_disk_drive):\Program Files (x86)\Microsoft Office”

Restore the deleted files from recycle bin. They now appear in your new drive instead of C:

Reboot your system

Microsoft really annoyed a lot of people with their Click-to-Run implementation. If you use any Office version other than MS Office Professional Plus 2013, you cannot customise the installation. Using the methods described above, you can change the install location.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Comments

17
    TK
    Trevor Ketch Oct 22, 2017

    OK, so I tried option #1. Changed both [C:Program Files] and [C:Program Files (x86)] to D: drive of the respective folders.

    It bombed on installation. Make sure you create the destination folder first, then the install will continue, but…

    After installation, most of the 2GB+ installation / EXE files still ended up in C:Program Files.

    I started to investigate the other registry settings and ran into the following article:

    https://support.microsoft.com/en-us/help/933700/microsoft-does-not-support-changing-the-location-of-the-program-files

    So, MS doesn’t support changing these registry settings and put up all kinds of awful warnings (“Microsoft hotfixes, updates, and security updates may not be installed correctly.”).

    So, I uninstalled and changed the registry settings back.

    I’ve tried to fuss with option #2 with Symantec AntiVirus and moving the stupid definition files off of the C: drive. It worked for a bit, but after each version update or some other tinkering, the definitions ended up back on the C: drive. I don’t feel like tinkering with symbolic links again.

    If I’m brave, I may try to change the install locations in the registry to install Office, then revert them back after. Still, what happens when I need to update Office…???

    Reply
    MI
    Mineme Nov 14, 2017

    Thank you very much for the tutorial. It is very helpful and I have off-load the office files into D drive by using the creating folder link. It’s just I rename the original folder and then move all the files into the new created one and everything works fine. Windows 10 is quite crappy these days and I do disabled much Microsoft security background but using alternative programs replacing them. Especially the Windows Update which causes so much problem these days.

    JR
    JR Dec 7, 2018

    Rock on works great. Not sure what the ? mark is at the end of the Microsoft Office 15 so took it out.

    JR

    BH
    Bob Hatcher Jun 5, 2019

    I can’t delete the directories, it won’t delete the vfs directory in root. It tells me it’s in use but I can’t find it anywhere.

      SW
      Shane Warren Author Jun 8, 2019

      Perform a Clean boot and then try to delete it. In a clean boot none of the services or folders are loaded by default which can then be deleted.

      Reply
    DE
    deed Jul 23, 2019

    STUPID STUPID STUPID!!!!!!!!! The only program around that doesn’t give you the option to install it on another drive…now I just don’t use stupid office cause I don’t want to fill the main HD with it!

      FS
      Fabio Silva Oct 2, 2019

      windows + R
      write regedit press OK
      go to ==> HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion
      On ProgramFilesDir right-click and change to new location like D:Program Files, in other words you only must change the letter to your letter device.
      Sorry for my english.

      Reply
        SA
        saska Nov 5, 2019

        Thanks for this, Fabio! Works like a charm.

    DO
    Dozie May 17, 2020

    Didn’t work. I can’t restore my deleted files anymore

      SW
      Shane Warren Author May 17, 2020

      Did the first one not work either?

    DO
    Dozie May 17, 2020

    The symbolink method doesn’t seem to work with newest Office365 installer. In fact it will give you an error that it can’t install

      SW
      Shane Warren Author May 17, 2020

      Seems like they disabled this workaround. does the first one still work?

        DO
        Dozie May 17, 2020

        I will not try that first one. I don’t want it to mess up any of other installation. I read somewhere that changing that key is highly not advised

          SW
          Shane Warren Author May 17, 2020

          you should be ok with doing that but if you don’t think it is safe, backup your registry first and then try it. Should work.

    JE
    Jennifer Jul 19, 2021

    I don’t like Microsoft Office anymore. I got the 30 day trial to see if it would work for me the way I want, but it uninstalled my previous Office without my permission or even warning me, so if I decide I don’t want it, I’ve got to go back and reinstall that and all my settings etc. I wasn’t able to use the new or old version of Outlook for days.

    Plus it’s changing all my files (again without my permission) so they’re not usable by my old version (I do have backups thank goodness). Very evil of them to make things as difficult as possible.

    I’m not liking Office 365 so I probably will go back to my old version, but they’ve created a lot of trouble for me on a product they presumably want me to use.

    JA
    jasim Aug 24, 2021

    how to remove this junction that created through cmd

      MZ
      Muhammad Zubyan Author Aug 25, 2021

      To remove the Junction you can use this command:-

      rmdir “path to junction link”

      “path to junction link” is a placeholder for the Junction path that you have created. Please backup important files from that folder we won’t be responsible for the loss of your data.

      Reply