Permissions info on roaming profiles

article #220, updated 4901 days ago

Here is some excellent info:

http://serverfault.com/questions/43794/using-icacls-to-set-permissions-on-user-directories

Quoted, a simple CMD script to set permissions so that Administrator can see the contents:

set /p userDir=Enter the login of the user's directory you're modifying permissions for. (i.e. jDoe)
TAKEOWN /f "E:\Home Directories\%userDir%" /r /d y
ICACLS "E:\Home Directories\%userDir%" /reset /T
ICACLS "E:\Home Directories\%userDir%" /grant:r "MYDOMAIN\%userDir%":(OI)(CI)F
ICACLS "E:\Home Directories\%userDir%" /setowner "MYDOMAIN\%userDir%" /T

Categories: