User Tools

Site Tools


computing:windows:del_perms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computing:windows:del_perms [2013/12/06 20:12]
gcooper created
computing:windows:del_perms [2019/11/01 09:44] (current)
gcooper
Line 1: Line 1:
 ====== Delete Permissions and ACLs from a Folder Recursively ====== ====== 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: Take ownership as the logged in user, usually as an administrator:
Line 12: Line 20:
 icacls <foldername> /T /C /Q /RESET icacls <foldername> /T /C /Q /RESET
 </file> </file>
 +
 +====== Delete Files ======
 +
 +  - Remove attributes using **Windows Explorer -> Right-Click the File -> Properties**
 +  - In **PowerShell**, use the command ''Remove-Item <filename>''
computing/windows/del_perms.1386385934.txt.gz · Last modified: 2013/12/06 20:12 by gcooper