Automatic mounting of available network shares in Windows 10


I’ve been wondering for some time how Microsoft has implemented the automatic mounting of available SMB network shares so foolproof in Windows 10. Once you have opened and pinned a network share in Windows Explorer, it is automatically mounted if it is available on the current local network. If not, a decent notification will appear informing you that not all network shares could be mounted.

In Linux you have several options for automatically mounting shares available on the current local network.
First you have to install cifs-utils.
Then you have to

  • install “autofs` and create several cryptic configuration files or
  • create a cryptic systemd unit file or
  • use a dedicated tool from your desktop environment for setup, if there is such a tool or
  • do something else.

In my experience, all options for Linux require more time and frustration tolerance than on Windows.