Take Ownership Different Files and Folders

Take Ownership Different Files and Folders on Windows from right click menu is very easy to take ownership of folder. When you don’t change folder ownership you cannot replace or modify a system for some customized editions. You may receive errors indicating that you do not have sufficient privileges to take permission.

Take Ownership Different Files and Folders
Take Ownership Different Files and Folders

Take Ownership Different Files and Folders

Due to these scenarios, you can easy take possession of that file in the folder as administrator. There are several steps involved if you want to do it manually. There are also confusing and worrying principles. If you ever need help, here it is how you can take ownership of files and folders in Windows so that you can easily edit or modify system files without any “access denied” errors. Most system files and folders are locked to prevent themselves from modification.There is an important safety feature to protect the integrity of System. So ever have to modify these files for any reason, it is necessary acquire the necessary permissions to access and modify files.

windows registry editor caution
windows registry editor caution

The Windows registry (Regedit) is a file in hexadecimal instruction is composed of a series of instructions, services, applications and necessary for the proper functioning of the operating system configurations. When we make a change in this record we risk this stop functioning properly and thus, our operating system will no longer do so and also without backup, it is very difficult to restore proper operation. Therefore, you must “take backup of Windows registry“.

To appy Ownership command simply copy and paste the following code into notepad, and save it as Apply_Ownership.reg

Windows Registry Editor Version 5.00
;created by mr.neeo for www.neeosearch.com

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

If you want to remove to Take Ownership command from right click menu, copy and paste the following code into notepad and save it as Remove_Ownership.reg

Windows Registry Editor Version 5.00
;created by mr.neeo for www.neeosearch.com

[-HKEY_CLASSES_ROOT\*\shell\runas]

[-HKEY_CLASSES_ROOT\Directory\shell\runas]

That’s all there is to do, and it’s that simple to take ownership of a file or folder in Windows. It always be careful while taking ownership of a file or folder system. And reverse the changes is a little is not difficult. Simply double click on Remove_Ownership.reg file from right click menu.

After applying anyone method from above you will see the following User Account Control "UAC". This UAC will confirm "Do you want to allow this app to make change to your device?". So if you want to open Windows Registry Editor tool you should click on "Yes"

create backup windows registry

Leave a Reply

Your email address will not be published. Required fields are marked *


*