How to Add “Take Ownership” to the Right-Click Menu in Windows Explorer
Taking ownership of files or folders in Windows is not simple. Both the GUI and command line take too many steps. Why not add a simple context menu command that lets you take ownership of any file or folder?

With a batch script, though, you can add a simple “Take Ownership” command to the File Explorer context menu that lets you take ownership in one step.

How to Add “Take Ownership” to the Right-Click Menu in Windows Explorer HWXeuuT