I need to get the owner for about 100,000,000 windows network files distributed amongst several shares. I'am using advapi32 GetNamedSecurityInfo function from within C# code, but it's a long running process. I'm currently crawling several shares in parallel. And for each share I'm querying every files and folders sequentially. My question, what would be the best approach to minimise the crawl/collection time ?
Thanks for your answers