Click here to Skip to main content
15,886,753 members
Articles / Programming Languages / C#
Article

Monitor all file system activity on a target server

Rate me:
Please Sign up or sign in to vote.
2.40/5 (39 votes)
8 Dec 20031 min read 100.6K   967   51   14
This file system watcher allows you to monitor all file system activity on a target server.
Download source files - 14.9 Kb

Introduction

This file system watcher allows you to monitor all file system activity on a target server. This is particularly useful when you are working with an  architecture that requires complex configuration modifications. By  deploying this file system watcher you can keep a history of what  files are created, modified and deleted and when these events occurred. You can also determine if any automated build processes are occurring on the target machine by recognizing regular binary drops, etc.

This simple solution was brought to you by the Chatbot! Cyber Community where humans and chatbots unite!

Instructions to deploy

Step 1

Build \FileSysWatch\FileSysWatch.sln

Step 2

Copy \setupFileSysWatch\Debug\Setup.Exe to target server

Step 3

Remote-Desktop into target server. On Windows 2000: Start->Programs-> Accessories->Communications->Terminal Service Client

Step 4

Create directory structure: C:\SimpleSolutions\_fso_lg\ on target server

Step 5

Install \setupFileSysWatch\Debug\Setup.exe on target server

Step 6

At command prompt on target server type "net start filesyswatch"

Step 7

Periodically look at log file in C:\SimpleSolutions\_fso_lg\ on target server

Step 8

"Disconnect" from remote server do not "log off" and your FileSysWatch process will continue to monitor file system activity when you are logged off.

Deployment Model

Image 1

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Keep on coding!

Comments and Discussions

 
GeneralMy vote of 1 Pin
grin_t26-Sep-10 23:51
grin_t26-Sep-10 23:51 
GeneralMy vote of 1 Pin
Michael90002-May-10 10:29
Michael90002-May-10 10:29 
Is this an article? no!!
GeneralMy vote of 1 Pin
-midiman-5-Dec-08 10:25
-midiman-5-Dec-08 10:25 
QuestionHow about monitoring network drives Pin
mpmalajos19-Sep-07 21:23
mpmalajos19-Sep-07 21:23 
GeneralExcellent code Pin
Member 7079876-Sep-05 11:42
Member 7079876-Sep-05 11:42 
GeneralMonitor the Start Process Pin
Anonymous21-May-05 11:21
Anonymous21-May-05 11:21 
Generalcatch event before file opens Pin
krisst_k14-May-05 3:53
krisst_k14-May-05 3:53 
GeneralNice article. Very to-the-point and no unnecessary verbosity. Pin
xlang11-Dec-03 10:51
xlang11-Dec-03 10:51 
GeneralRe: Nice article. Very to-the-point and no unnecessary verbosity. Pin
DragonByte25-Dec-03 8:50
DragonByte25-Dec-03 8:50 
QuestionArticle ? Pin
nvoigt10-Dec-03 0:25
nvoigt10-Dec-03 0:25 
QuestionQuestion - why are _fso_lg, recycler, etc. filtered out of the file system activity? Pin
Member 7572949-Dec-03 12:24
Member 7572949-Dec-03 12:24 
AnswerRe: Question - why are _fso_lg, recycler, etc. filtered out of the file system activity? Pin
Anonymous9-Dec-03 12:28
Anonymous9-Dec-03 12:28 
Generalyes, another fine example Pin
funny thing9-Dec-03 12:06
funny thing9-Dec-03 12:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.