I need to change the ownership on a large amount of folders back to the administrator so that I can delete them. They are old redirected appdata folders.
However I need the option of excluding the folder 'staff' which is sitting amongst these folders.
Is there anything I can do with cacls or similar to achieve this? Doing it by hand will take hours.