Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Disallow a user from deleting any file

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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).
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

809 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