Can I hide a windows share folder and still be able to access it using the path

I want to be able to hide a shared folder such that people cannot see it and can only access it using the full path.

\\servername\log should be accessible but when I do \\servername\ the log folder should not be visible

Is this possible?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tom CieslikIT EngineerCommented:
To make a shared folder or drive hidden, simply add a dollar sign ($) to the end of the Share Name.

In Windows, right-click on the folder or drive for which you want to create a hidden share and select Sharing and Security.

The Folder Properties window will appear.

In Windows Vista, right-click on the folder or drive for which you want to create a hidden share and select Properties. Then, on the Folder Properties window, click the Sharing tab and click the Advanced Sharing button.

If User Account Control is active, enter an administrator's password if required, and click the Continue button. The Advanced Sharing window will then appear.

Select the Share This Folder or Share This Folder on the Network radio button or checkbox.

Tip: If the folder or drive is already been shared, but you want to change it to a hidden share, you must first disable sharing (deselect the Share This Folder option and click OK), and then come right back to enable sharing using these steps.

Enter a name for the share, followed by a dollar sign, into the Share Name text box, as the figure illustrates.

 Share Name Text Box
Share Name Text Box
(Click for larger image)
If you're using Simple File Sharing in Windows XP, check or uncheck the Allow Network User to Change My Files option. Otherwise, when using advanced sharing in XP or Vista, specify the remaining settings: Comments, User Limit, Permissions and Caching.

Click the OK button.
Lee W, MVPTechnology and Business Process AdvisorCommented:
Just a note - while the $ will hide a share from Windows computers, Macs and Linux systems that access a Windows share will enumerate the $ shares in my experience.
Shaun VermaakTechnical Specialist/DeveloperCommented:
Alternatively, you can hide folders within a share based on user permission with Access Based Enumeration (ABE)
For example, with ABE, if I only have rights to one folder but 100 folders exist, I will only see one.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Tom CieslikIT EngineerCommented:
You can also remove share permissions to all users and assign only to yourself.
Yes, they will see share but they will not going to be able access it.
If not, use my advise in first post.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Since you do not want to restrict access, just visibility, making the folder hidden should be sufficient. However, that is only a "soft restriction", as the client can decide at any time to display hidden folders in Explorer or by running e,g. dir /A:h. It is good for keeping the list of visible folders shorter, but does not enforce anything.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.