Click here to Skip to main content
15,117,549 members
Articles / Programming Languages / C#
Article
Posted 8 Dec 2003

Stats

98.1K views
952 downloads
51 bookmarked

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
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

Share

About the Author

dzzxyz
Web Developer
United States United States
Keep on coding!

Comments and Discussions

 
GeneralMy vote of 1 Pin
grin_t27-Sep-10 0:51
Membergrin_t27-Sep-10 0:51 
GeneralMy vote of 1 Pin
Michael90002-May-10 11:29
MemberMichael90002-May-10 11:29 
GeneralMy vote of 1 Pin
-midiman-5-Dec-08 11:25
Member-midiman-5-Dec-08 11:25 
QuestionHow about monitoring network drives Pin
mpmalajos19-Sep-07 22:23
Membermpmalajos19-Sep-07 22:23 
GeneralExcellent code Pin
Member 7079876-Sep-05 12:42
MemberMember 7079876-Sep-05 12:42 
GeneralMonitor the Start Process Pin
Anonymous21-May-05 12:21
MemberAnonymous21-May-05 12:21 
Generalcatch event before file opens Pin
krisst_k14-May-05 4:53
Memberkrisst_k14-May-05 4:53 
GeneralNice article. Very to-the-point and no unnecessary verbosity. Pin
xlang11-Dec-03 11:51
Memberxlang11-Dec-03 11:51 
GeneralRe: Nice article. Very to-the-point and no unnecessary verbosity. Pin
DragonByte25-Dec-03 9:50
MemberDragonByte25-Dec-03 9:50 
QuestionArticle ? Pin
nvoigt10-Dec-03 1:25
Membernvoigt10-Dec-03 1:25 
QuestionQuestion - why are _fso_lg, recycler, etc. filtered out of the file system activity? Pin
Member 7572949-Dec-03 13:24
MemberMember 7572949-Dec-03 13:24 
AnswerRe: Question - why are _fso_lg, recycler, etc. filtered out of the file system activity? Pin
Anonymous9-Dec-03 13:28
MemberAnonymous9-Dec-03 13:28 
Generalyes, another fine example Pin
funny thing9-Dec-03 13:06
Memberfunny thing9-Dec-03 13: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.