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

How do I choose my password?

How do I choose my password? Your password is more than just a key to your online account. If your password falls into the wrong hands, someone can easily impersonate you while online, sign your name to online service agreements or contracts, engage in transactions, or change your account information. So, choose your password carefully and then keep it safe from others. A password is like a toothbrush: Choose a good one and don't share it. A Yahoo! password can be any length, and can contain spaces, symbols, or numbers. With so many options, you should be able to come up with a password that's easy for you to remember but impossible for someone else to figure out. A password is a secret that only you should know. Here are some tips for choosing a strong password - one that is difficult to guess. . Choose a password you'll remember. It should be memorable for you (so that you don't have to write it down or leave it in the open), but difficult for others to guess....

Tech Tips

Change the ruler's measurement units for comfortable form and report design   The ruler is a great way to ensure that your reports print accurately or your form controls are right where you want them. However, you may not know exactly what measurement units Access' ruler indicates. If you're more comfortable with the metric system (centimeters instead of inches), you can adjust your ruler permanently. Or, if you have Access 2003, you can simply input measurements in your preferred unit. To change the ruler's units of measurement: 1. Access your Windows Control Panel, which you can usually find on the Start menu. 2. Double-click on the Regional And Language Options icon. If you're using Windows XP's Category view, just click on Date, Time, Language, And Regional Options and then click on Regional And Language Options. 3. In the Regional And Language Options dialog box, select the Regional Options tab, if necessary. 4. Click the Customize button to display the Cus...