Question Locked

Tracking or monitoring the file/folder copy

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I would like to know if there are any ways to programmatically detect or monitor the file or folder being copied either by copy command(like on command prompt-- copy a b) or by using drag/drop(ctrl+c and ctr+v).
It would be helpful if you could atleast give some pointers.

OS: Windows XP
Lang: VC++

thanks and regards
Dinakara K

2 replies

by tmalo627

As long as you this is the Professional edition of XP, you can go to Control Panel > Administrative Tools > Local Security Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies > Audit Policy > Audit Object Access. Make sure to check for failures as well as successes to find out when people are attempting to copy the file or folder. This is only Step 1. Now you have to go to that folder or file and open up its Properties menu. Click on the Security tab. Click the Advanced button near the bottom of the dialog box. Click the Auditing tab and add whatever users or groups you'd like to monitor. Then you will have to select which actions you want to audit. Click OK all the way back to your desktop. All the entries will be stored in your security log in Event Viewer.

This discussion is closed to new replies.