Skip to Content

<p>Home Directory Permisions Reset</p>

Posted in

 Website Link 
 
 
reset.bat

Rem change domain to your domain or omit it all together for the entire domain.
net user /domain >> users.txt
 
Rem Set user Home directory permissions
Rem change c:\home to the home directory share
for /f "eol=; tokens=1,2*" %%i in (users.txt) do cacls c:\home\%%i /T /E /G %%i:F 
for /f "eol=; tokens=1,2*" %%j in (users.txt) do cacls c:\home\%%j /T /E /G %%j:F 
for /f "eol=; tokens=1,2*" %%k in (users.txt) do cacls c:\home\%%k /T /E /G %%k:F
 

Remote Tech Support

Remote Tech Support

TeamViewer