Notify a user they are about to delete or move a file

How can I have the users notified in XP that they are about to move or delete files.

when they are working on the net work share some users accidentally move folder and delete stuff.  Just been to quick with the clicks and mouse. and before they no it folder are been moved or deleted.

how to I have XP notify them that this is about to happens.

This is a domain environment, SBS 2003,

Please help the clients wants me to lock down the whole shared drive but with some of the programs user use this is not possible.


Thanks experts
Who is Participating?
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.

These users should have this permission can move or delete? Or you really want to get a message each time a user is attempting to perform an operation of these?
Do they need to be able to move and delete files/folders that they aren't creators of? You can edit permissions so that only administrator and creator/owner can modify and delete.
jjanknegtAuthor Commented:
Yes they do they are accountants and a few programs they use that create and delete file constantly. plus moving stuff files between folders and also taking offsite some times.

I have tried that and it doesn't work people calling me all day.

why can XP just say do you want to move or do you want to delete.

I know it does it when working locally but not on the mapped drives.

Any ideas

Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

Sorry, I don't know of any way to control the notification. I had a similar problem. Users deleting or overwriting stuff all the time. They definitely got a notification before overwriting, but that didn't stop them. I ended up implementing volume shadow copy, so I could at least rescue their data after the fact.
Don't understand how we can help...
Even if it is possible to display a message when the user to delete a file, how to this help you? The file will not be deleted in the same way?
The files that programs create and drop are known? You can to establish that files the user may have access or not?

Try to improve the explanation of the situation you have there, because maybe the solution exists and is easy with NTFS permissions.
I think you cannot revoke delete/move/create/change rights from the users since the software(s) they use need these rights.

So I guess you only want to warn the users each time they try to move or delete a file/folder.

I think the best way is to use the Volume Shadow Copy service of SBS2003.

If you implement this feature, you'll be able to keep multiple copies of the files and revert back to them (or recover them) any time you want.

If VSS does not help, let me know. I have something else in my mind... But I think you must implement VSS.
jjanknegtAuthor Commented:
I have VVS running and it works well.

I know i have seen these features before to notify a user of what action it is about to preform.

i guess this is not possible in a domain environment.

strange though.

Thanks experts see if any one has anything else to say.

It is possible...

If you want, I can send you a tiny utility.

This utility will run as a TSR and will warn you the way you want when a user tries to delete/change/move a file from a directory you selected.

If you tell me EXACTLY what you need (like warn only when deleting or deleting & moving...) I'll modify the utility and send it to you. If you are familiar with VB.NET, I can send you the source  code too...
jjanknegtAuthor Commented:
That is awesome VBDotNetCoder.

The partners at the firm i do IT for just want the users to not accidentally move or delete files.   I am trying to get them to stop using explorer view and accidental draggin stuff to other folders but its hard to train a old dog.....  blah blah

so i figure if they are notified that this is about to happen they can accept or decline.

So we have one mapped drive which is the F drive on the file server that has all the dynamic data in it this is the folder (or Drive) that i need to have a little more protection on it. mostly prevent the accidental move.

hope i made sense, what do you think?


So what I understand is... You want the users to be warned when they try to MOVE a file/folder from a certain location (a folder in F drive and its sub-folders).

Is that right?
jjanknegtAuthor Commented:
That is correct - a warning if they would like to proceed with a deletion would be nice as well.

Thanks  VB
jjanknegt, I'm really sorry. I thought it can be done with FileSystemWatcher component of VS.Net. I tried but it only lets you know the file is deleted/moved. I didn't remember it correctly.

Now I know a file system filter driver is needed to accomplish this (thanks to you!)

I'll try to code a tool, just for learning purposes. If you want, I can send it to you when I finished but it'll take some time (a couple of days, 1 week maybe).

Again I'm sorry...
jjanknegtAuthor Commented:
Hey VBDot.

any luck?


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
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 Server 2003

From novice to tech pro — start learning today.