Question : Set Owner on all Files via cmd

Hi,

I am looking to set the owner on all files on my files server to Domain Admins and grant full control

I have ben looking into using something setacl.exe or subinacl, I can grant the admins full control on folders which they can access, however some files I do not have the premission to view I will need to to over as owner and then grant full control.

Any ideas ?

Answer : Set Owner on all Files via cmd

takeown /F \\server\home /R
The /f is needed as file even if directory the /r means all subfolders and files....
Random Solutions  
 
programming4us programming4us