"Users" folder shared with everyone

All we need is an easy explanation of the problem, so here it is.

Today I found something strange on my newly installed Windows 7 OS – my “users” folder C:\Users was shared and “Everyone” had full access… I disabled that and now it seems fine, however I’m a bit scared actually, I’d like to know what caused that and if my system is compromised.

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

There is a known phenomena that shares the entire users folder, related to public folder sharing. see a description here: http://scottiestech.info/2009/09/25/windows-7-file-sharing-fixing-the-entire-user-directory-shared-problem/

Please note however, that share permissions stack on top of disk permissions, so if your user profile does not allow Everyone Full Control, then the share permissions don’t override that. in fact MS recommends that all shares use permissions of Everyone Full Control, and that the folders shared implement actual permissions.

The reason is that backing up a disk or rebuilding your OS preserves file system permissions, but not shares/share permissions, so if you put all your ACL logic in the share, and the share is lost, the permissions are lost with it, and your users will end up with more access than they should.

I know seeing a folder with share permissions of Everyone Full control is scary, but its probably not that bad unless you have opened up the permissions on your account folders.

info on how to configure public folder sharing in win7 here:

Method 2

Here is the official word from Microsoft TechNet, The C:\Users folder is shared when any sub folders from C:\Users\<username>\ is shared. The article is stale and mostly unhelpful, but worth knowing to complete the story.

Method 3

In addition to Frank’s answer, if you need to remove the share, go to Control Panel > Folder Options > View tab. Scroll down to the bottom and uncheck “Use Sharing Wizard (Recommended)”. Then remove the share on Users folder.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply