Inherit Permissions setting via cmd
I've come in this morning and realised that some changes i made over the holiday haven't worked quite as i hoped. I now need a way to take ownership of files and folders, then set them to inherit their permissions from above.
I've figured out how to take ownership with the takeown command, but can't find a way to set the inherit permissions setting on them without doing it manually! Is there a command i can run that will set this? I really don't want to have to do it manually!?!
I will need to script this so that it does it for every user, but only certain folders are affected.... (Application Data, Desktop)
Anyone know how i can do this?