Disallow a user from deleting any file

Please tell how I can disallow a particular user from deleting any files (including the ones created by him) on a Windows 7 computer.

Thanks!
dshrenikAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dshrenikAuthor Commented:
This seems to work only for existing files, and I have to do it for each file separately. How do I do the same for all files (including those that will be created in the future by the user himself)?

Thanks!
David Johnson, CD, MVPOwnerCommented:
what is the real purpose of this file restrictions? and you can do it globally by changing the drive/folder and editing the permissions as shown in the article.
☠ MASQ ☠Commented:
This is could cause some real functional problems with using Windows and software packages as a global prevention of file deletion could stop legitimate temporary file deletion by programs.  It may be better to restrict the effect to certain file locations but to help you best as ve3ofa says we really need some background about why you need this.
Saikapian_4739Commented:
You can restrict the user's permission to read only for all your drives on your system and the user wont be able to even change any of the files. Or better would be to grant just read and write permission and not the MODIFY permission and then user can read and write to files but can NOT delete them.

So that would suffice. Here is how to give permission.

Right click Drive letter (c/d/e) > Properties > Security > Permissions > Select the user and change the permissions.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.