Solved

Query File Last Accessed Dates

Posted on 2013-05-21
2
273 Views
Last Modified: 2013-06-04
We have terabytes worth of data that we need to clean up, and to do that we have to query files last accessed dates.

THe problem though is alot of these user files access permissions were set to specific user's only (no admin access or whatsover). What is the best way to capture this by bypassing the access issues and way to be able to go through terabytes of data.
0
Comment
Question by:syseng007
2 Comments
 
LVL 21

Accepted Solution

by:
dan_blagut earned 500 total points
Comment Utility
Hi
You can try:
get-childitem –recurse | where-object {$_.lastwritetime -lt “1/13/2008”}| select-object name,LastWriteTime, length | out-file c:\rapport.txt

but the permission is not a good thing. Anyway for deleting the files you need to have access rights. So first do permission cleanup, use groups, not users and be sure that domain admins are full access on all data.
You can explain go your users that whitwout prepoer permission you can't have backup, and you can not manage this file server.

Dan
0
 

Author Comment

by:syseng007
Comment Utility
Ok thank you. Any other ideas?
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now