Change Mailbox Folder location

MailStore Gateway stores its data and configuration files in C:\ProgramData\MailStore\Gateway. To change that location, that folder and all of its content has to be moved to the desired location and a symbolic link has to be created which points to the new location.

  • Start the MailStore Gateway Config Tool by clicking on the desktop shortcut MailStore Gateway.
  • Stop the Gateway service by clicking Stop Service.
  • Move the folder C:\ProgramData\MailStore\Gateway and all of its content to your desired location. We will use D:\Gateway as an example.
  • Open an elevated (administrative) command prompt (cmd).
  • Navigate into C:\ProgamData\MailStore.
  • Execute the following command to create a symbolic directory link:
mklink /D Gateway D:\Gateway
MailStore Gateway Command Prompt.png
  • After the command is ran successfully, when you go back into the C:\ProgramData\MailStore directory, you will now see a shortcut, which can be used to verify that the move process completed successfully.
MailStore Gateway Symbolic link.png
  • Restart the Gateway service by returning to the MailStore Gateway Config Tool and clicking Start Service.