Friday, January 20, 2012

Take ownership of any File in Windows 7 in single click


Hey friends, HackingLoops 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. HackingLoops 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.

ownership of windows folder
Windows 7 Tips and Tricks by HackingLoops

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:
hack windows registry to own the file or folder
How to save Notepad file as .reg File
4. Now double click on the anyfilename.reg file to merge the settings in registry.
Note: Sometimes some copyrighted code can come below the text while copying the above text. Please remove the same for hack to work.

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 any file ownership in right click
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...

8 comments:

  1. How to remove "I want ownership" menu ??

    ReplyDelete
  2. Just go to the location in registry and delete the entry... the path is already shown in above codes...

    ReplyDelete
  3. hiii
    there is an error "you can only import binary ragistry file from with in registry editor"

    plz help me for this

    ReplyDelete
  4. @Arpit

    My friend while copying the registry data, you might be also copying the attribution rights... Check the copied content and remove other things.. and then it will work.

    ReplyDelete
  5. hmmm...the registry hack worked, but the file(s) still won't open. These files were created under XP and when I upgraded to Win 7 pro, those files were locked. I tried creating another Admin acct under my old name, but no luck. What do you think?

    ReplyDelete
  6. i hav an software pirate facebook hack this is not opening in window 7 wat can i do

    ReplyDelete
  7. I get:
    "This file does not have a program associated with it for performing this action.....

    ReplyDelete
  8. I got 1 icon(.ico file) on my desktop and i dont have permission to remove it.
    after performing above suggestion also its not letting me delete.
    please help
    while trying to take ownership manually, i found following error
    Error: you do not have permission to view or edit this object's permission settings

    ReplyDelete

Please do not spam.

Designed by Hackingloops.