If you want any admin on the PC to have access, use the /a switch: takeown /f "C:\SystemFiles" /a /r /d y ⚠️ Important: The Second Step (icacls)
If you're having trouble with a or a stubborn folder , let me know: What is the exact error you see? Is the file on a network drive or a local disk ? Are you using PowerShell or Command Prompt ? I can give you the exact string of code to copy and paste! how to use takeown command
/a = assign ownership to Administrators group instead of current user If you want any admin on the PC