How do I permanently keep a network share in my Finder favorites? I added one of my network shares to my favorites. Whenever I lose connection to that share it gets removed from my favorites. How do I prevent this from happening?
If you want to keep a Mac connected to a network drive, even after restarting, the easiest way to do this is to follow two major steps:

First Mounting the Windows Share

When you are in Finder you can click Go and Connect to Server or you can type Command + K to get to the same menu.

In Server Address you will need to put the location of your Windows share with this format smb://server/share where the server is the name or IP address of your Windows machine and share is going to be the folder or drive you to want to mount.

If your Windows share requires authentication it will ask you for that info here.

Now if you have Connected Servers showing on your desktop, it will show up on your desktop and in Finder.

And last, Making the Share Mount at Login

Follow the next step. 


Hit the Apple menu, then System Preferences > Users &amp; Groups
From here, select Login Items and click + to add a new item
Find your network drive and click Add, then close the window




In another hand, you can try this too 

If it has an IP#, supports AFP and user authentication... maybe try this AppleScript as a start ( Create this with Script Editor ). Replace username, password, and IP with your info:

try

  mount volume "afp://username:password@ip_address/sharename"

end try


Save the script as an application

  File -&gt; Save As -&gt; File Format -&gt; Application


Then go to

Sys Prefs -> Accounts -> Login Items

and add that application to your login items as shared on the first solution with the screenshot.