Take Ownership Tool - Delete/Rename ALL Files

Status
Not open for further replies.

l0calh0st

Active Member
4,052
2010
713
0

Are you tired of these messages: "You don't have the permissions to rename this file!"

This tool will add "Take Ownership" to the shell, now you can easily take ownership of files.

[slide]http://wjsnap.com/0.7276528214362.png[/slide]

Sourcecode:

Batch file
Code:
:: Coded by l0calh0st
:: http://xcoderz.net/

@echo off
color 0b
title Take Ownership Tool v1
echo.
echo Take Ownership Tool v1
echo Coded by l0calh0st
echo.
pause
regedit /S ownership.reg
echo.
echo DONE!
pause

Registry file:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\takeownership\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\exefile\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\exefile\shell\takeownership\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\dllfile\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\dllfile\shell\takeownership\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\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\takeownership\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"
This tool won't prevent this: "The file you want to delete in already in use!" this means that the file is running as a process. So kill the process and Take Ownership ;)

Download: http://xdc.xcoderz.net/file.php?id=23
 
9 comments
Nice handy tool Localhost :D btw the text in your screenshot looks very smooth. Are you using something for that? :P
 
Is it possible to only download and install the component which is responsible for the font smoothing? >.> Since it is a transformation pack my guess is that it must be using some third party program for the smoothing. ;)
 
Status
Not open for further replies.
Back
Top