Prevent Windows 7 User Accounts from accessing files in other User Accounts

Posted by Mantis on Super User See other posts from Super User or by Mantis
Published on 2012-02-02T17:22:16Z Indexed on 2012/06/23 21:20 UTC
Read the original article Hit count: 704

I'm trying to set up another User Account on my Windows 7 Professional laptop for use by another person. I do not want that person to have access to any of the files in my User Account on the same machine. This machine has a single hard disk formatted with NTFS. User accounts data is stored in the default location, C:\Users.

I use the computer with a Standard Account (not an Administrator). Let's call my user account "User A."

I have given the new user a Standard Account. Let's call the new user's account "User B."

To be clear, I want User B to have the ability to log in to her account, to use the computer, but to be unable to access any of the files in the User A account on the same machine.

Currently, User B cannot use Windows Explorer to navigate to the location C:\Users\User A. However, by simply using Windows Search, User B can easily find and open documents saved in C:\Users\User A\Documents. After opening a document, that document's full path appears in "Recent Places" in Windows Explorer, and the document appears as a file that can be opened using the "Recent" feature in Word 2010. This is not the desired behavior. User B should not have the ability to see any documents using Windows Search or anything else.

I have attempted to set permissions using the following procedure.

  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."

The system should then begin working. The process could take several minutes.

When I followed this procedure, I received several "Access Denied" errors, suggesting that the system was unable to set the permissions as I had directed. I think this might be one of the reasons why User B is still able to access files in User A's account folders.

Is there any other way I could accomplish my goal here? Thank you.

© Super User or respective owner

Related posts about Windows

Related posts about permissions