Xcacls Problems : resetting home directories for individual users
Posted on 2006-06-19
I have previously asked a question similar to this when i was figuring out the actual syntax to use for the command. Now i have done that and have seen the command working i have a further query;
The below command seems to work in the login script as a .CMD file when i am logged in as myslef (a domain admin) but when the script runs when a normal user logs in it returns with 'ERRROR The filename, directory name or volume label syntax is incorrect'
\\[servername]\xcacls.exe "\\[servername]\home\%username%" /T /E /C /G %username%:f /y
pause (just to see it step through)
Just wondering if any expert has any pearls of wisdom on this, before i resort to resetting all home directory access manually and individually.
ANy help would be much appreciated