====== Delete Permissions and ACLs from a Folder Recursively ====== See also **[[computing:windows:del_temp|Delete Temporary Files]]** See also **[[computing:windows:del_folder|Delete Windows Folders That Are Too Long]]** This can be used to **delete user profiles** that are created with complex ACLs. **Profile deletion tool**: https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/ Take ownership as the logged in user, usually as an administrator: takeown /F /R /D y Reset the ACLs: icacls /T /C /Q /RESET ====== Delete Files ====== - Remove attributes using **Windows Explorer -> Right-Click the File -> Properties** - In **PowerShell**, use the command ''Remove-Item ''