• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 421
  • Last Modified:

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.

HELP

Thanks experts
0
jjanknegt
Asked:
jjanknegt
  • 5
  • 4
  • 2
  • +1
1 Solution
 
robertodeacruzCommented:
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?
0
 
up_grayed_outCommented:
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.
0
 
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

0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
up_grayed_outCommented:
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.
http://support.microsoft.com/kb/838421
0
 
robertodeacruzCommented:
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.
0
 
VBDotNetCoderCommented:
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.
0
 
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.

J
0
 
VBDotNetCoderCommented:
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...
0
 
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?

0
 
VBDotNetCoderCommented:
Ok.

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?
0
 
jjanknegtAuthor Commented:
That is correct - a warning if they would like to proceed with a deletion would be nice as well.

Thanks  VB
0
 
VBDotNetCoderCommented:
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...
0
 
jjanknegtAuthor Commented:
Hey VBDot.

any luck?

Jeff
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now