Tag Archives: Security

Fix User’s Home Directory Permissions with Take Ownership

Fix-HomeDrivePerms.ps1 is a PowerShell script which attempts to reset folder security when the permissions are really hosed.  It uses a take ownership function, Set-Owner, by Boe Prox, instead of takeown.exe, but does shell out to iCacls.exe.  I wrote this to … Continue reading

Posted in PowerShell, Scripting, Scriptlets, Security, Windows Administration | Tagged , | Leave a comment

Another User Folder Security Reset Script

This simple batch file resets the inheritance on users folders and then grants them “modify” using the builtin icacls.exe.   This script does not address issues which require you to take ownership — I will post one that does that soon. … Continue reading

Posted in Batch, Scripting, Security, Windows Administration | Tagged , , | Leave a comment