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: I locked myself out of my own (C:) folder through stupidity

01 Sep 2015   #1

Windows 7 Home Premium 32bit
I locked myself out of my own (C:) folder through stupidity

So I was trying to get the files on my my specific account locked from all the others accounts on my home computer and I followed these instructions that I found on the web:

1.) Using an Administrator account, navigate to C:\Users and right-click on the "User A' folder. Select "Properties."
2.) In the "User A Properties" window that appears, click the "Security" tab.
3.) Click the "Edit..." button to change permissions.
4.) In the "Permissions for User B" window that appears, under "Group or User Names," select User B
5.) Under "Permissions for User B" check the box under the "Deny" column for the Full Control" row. Ensure that the "Deny" box is automatically checked for all the other rows and then click OK.

After following these instructions, I discovered to my horror that I hadn't selected an owner for the folder I was protecting, and now that it is locked and the files are secure, I can't even access them and I am unsure of how if I can reverse this process. I cannot access the internet through browsers on that specific account that I intended to view my C: User files with, although my internet connection is fine and I am able to access internet through the others accounts.
forgive my stupidity and any and all help is appreciated

My System SpecsSystem Spec
01 Sep 2015   #2

Windows 10 Pro X64

You can try doing a System Restore to before you made these changes.
My System SpecsSystem Spec
02 Sep 2015   #3

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan

If a System Restore is not preferable or an option, we can help you undo the bad permissions manually, Lollygag. Run the below commands into a Elevated Command Prompt, then copy and post the second command's output here.
takeown /f "C:\Users\UserA"
icacls "C:\Users\UserA"
My System SpecsSystem Spec


 I locked myself out of my own (C:) folder through stupidity

Thread Tools

Similar help and support threads
Thread Forum
Minidump folder locked
I just had a crash on my Desktop computer and planning to analyze the dumps but to my surprise the minidump folder is locked and the minidump files inside it cannot be copied to a different folder. I can go into the Security permissions of each file and add my administrator account there and fix...
General Discussion
Locked Folder?
There is a small lock next to one of my folders. I have searched high and low (and left and right) and I can not find any info. about it. I went through the list of folder options but no mention of it. Does anyone know about it? How did it get there and how can I get rid of it?
General Discussion
Folder locked by wmpnetwk.exe
I have a folder on an external hard drive that is locked by wmpnetwk.exe. I cannot unlock it with Lock Hunter as "The processes are still locking it". I have searched for an answer and the only advice I can find is "Don't' delete wmpnetwk.exe as it is required by the OS. I now can't add any new sub...
General Discussion
Locked out of a user folder
Hi, I was attempting to find a way to have my family of 5, be able to each have their own individual accounts (as admins) but made so they couldnt access each others files in the C drive. So I decided to mess with the security settings tab under properties of the users folder, and I edited...
System Security
locked minidump folder
I've been experienceing crashes with my computer for a while and have been ziping my minidump files and putting them on a fourm but now the minidump file has a lock icon on it. It also wont let me zip the dump files anymore. I tried changing the permissions of the users but when ever i change...
General Discussion
Folder Lock problem
hi Can some tell me how to remove the lock icon from a users folder. I know how to set folder share and security permissions with XP and Vista. But after trying every setting i know Windows 7 has me beat. I can access all computers on my network from the windows 7 machine. But get error...
Network & Sharing

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 07:57.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App