Solved

Disallow a user from deleting any file

Posted on 2011-02-10
5
406 Views
Last Modified: 2012-05-11
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!
0
Comment
Question by:dshrenik
5 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 167 total points
ID: 34867161
0
 

Author Comment

by:dshrenik
ID: 34867265
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!
0
 
LVL 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 166 total points
ID: 34867381
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.
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 34868545
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.
0
 
LVL 2

Assisted Solution

by:Saikapian_4739
Saikapian_4739 earned 167 total points
ID: 34868747
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.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

762 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

24 Experts available now in Live!

Get 1:1 Help Now