Hey friends, Tech Holics has came up with another ultimate tutorial for its users, this time i will teach you how to take ownership of any file or directory or folder. Several times when we open any file or folder or some directory in Windows 7, we get a error messages like "C://xx/xxx file is not accessible and Access is denied". Hence we are not able to open that file or directory of folder. In case, if you are dealing with system files then you usually get this error message. Tech Holics has already told the solution about this problem in several articles that how we can provide full control to any File using properties then security and so on.. But friends its a too long procedure and very tedious task to do for each and every file separately.
Windows 7 Tips and Tricks by Tech Holics Blog |
Today i will teach you how to take ownership of any file or folder or directory in a single click. Its really frustrating when you want to access any folder or directory and you get a message that particular folder is not accessible , access is denied. As a hacker, we need to manipulate windows file system sometimes for our usage but every time we need to do that manual work. But from now onwards, you will not have to do any manual work,just take the ownership in one click. Just follow the steps for one time then you get ownership button in your right click. So whenever you need to take ownership of any file or folder or directory, you need to right click and click on button "I want ownership". So friends lets learn how to do this..
Take ownership of any file in Windows 7 in one click step wise:
1. Open the Notepad.
2. Now copy the below code into it:
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell\runas]@="I want Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="I want 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\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"
3. Now save the file as anyfilename.reg by clicking save as button and there selecting all files for save file type as. As shown below:
How to save Notepad file as .reg File |
Note: Sometimes some copyrighted code can come below the text while copying the above text. Please remove the same for hack to work.4. Now double click on the anyfilename.reg file to merge the settings in registry.
5. That's all...
6. Now go to any file for which you get the above errors and right click on it.
7. There you will see a option "I want Ownership", click on that and you have ownership. As shown i below sample:
Take ownership of any File or Folder on Right Click on that file |
8. Now open the file and enjoy editing..
I hope you all have liked it... If you have any issues or concerns ask me in form of comments...
1 comments:
Write commentsseems good. Let me try
ReplyWould love to here from you...