Batch script to reset users home directory permissions 4 April 201818 April 2019 stevenh Uncategorized 123@echo off for /d %%d in (*.*) do icacls %%d /setowner Domain\%%d /t for /d %%d in (*.*) do icacls %%d /reset /t