Once you hide the shared folder, you cannot access it if you browse the server by using File Explorer. You can access a hidden shared folder by typing in its UNC path.
To hide a shared folder, you just need to append the dollar symbol ($) to the folder’s share name.
For example, you can change a shared folder on File-Server1 named Sales into a hidden shared folder by naming the folder Sales$.
The shared folder will be accessible over the network by using the UNC path \\File-Server1\Sales$.
If you have any others trick to hide the share folder, please share with me. 🙂