Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deleting Locked Files Manually - Windows Explorer.
#1
Manually removing locked files/folders using Windows Explorer.

Once again, this was written with Windows XP Pro in mind.

The method may be similar with Windows Vista and Windows 7, but there may be differences regarding tab names etc, but the principal may still apply.

Quite often, the system will report that a certain file cannot be renamed or deleted, as it is being used by another application or user.

There is a way around this problem, as outlined below.

This may not work for all files, but it may work for most.

Right click on a file, or folder - then select Properties and click on Security, then Advanced, to see the tab for Permissions.

Then click on Owner, to see the owner of the file or folder.

On some newer/older Windows systems, there may not be a tab for Security, in that case, it's just a question
of trying Advanced, and Permissions etc, until you locate the tab for Owner.

In some cases, you can take ownership of the file or folder, if the system has prevented you from deleting it,
by changing the current owner of the item to your own Windows user name or Administrator if you are logged in as such.

For example, if you wanted to look inside the System Volume Information folder, or maybe even a locked i386 folder on certain OS's,
then this method will allow you to do that, as these folders are usually restricted by default.

If you want to do this, you have first Add yourself to the list if you are not already present, under the tab for Security,
using either your own Windows user name, or as Administrator.

Make sure that the box is ticked, next to:

Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here.

Also, make sure that the box for Allow, for the Permissions for the added user name is ticked in every instance.
Usually, if you just click on the top box, the others will be selected by default.

It seems that you have to do this for both the folder and the files.

It could prove useful, when trying to remove an infected or suspicious file, locked by the system, or a dubious application.

For those files which cannot be deleted after making modifications, you could use Unlocker to do it instead.

Just remember to upload any applications to an online anti-virus scanning service and use a sandbox if in any doubt.

http://ccollomb.free.fr/unlocker/

Again, I hope that this may have been of some interest to some of you here.
Reply


Messages In This Thread
Deleting Locked Files Manually - Windows Explorer. - by UID=0 - 10-05-2009, 11:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to recover accidently deleted files on your Windows PC JiniOnline 4 1,926 06-30-2015, 06:53 AM
Last Post: hunterweston
  Change Windows Explorer Default Drive Icons AceInfinity 0 1,618 02-08-2012, 10:53 PM
Last Post: AceInfinity
  Deleting Locked Fies Manually - Windows CMD. UID=0 3 3,538 11-25-2010, 09:58 PM
Last Post: AceInfinity
  Updated - Saving System Resources Manually - Parts 1 and 2 UID=0 6 2,324 10-10-2009, 03:59 AM
Last Post: UID=0

Forum Jump:


Users browsing this thread: 1 Guest(s)