Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to prevent a file from being deleted?

24 Sep 2009   #1
Mazen

W7 Professional
 
 
How to prevent a file from being deleted?

Hey, i have an internet filter which cannot be bypassed unless a certain file is deleted...so is there a way to prevent this file from being deleted?


My System SpecsSystem Spec
.
24 Sep 2009   #2
Tews

64-bit Windows 8.1 Pro
 
 

Short answer, I dont think so ... for a more detailed answer -->> here
My System SpecsSystem Spec
24 Sep 2009   #3
Barman58

Windows 10 Pro x64 x2 Windows 10 Enterprise x64, Ubuntu
 
 

As an addition to the post that Tews has made above there are some more advanced methods to add to the protection using the advanced permissions.

This would involve removing the take ownership right from the administrators group for the file.

To do this you need to remove all permissions from the file apart from those for your particular username.

This has the advantage that the other user will not be able to even see the file - and if they do not know of it's existence half the battle is already won.

The highly advanced user may be able to access the file by the use of other techniques but the more difficult you can make it the better the security is.

The best security of all is of course do not allow physical access to your machine by anyone that does not have your complete trust.
My System SpecsSystem Spec
.

24 Sep 2009   #4
Mazen

W7 Professional
 
 

thanks...this may help a little.
My System SpecsSystem Spec
24 Sep 2009   #5
stevecn70

Windows 7 64bit RTM
 
 

Just make sure you have seperate accounts set up on the machine, make sure the account you want to restrict doesn't have admin rights. Then go to the permissions of that file and make it so "users" only has read only access.
My System SpecsSystem Spec
24 Sep 2009   #6
Mazen

W7 Professional
 
 

Quote   Quote: Originally Posted by stevecn70 View Post
Just make sure you have seperate accounts set up on the machine, make sure the account you want to restrict doesn't have admin rights. Then go to the permissions of that file and make it so "users" only has read only access.
yea i figured this out...thanks anyway.
My System SpecsSystem Spec
25 Sep 2009   #7
wmp12

Vista
 
 

Came across this a while back:

Prevent cut, paste, copy, delete, re-naming of files & folders with Prevent v 1.0 | The Windows Club

We are pleased to release Prevent v 1.0, a freeware app which runs on all Windows. If you don’t want anyone deleting or renaming or messing around with your data, maybe your younger sibling, then Prevent may be able to help you.

Prevent :
1. Stops Cut
2. Stops Paste
3. Stops Copy
4. Stops Delete
5. Stops Copy To
6. Stops Move to
7. Stops Send To
8. Prevents renaming
9. Disables Task Manager’s End Process button. Also it doesn’t allow you to right click on process name and click on end process. It also greys out the context menu items, disable Ctrl+C, Ctrl+X and Ctrl+V and/or stops the process.
My System SpecsSystem Spec
Reply

 How to prevent a file from being deleted?




Thread Tools




Similar help and support threads
Thread Forum
Open File - Security Warning : Allow or Prevent to Unblock File
Allow or Prevent to Unblock a File to Stop the "Open File - Security Warning" Prompt This will show you how to allow or prevent all users from being able to stop the Open File - Security Warning prompt by removing the unblock button and Always ask before opening this file check box for a...
Tutorials
File Cant be Deleted!
Hi, I have this file i want to delete. It is a part of a video where i converted using VLC. it has a .asf extension. The problem is when i delete it using delete or shift+delete nothing happened, it just takes forever discovering items. i have provided a screen shot. Can anyone give a hint...
General Discussion
How do I prevent CD/DVD drive access on every file operation?
I'm new to the forum - thanks for having me here ;) About a week ago I started noticing that the CD/DVD drive on my laptop was being accessed on just about every file open, save or browse operation. Please forgive me if I'm not using the right terminology. For example, if I save an image from a...
Hardware & Devices
Any way to prevent notepad or Emacs from making file associations?
I have an ongoing problem with using Emacs on a Win7 machine. When I edit a .bat file and save the file, Emacs updates the registry with an association to 'open' .bat files with the Emacs editor. Batch files then fail to run properly, as they get open with Emacs rather then simply being run by a...
General Discussion
file won't be deleted
Hello everyone I'm having a problem deleting a file, each time I try to delete it this comes up http://img593.imageshack.us/img593/2231/91503748.png please help
General Discussion
File Keeps on being Deleted
I got this file that is required for a game to work but the computer keeps deleting it. Not sure if the computer is deleting for moving the file but the file has to be in the game folder for it to work. The file is d3d9.dll. How do I prevent the computer from deleting or moving the file?
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:01.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App