Skip to content

Windows File system monitor which detects and logs changes made to the given files and directories.

Notifications You must be signed in to change notification settings

lidorco/FileSystemMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File System Monitor

Windows file-system monitor which detects and logs changes made to the given files and directories. The file-system monitor gets a list of directories to monitor, and logs any changes made to the directory and all sub-directories and files to the console.

Simple Usage

StartMonitorDirectory(std::wstring(L"C:\\temp\\test\\test7"));

How it works?

I used the Windows Audit Mechanism to track changes made to files/folders in the directory we tracked (this is implemeted here ). In order to received events written to Event Log I created a subscriber which implemeted here. The manager which start tracking each directory given is implemented here.

Prerequisites

Visual Studio 2015

Compile and Deployment:

This project was develop in Visual Studio 2019 in 64 bit. In order to run it:

  • Build the project (Ctrl+Shift+B)
  • Run it (Ctrl+F5)

Future work

Still need to write the logs messages to file.

About

Windows File system monitor which detects and logs changes made to the given files and directories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages