Script to reset home area permissions
I use this script to apply permissions on home areas. I have used it a few times with no issues. I have come to use it again but it doesnt seem to apply the settings to folders that are all in capitals.
Out home areas are setup like this
Username > Documents
The actual files are in the documents folder.
Does anyone know why it does this please? Or does someone have an alternative?
The file server is running 2008 R2.
for /D %%i in (*) do (
cacls %%i\Documents /T /E /G Domain\%%i:c