Windows Take Ownership May 2026

Every Windows user has been there. You try to delete an old system folder, modify a program’s configuration file, or open a user profile from an old hard drive, and you are met with the dreaded pop-up: "You need permission to perform this action" or **"Access Denied."

takeown /f "C:\Path\to\file.txt" icacls "C:\Path\to\file.txt" /grant YourUsername:F windows take ownership

[HKEY_CLASSES_ROOT*\shell\takeownership\command] @="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F" Every Windows user has been there

This page contains nudity - please confirm you are over 18 years old to continue.

Back to our Homepage