Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems like someone has been tampering with a hosts file on a client server (they have multiple sites hosted on their server which are managed by different users)

Today one of our services stopped working as the host file had been changed, we have now fixed the host file, but what I would like to know is, is there any way we can see when the file was last changed? As this would allow us to pin point which users were logged in at that time and hopefully work out who made the change!

Thanks all :)

share|improve this question
NTFS file properties don't show the last modified date? – Shinrai Sep 30 '10 at 18:13

It's not in the event log. But as mentioned in the comment, you can see the last modified time in Windows Explorer or the file properties.

share|improve this answer
... but since you already fixed the file the last modified date is now incorrect for your investigation. – Chris Nava Sep 30 '10 at 18:48
They might still be able to see the change in a backup tape. – Joel Coehoorn Sep 30 '10 at 19:57
But Chris is right. I didn't even think about it :/ – Shinrai Sep 30 '10 at 21:06

You can get modifications in the Security log if you enable auditing in the security property sheet of hosts (hidden under the Advanced button).

It won't work retroactively, however. So it's not an answer to your question.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .