Solved

Disallow a user from deleting any file

Posted on 2011-02-10
5
417 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 80

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
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…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

697 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