Reading from NTFS means you can cover a few TB in minutes vs the days a traditional loop would take. It shouldn't take much effort (but fuckloads of DB design) to take daily snapshots of the MFT using that code and then running reports against it to figure out growth. This means when you run WinDirStat as local admin the files stored there will not be included in the scan.Ī better way (not that running with system privileges is every "better") is to launch WinDirStat as local system using PSExec from the sysinternals suite: psexec.exe -i -s "\windirstat.exe"Įdit: one day I will get reddit's formatting right the first time.Įdit 2: forget the above, simply run wiztree as local admin, it will read from the NTFS MFT rather than looping through folders which will result in much quicker results. If you configured folder redirection in line with this guide.aspx) as an example Administrators will not have inherited control over the user's data due to the suggested "this folder only" permission in step 9. Even if you run the app as local administrator it will not report on files which the account does not have access to. Too many posts on here suggesting to run as local admin which is wrong.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |