image: choose details windows display
Change the details you want to view about each file
R E L A T E D   C O N T E N T
ADVERTISEMENT

Hands on: Check a computer's event history

Finding out when a file or folder was last accessed is an exact art

Tim Nott, Personal Computer World 02 Nov 2006
ADVERTISEMENT

In Christopher Brookmyre’s book, All Fun and Games until Someone Loses an Eye, a character with hacking skills switches on a PC, then checks the boot log to see when the machine had last been on and for how long.

She then checks the directory access records to see which folders had been accessed during the last session. So, is this far-fetched literary licence or fact?

Since the book was published in 2005, we’ll assume the PC was running Windows XP. The first part is relatively easy, except that it’s not the boot log you should be looking in but the System Event Log.

Run the Event Viewer, which you should find under Administrative Tools in Control Panel or the Start Menu, and click on System in the left pane. Resize the window so you can see the Event column in the right-hand pane.

Look for an entry of 6009 in this column – this shows when the PC was shut down or restarted. A start-up will be logged by a number of events, mostly with the code 7035, 7036 and 26, corresponding to various services and checks.

Right-clicking an event and choosing Properties shows a brief explanation, and you can find out more by clicking the link provided in the Event Properties box.

Schrödinger’s files?
Finding out when a file or folder was last accessed is more difficult. Every file and folder on a Windows PC – and this goes for both NTFS and Fat file systems – has three dates associated with it. The Date Modified is the one you see by default in Explorer or from typing ‘dir’ at a command prompt. This shows the date and time that the file was last saved.

If you open a file and save it – even without modifying it – you will usually find these changes. The creation date is the date that the file was created on disk in its current location. So if you create a new file by saving it from an application on 1 January, then copy it to another folder on 2 January, then the creation date of the copy will be 2 January but its modified date will remain as 1 January.

Some files, such as Jpeg images or Microsoft Word documents, will preserve the original creation date under Advanced properties, but this is stored within the file itself rather than in the file system. Moving, rather than copying, a file generally preserves the creation date.

If you’re not happy with the concept of something being modified before it was created, then you’re going to like the date accessed even less. You can see all three dates for a file if you right-click on it and choose Properties.

However, this counts as accessing the file, so the last accessed date changes to the current date and time. By observing the file’s properties, you change them – it seems the designers of the system were inspired by quantum physics.

If you are running Windows ME, 2000 or XP, then you can see all three dates in Explorer’s details view. In ME or 2000, go to the View menu, then ‘Choose columns’ (in XP it is View, Choose details). Tick the boxes for Date Created and Date Accessed and you’ll see the extra columns for both files and folders.


All Home Networks
Tags: Windows

Like this story? Spread the news by clicking below:

Post this to Delicious del.icio.us    Post this to Digg Digg this    Post this to reddit reddit!

Permalink for this story
R E A D E R   C O M M E N T S
M A R K E T P L A C E
Get your free demo of Numara Track-It! 8 - the leading help desk solution for IT related issues.
Make presentations, review documents & share your entire desktop. 30-day free trial! (cc required).
Discover how remote support can fuel your IT business in ways you've never thought of before.
Apply ITIL best practices at your service desk while eliminating integration cost. Learn more here.
WAN based, automated, daily vulnerability assessments. Click here to try and request our whitepapers.
Have your product or service listed here >   
Sponsored links
F E A T U R E D   J O B S
| Computer People
SQL Server 2008 Developer – Staffordshire – Market Rate – 3 - 6 month initial role Computer People have an exciting opportunity for a SQL Server 2008 Developer within an Large organisation based in Staffordshire. ... more >
| Aston Carter
JAVA J2SE DEVELOPER – CREDIT DERIVATIVES amp; Credit Derivatives (CDS, CDO, CDX, IRD, IRS), Exotics and Structured Hybrid products. Technical skills include: Server side Java, SQL, Sybase, SOAP, WEB SERVICE and OOA/D. Nice to have ... more >
| Aston Carter
JAVA J2SE DEVELOPER – CREDIT DERIVATIVES amp; Credit Derivatives (CDS, CDO, CDX, IRD, IRS), Exotics and Structured Hybrid products. Technical skills include: Server side Java, SQL, Sybase, SOAP, WEB SERVICE and OOA/D. Nice to have ... more >
| Aston Carter
Java, C++, SQL Analyst Developer – Interest Rate Risk Java, C++, SQL, Analyst Developer, interest rate, risk, credit risk, market risk, perl, scripting • At least 2-5 years experience developing in C++ and Java • ... more >
More job opportunities