I am trying to set up a MiKTeX installation for Multiple Users on the same PC (OS: Windows 10), where the user installed packages get installed into a shared directory. On MiKTeX Documentation there is a description stating that the options --user-install allows specification of the installation destination for packages installed by the user.

I have tried to install in the Command Prompt as Administrator using the following: basic-miktex-2.9.7031-x64.exe ^ --shared ^ --user-install=^<PROGRAMDATA^>\texmf

The "%PROGRAMDATA%\texmf" directory (expand to "C:\ProgramData\texmf" in Windows 10) is TDS compliant, but still after installation completion the default directory for user installed packages ends up in "%APPDATA%\MiKTeX\2.9" (this expands to "C:\Users{username}\AppData\Roaming\MiKTeX\2.9" in W10). Which means that user installed packages are not shared, but that the same package will get installed multiple times (once per user).

Does anyone know how to fix this? I would expect it to be possible to have a shared location for user installed packages.

  • 1
    That's a question for the miktex issue tracker: github.com/MiKTeX/miktex/issues. May 10, 2019 at 13:12
  • Thanks for your reply, I will submit it there. May 10, 2019 at 13:17
  • The official answer from Christian Schenk (author and principal developer of the popular MiKTeX distribution of TeX): "The --user-install option has no effect when installing MiKTeX system-wide. Maybe we can fix it in one of the next releases.". May 11, 2019 at 19:54
  • Seems to be fixed now: github.com/MiKTeX/miktex/issues/312
    – moewe
    Jun 8, 2019 at 14:20
  • @moewe Indeed it has been fixed and I have tested it on Windows 10 within my University. Installed packages are now shared from one location amongst users when specifying the option --user-install. Jun 11, 2019 at 7:04

1 Answer 1


There is a much easier way to install MikTex.

Just install chocolatey on your windows 10. Refer: https://chocolatey.org/

Then go ahead to command prompt and run it as an administrator, then type in: choco install miktex

  • Nice remark, but not useful for Organisations such as Universities. Definitely an option for private users. May 6, 2020 at 17:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .