Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Why have some of my folders got a lock!

26 Jul 2009   #11
Austral

Windows Vista 7 RC1
 
 

I'm getting locks on all the folders in a partition I have, it just started today. My permissions had disappeared in that drive earlier today, I had to re-set myself as owner and now everything is locked, even if I create new folders or move other folders into that drive! Sharing is set as follows:



Suggestions are most welcome... thanks!


My System SpecsSystem Spec
.
27 Jul 2009   #12
Fliplip

windows 7 HP 64bit
 
 

Quote   Quote: Originally Posted by copernicus View Post
I've noticed the lock gets put on them when you create a read only share.
I also find that when you un share a folder a lock gets put on it.
Or maybe thats just on my PC as im on my 4th update from 7100.
My System SpecsSystem Spec
27 Jul 2009   #13
jasjeet

Windows 7 x64 RTM
 
 

yes, I added "Everyone" to sharing, then removed "Everyone", back to default, now has a lock. Only way to get rid of the lock is to share with "Everyone", but i don't want to!

Ugh, they should get rid of the Lock thing, and end it.
My System SpecsSystem Spec
.

27 Jul 2009   #14
Fliplip

windows 7 HP 64bit
 
 

Im not sure its a problem (for me at least) other than looking different. If i dont want it shared i can see why it would have a lock on it but i haven't found any downsides to this. I still have full access on the PC
My System SpecsSystem Spec
27 Jul 2009   #15
Fliplip

windows 7 HP 64bit
 
 

Just worked out how to get rid of the lock.
Right click the folder, go to Properties/sharing and then advanced sharing and un tick share this folder. This seems to take sharing off without putting the lock icon on it.
I guess the lock icon is to do to with setting the folder to share with no one rather than not shared.

Hope this helps.
My System SpecsSystem Spec
27 Jul 2009   #16
jasjeet

Windows 7 x64 RTM
 
 

Quote   Quote: Originally Posted by Fliplip View Post
Just worked out how to get rid of the lock.
Right click the folder, go to Properties/sharing and then advanced sharing and un tick share this folder. This seems to take sharing off without putting the lock icon on it.
I guess the lock icon is to do to with setting the folder to share with no one rather than not shared.

Hope this helps.

i required one extra step, add "Everyone" to sharing list, then disabled sharing the way you describe and its gone.

I think the lock means, the folder is shared, but only you have access to it.
My System SpecsSystem Spec
27 Jul 2009   #17
Fliplip

windows 7 HP 64bit
 
 

Quote   Quote: Originally Posted by jasjeet View Post
i required one extra step, add "Everyone" to sharing list, then disabled sharing the way you describe and its gone.

I think the lock means, the folder is shared, but only you have access to it.
Are these folders that you haven't shared already then?
I have had a few that have appeared over time with the lock on them and aren't shared folders. I just take ownership of them and the lock goes away.
My System SpecsSystem Spec
27 Jul 2009   #18
geometrikal

Windows 7
 
 

you can also get rid of the lock by adding Authenticated Users to the security permissions. I don't know wtf is happening here though, its damn annoying. At the moment everytime i try to unshare a folder is says 1 file is being used by 1 user do i want to continue. but in computer management / shares / sessions that user is me.

I suspect this may have something to do with folders or a drive that was owned by a previous perhaps vista user which has the same name as the the current win 7 user. I'm going to try a format and reinstall....
My System SpecsSystem Spec
27 Jul 2009   #19
Fliplip

windows 7 HP 64bit
 
 

I also get the folder being used by 1 user message but just ignore it. And this is on a clean install this morning when i was trying to get rid of the lock icon.
My System SpecsSystem Spec
27 Jul 2009   #20
geometrikal

Windows 7
 
 

I think I worked it out

Firstly, if a folder doesnt have "Everybody" or "Authenticated Users" in the security tab with read permissions then a lock icon will appear.

Say I want to share a folder, which has the following security permissions:

Authenticated Users - Modify
SYSTEM - Full Control
Administrators - Full Control
Users - Read and Execute

I right click and select Sharing and it comes up with:

Administrators - Owner
my_user_name - Read / Write

I click Share and the folder is shared.

BUT I think to Share the folder with the settings above - Administrators and my_user_name - windows automatically removes "Authenticated Users" and "Users" from the security permissions and adds "my_user_name".

So now the permissions after sharing are now:

SYSTEM
Administrators
my_user_name

Turning off sharing doesn't restore the old security permissions. So after turning it off we are left with no "Authenticated Users" and therefore a lock icon.

Same thing happens when sharing with HomeGroup and then unsharing - "Authenticated Users" is removed and the lock icon appears.

I think this is a bit of a bug personally. Everyone is going to end up with lock icons everywhere and the forums will be full with similar questions.

MY OTHER BUG

If I start a homegroup and share everything using the homegroup setting dialog it all shares on the network, even to other computers. If I then turn off sharing using the homegroup settings, those folders remain shared!

ANOTHER BUG

If I remove a folder from a shared library it remains shared!


I don't have any solution for these problems. To me they seem like bugs. One thing that helps normal sharing is to add "Everyone" in the security permissions, and then when sharing "Everyone" will be in the default list (for read only). Turning off sharing doesn't have the lock as "Everyone" was still in the security permissions. This doesn't work with HomeGroup sharing however, as "Everyone" is removed when sharing is applied.

I can't remember how the permissions changed when sharing in Vista?

Any one got any other ideas?
My System SpecsSystem Spec
Reply

 Why have some of my folders got a lock!




Thread Tools




Similar help and support threads
Thread Forum
Remove lock from folders and files
I am copying over documents and media backup from my old hard drive (Win XP SP3) to my new Win 7 install. I have read about the permissions issue. I followed these instructions and added the registry key to add take full control and permissions to the context menu. After taking ownership and...
General Discussion
[Query]How to lock folders in USB ext drive?
Dear All, Here is the scenario. I want to create a folder say 'abc' in an USB external hard drive. The files inside that folder 'abc' should be read-only for all other users except me. So, whoever using that ext hard drive in their machine, will be able to view or copy the files only, no...
Network & Sharing
lock or protect files and folders
hi guys, do any of you know a way how or if you can lock or protect individual files or even whole folders with a password or other means? intended for a home pc which everyone uses but i do not want the others at home have access to certain files or folders?
Music, Pictures & Video
How to remove lock icon from folders?
I was messing around with WMP12, and ended up accidentally sharing all of my libraries. Oops! I unshared them all, however ever since that happened all of the folders now have the 'lock' icon over them. The only way I can seem to get rid of them, is to reshare.. which I don't want to do. Anyone...
General Discussion
How can I lock my folders??
^ I need a way to lock or hide them. Is there a solid program for this? Preferably free. Thanks.;)
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:00.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App