Windows 7 - Prevent Write to Fold but allow write to sub folders

Posted on 2011-04-22
Last Modified: 2012-05-11

I am trying to organise my files and folders better.
Ideally, I would like the "My Documents" folder to be locked so that no files can be saved directly to it.
However, I have sub-folders beneath "My Documents". I want full write facilities to these subfolders.

How can I achieve the above?

Question by:Patrick O'Dea
    LVL 37

    Accepted Solution

    Right click the My Docs folder and select Properties. GO to the security tab, click Advanced. Remove the checkbox from Inherit Permissions, select copy, then change the settings for the account you want to only have read access and remove any users that need no access. Once that's done, you can set the permissions on all lower level folders any way you want using the permissions inherited from My Documents using the read only minimum.
    LVL 37

    Expert Comment

    by:Adam Brown
    You'll need to do this from c:\users\<username>\ and not the Documents link that shows up on the left side in Windows Explorer.
    LVL 13

    Assisted Solution

    Right click on My Documents, change permissions to DENY write capabilities.

    Now, inside of the My Documents, Select your folders, right click and select security, then click advanced.

    From there uncheck the option that says "inhereit parent permissions....".

    click remove.

    Click ok.

    Right click subfolders, click security, add your user account and then give it full control.
    LVL 13

    Expert Comment

    LOL. Need to refresh the page.

    What he said.

    Author Closing Comment

    by:Patrick O'Dea
    Thanks folks!

    Got it1

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Vista's Magnifier was a tool that could be turned on in the Ease of Access Center so that things on the screen could be seen more easily.  The Vista tool showed you a magnified view in a window of what you were pointing at with your mouse.  But the …
    I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
    This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
    This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now