Forum Discussion
Brandon1615
May 27, 2024Copper Contributor
I need permission from Trusted Installer to delete folders
I want to delete a folder on my data HDD. It's not my boot drive. I want it to look nice and organized for my backups, but this Program Files folder bothers me. I want to delete Program Files and...
Holaway
Jun 05, 2024Iron Contributor
You can try this command:
takeown /F C:\X\Y\Z /A /R icacls C:\X\Y\Z /grant Administrators:F /T
to do this in the past. takeown and icacls are provided by Windows. These commands should be used by an account with Administrator privileges. A batch file calling them would need to be run with Administrator privileges.