Question

Locked

File server management

By California Dead Head ·
I am looking for a software or method that will allow me to search my w2003 file server for files that have not been ACCESS (not modified) but accessed in 2 years for example and move those files from file server #1 to archive files server #2. The details view of windows file server shows MODIFIED date not accessed date so don't say just search with details view or put older than 2005 because it gives date modified. If a person looks at a pdf every day but makes no changes then the file may appear 3 years old but people use it daily.

I need to clean up my file sever of old unaccessed data.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

not sure about commercial products

by lowlands In reply to File server management

There are bound to be a few out there.

And still try to do a search on your server, select the "when was it modified" selections, check "specify dates" and then in the dropdown menu select "accessed".

You could also write a little vbs script, something like below.

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colFiles = objWMIService.ExecQuery _
("Select * from CIM_Datafile Where name = 'c:\\Scripts\\Adsi.vbs'")

For Each objFile in colFiles
Wscript.Echo "Last accessed: " & objFile.LastAccessed
Wscript.Echo "Last modified: " & objFile.LastModified
Next

It might prove trickier than you think though. Just running a script like this, or for example backup software, might change the last accessed date on files

Collapse -

Resource kit

by curlergirl In reply to File server management

Go to the Microsoft Download site and search for "Windows 2003 Resource Kit Tools." In this download, there should be a tool named "Robocopy." This is a great utility to use in a batch file to control copying, moving and/or deleting files with certain attributes. There is a switch for Robocopy that allows you to specify a minimum or maximum "last access date" to select the files for copying/moving/deleting.

Hope this helps!

Back to Networks Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums