# Macos – In Mac OS X, how to automatically connect to samba server when machine starts

bootmacossamba

In Mac OS X, how do I automatically connect to a remote hard drive on a samba server when machine starts? I normally manually do Finder -> Go -> Connect to server (Command+k) -> type in smb://foobar.com -> select partition and directory. Is it possible to have it connected automatically every time the machine starts?