Solved

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

Posted on 2010-08-18
13
410 Views
Last Modified: 2012-05-10
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
Comment
Question by:jjanknegt
  • 5
  • 4
  • 2
  • +1
13 Comments
 
LVL 3

Expert Comment

by:robertodeacruz
ID: 33467552
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
 
LVL 6

Expert Comment

by:up_grayed_out
ID: 33467614
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
 

Author Comment

by:jjanknegt
ID: 33467925
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
 
LVL 6

Expert Comment

by:up_grayed_out
ID: 33468179
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
 
LVL 3

Expert Comment

by:robertodeacruz
ID: 33468415
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
 
LVL 3

Expert Comment

by:VBDotNetCoder
ID: 33477274
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:jjanknegt
ID: 33477493
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
 
LVL 3

Expert Comment

by:VBDotNetCoder
ID: 33477609
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
 

Author Comment

by:jjanknegt
ID: 33477739
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
 
LVL 3

Expert Comment

by:VBDotNetCoder
ID: 33478424
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
 

Author Comment

by:jjanknegt
ID: 33478483
That is correct - a warning if they would like to proceed with a deletion would be nice as well.

Thanks  VB
0
 
LVL 3

Expert Comment

by:VBDotNetCoder
ID: 33484697
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
 

Accepted Solution

by:
jjanknegt earned 0 total points
ID: 33568127
Hey VBDot.

any luck?

Jeff
0

Featured Post

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now