You are here: Home > > How to delete the denied file

How to delete the denied file

We are experiencing many error message when deleting any file or folder in different computers.If it is much necessary or it is too much important then It makes us worried a lot. Especially when we are using Microsoft's OS as Win7 or Vista as well as XP too we get some information as " The file cannot be replaced you need administrator privilege to do so".In this situation even though we are admin we may got such message which troubles a lot to us.
Today we are going to give you the hints to delete the system files as Shell32.dll , imageres.dll


Warning
You should be alert for damage of your system files. Use it at your own risks Sagun's Gadgets is not responsible for any loss to your system.
Deleting Systems file may cause serious problem on your PC.





First of all open notepad and copy the text below



Windows Registry Editor Version 5.00


; Add Take Ownership Context Menu
; Windows Guides sagunsgadgets.co.cc
[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"






Now all you have to do is go to save as option and click desktop and put it's name Ownership.reg and save it

 when you save it the file in the desktop appears with registry sign double click the file and select yes or continue if any message alerts appears. Now you are done.

Lastly right click in the file you want to delete you will see the option take ownership click on it.


Now you can easily delete rename or remove file.
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

0 Responses to “How to delete the denied file”:

Click to go.

Click to go.

Click to go.