If you intend to install MiKTeX on many client computers, here is the recipe:
Get the MiKTeX Setup Utility for Windows:
wget https://miktex.org/download/win/miktexsetup-x64.zip unzip miktexsetup-x64.zip
Run the setup utility on the server to set up the local package repository:
miktexsetup --verbose --local-package-repository=C:\temp\miktex --package-set=complete download
Depending on your Internet connection, this will take some time. When the command finishes, you have a local package repository in
C:\temp\miktex. It is recommended that you run this command periodically in order to keep the repository up-to-date.
Share the local package directory so that network users can install MiKTeX from here:
net share miktex=C:\temp\miktex /grant:everyone,READ /users:10
Create a script which can be run on client machines to silently install MiKTeX:
@echo off \\SERVER\miktex\miktexsetup.exe --quiet --local-package-repository=\\SERVER\miktex --package-set=basic install
Visit the client computers and run the script.