Skip to main content

Track Changes in Windows Server 2003 and higher

Track Changes in Windows Server 2003 and higher

If you are a Windows Server administrator, one of the critical jobs you usually do is manage the server, especially File Servers.

File Servers are usually accessible to more than one user for retrieving, adding, modifying, or deleting files. And, the reality is, it fs hard to keep track of what changes have been made over a period of time.

The only way to keep track of the changes is to document the baseline and the differences at every step. Sort of like a daily inventory and audit of your directories.

To do this, you need to create a batch file using a text editor. It will récord the date & time when the récord was taken and the actual details which you can use to compare the changes. Directory structures or files present in the directories will be saved in Filesys.log

  1. In your text editor, preferably Notepad, type in the following :

    echo OFF
    echo Filesystem Snapshot in Progress
    echo OFF
    echo Snapshot Time: %date% %time% >> "Filesys.log"
    echo >> "Filesys.log"
    echo ==== START OF LOG ================== >> "Filesys.log"
    tree /F >> "Filesys.log"
    echo ==== END OF LOG ==================== >> "Filesys.log"
  2. Savé it as <filename>.bat in C:\ .
  3. Once saved, on the command line, just type in the name of the batch file to execute.

    Example:   C:\> FSAUDIT.bat

    This should execute and produce a file Filesys.log on the same directory.
  4. Rename Filesys.log into a filename indicating the date when the snapshot was taken.
    Example:   C:\> ren Filesys.log_Mar_24_2010.log
  5. To compare changes between various log files, execute gfc h command.

    Example:   C:\> fc Mar_10_2010.log_Mar_24_2010.log
    Comparing files Mar_10_2010.log and Mar_24_2010.log
    ***** Mar_10_2010.log
    C:.
    "    angel.txt
    "    BA_activities.doc

    ***** Mar_24_2010.log
    C:.
    "    jhjhjhangel.txt
    "    BA_activities.doc
    *****

 

Comments

Popular posts from this blog

Tech Tips - Turn on Delegate Access

Turn on Delegate Access A delegate automatically receives Send on Behalf permissions. This means your delegate can do the following: ·          Respond to a meeting request sent to you, the manager. ·          Receive meeting request responses sent to you, the manager. ·          Compose and send an e-mail message that, when received, will have Delegate Name   on behalf of   Manager Name   next to   From . By default, the delegate can read only the meeting requests and responses sent to the manager. The delegate does not have access to read any other messages in your   Inbox . 1.      On the   Tools   menu, click   Options . 2.      Click the   Delegates   tab, and then click   Add . If the   Delegates   tab or the   Add   button is mi...

Multiple Choice Love Letter - Q&A Type Reply (Hilarious)

A teenage college guy sent a love letter (in Q/A format) to his classmate.   My Dearest Ishaa,     Please answer the following questionnaire. For Options   (A) 10 marks, (b) 5marks and (c) 3 marks.   **********   1) Whenever you enter the class room, your sight always falls on me because:   (a) of love (b) you couldn't control seeing me (c) really ... Am I doing it?   **********   2) Whenever professor cracks joke, you laugh and turn and look at me because:   (a) you always like to see me smiling (b) you are testing whether I like jokes (c) you are attracted by my smile   **********   3) When you were singing in the class, I entered and immediately you stopped singing because:   (a) you are so coy to sing before me (b) my presence influenced you (c) you feared that whether I'll like your song   **********   4) When you were showing your childhood photo, when I asked for it, you hide it because:   (a) you fel...

Healthy Heart - Tips

(Attchd): Heart Attack + Natural Home therapy for opening the veins of the heart. For Heart Vein opening: Lemon juice              01 cup Ginger juice              01 cup Garlic  juice              01 cup Apple vinegar            01 cup Mix all above and boil on low heat, approximately half  hour, when it becomes 3 cups, take off stove and let cool. After cooling, mix 3 cups of natural honey and keep it in bottle. Every morning before breakfast  use one Table spoon regularly. Your blockage of Vein's will open. No need now for any Angiography  or Bypass... Please pass on this to your real well wishers... Wishing you a healthy life     Thanks & Regards ============================ Mohammed Rahman Mecheri ...