The program cannot be removed from the computer through the Add/Remove Programs menu and by no means at all, deleted all folders related to the program, used all kinds of utilities that clean the registry of unnecessary keys, it’s useless. The fact is that I want to install it again, it is licensed and purchased for money, but recently it has been working with errors. The installation program says: the application is already installed and that’s where it ends. The forum suggested that you need to look in the bushes (in the registry), is this a joke? Help.
Edward.
The game is not removed from the computer Call of Duty 4: Modern Warfare, I want to reinstall it, but I always get an error, I just deleted the game folder, but I couldn’t delete it from the Add or Remove Programs menu, maybe you know how to delete and reinstall, please tell me.

The program cannot be removed from the computer

And of course it cannot be installed again, utilities: Unlocker, CCleaner, Revo Uninstaller and the like may turn out to be useless, on one site I read how using one of these programs you can remove an antivirus program, I laughed for a long time, in reality everything is of course will not be so, sometimes the principles of operation of these programs turn out to be ineffective. Let's think about what we will do if all the above-mentioned programs did not help us.

The information in our article applies to Windows 7 and Windows 8. 1.

  • Note: Friends, if this article does not help you, then try

Many in case of failure with removing a program from your computer they even reinstall operating system, when it comes to their favorite game. Believe me, in most cases this is not necessary. By the way, it’s also about the accumulation of garbage in Windows, because the remains of the program are somewhere and of course take up space on the hard drive, all this is quite unpleasant and of course I want to know where exactly the remaining program files are located.
This kind of trouble occurs because, for some reason, the connection between the program and its keys in the registry is broken. There are many reasons for these, ranging from incorrect user actions and errors in the program itself; we will not dwell on this. To solve such problems, we will need to manually make changes to the registry and our program will be completely removed. How to do this?


Is the program you want to remove no longer in use? If you know the process related to it, you also need to end it in the device manager.

The best thing to do is disable the program service in Computer Management.

Now delete all files related to the program from your computer, start with its personal folder located in Program Files, then reboot; if the program is not deleted and it cannot be installed again, you will have to delete its entries in the registry.


It is advisable to view the entire registry or the HKEY_LOCAL_MACHINE branch (contains information about hardware and software) and HKEY_CURRENT_USER\Software, where all information about installed applications is located.

What else can you do if you have problems uninstalling programs?

  • Try to visit the website of the program manufacturer, there is a high probability that an uninstaller is available for download there, for example, on the website of the Nero program, which is not so easy to uninstall, there is such a utility.
  • If you uninstall a game or program without success, the uninstaller may be located on the installation disk, you should run it and you will see the Delete option, if you do not have the disk, read on.
  • In especially difficult cases, you will have to enter your operating system in Safe Mode, only in it you will be able to disable the service and delete all remaining files and registry keys.
  • Sometimes you will not be able to delete program files even in Safe Mode, but you will be able to rename them and delete them after a reboot.
  • It is worth trying to reinstall the program, and then it will be successfully removed.

For clarity, let's try to reinstall the game Call of Duty 4: Modern Warfare, which my son’s comrade in arms cannot reinstall for several days in a row.

On Windows of any version (XP, 7, 8, 10), a problem often arises when a file or folder with a locked file is not deleted. A message pops up that the file is occupied by another process or is open in some program, or you need to ask permission from someone.

There are several ways to delete a file that is not deleted, renamed, or moved. This is done without additional software, using free program Unlocker, with bootable flash drive or LiveCD, or DeadLock program.

When deleting locked files and folders, be careful; it may be part of the operating system. Without them, Windows will stop loading.

Why isn't it deleted?

  • The file is open in another program. Complete everything unnecessary processes and try again. Sometimes restarting the computer helps.
  • Insufficient permissions to delete. For example, this file was created by another user or the computer administrator removed the deletion rights.

Exceptions

The methods described in the article will not always help:

  • pagefile.sys and swapfile.sys - to remove, disable the swap file.
  • hiberfil.sys - deleted when hibernation mode is disabled.
  • If an access denied message appears. You need to become the owner of the file or folder. The easiest way to do this is with the TakeOwnershipPro program.
  • If a message appears asking permission from TrustedInstaller. This is protection against the removal of system components.
  • Windows.old - folder with old version operating system. It is deleted through the “Properties” of the local drive C. On the General tab there is a “Cleanup” button. A window will open in which select “Clear system files" Once the analysis is complete, the “Previous Windows installations” item will appear in the list in this window. Check this box and click OK.

Deleting the file manually

Message: The file is already in use, please close and try again.

If a file doesn't want to be deleted, the error message usually tells you which process has locked it. This could be explorer.exe or any program that has it open. If you close this program, the file will be deleted.

If the file is occupied by the explorer.exe process

  • Before completing the task, open Command Prompt as an administrator. It is located in “Start - All Programs - Accessories”. Right-click on Command Prompt and select Run as Administrator.
  • Remove the explorer.exe task in the task manager and write del full_path/name.extension in the command line.
  • The path does not have to be entered manually. Click right click mouse on the desired file while holding Shift - Copy as path, and paste it into the command line through the context menu with the right mouse button.
  • Now restart explorer.exe. In the task manager, click "File - New task - explorer.exe".

Use a bootable USB flash drive or disk

If you have a bootable USB flash drive or LiveCD, or Windows recovery, run them and calmly delete the file using the standard method or through the command line.


Be careful sometimes when entering through boot disk local disks have different letters. To see a list of folders on drive C, type dir c: on the command line.

If you use a bootable USB flash drive or Windows installation disk, the console opens at any time after the language selection stage, using the key combination Shift + F10.

You can also select the system recovery mode, which will be offered before starting the OS installation.

Command for deleting via the console: del full_path_to_the_file.

Using DeadLock

The free DeadLock program allows you to delete a locked file and change the owner. Download from the official website: https://codedead.com/?page_id=822.

Using the File menu, add the problematic file to the program. Right-click on it in the list - unlock it (Unlock) and delete it (Remove).


Using Unlocker

The simplest and most popular program, but now even on the official website a warning about unwanted software is displayed. Along with the program, there may be some other virus or advertising, so use at your own peril and risk. Try the methods above first. Website: http://www.emptyloop.com/unlocker/.

After installation in context menu a new item will appear, which is called Unlocker. After clicking the button, the program will complete the interfering process and the file will be unlocked.


If you want to delete a folder, first delete all its contents.

Via command line

There was such a case that the file did not want to be deleted in any way. The size was 0 bytes, the name was written in Russian letters (not supported in older versions of MS-DOS), there was a Read-only attribute and an A attribute (only reading and adding content). The command line helped.


That's all for now. If you know simpler and effective ways, write them in the comments. Which method helped you?


How can I delete a program or folder that won't delete? The computer is home, there are no administrators here. The account must have full rights to do anything. But an error appears. The point is that when windows installations, we create an account that is not an admin account, but is endowed with admin rights. In some cases, these rights are limited. But in just a couple of mouse clicks, we can change them. Let's look at how to do this. For example, our Babylon ToolBar is self-locked and does not allow it to be deleted.

Insufficient permissions to delete. Contact system administrator. First, let's consider the case when the program is not uninstalled. We need to determine the location and change the rights.

If you know the folder where the program is located, skip the following and read below.

While in the control panel, where we unsuccessfully tried to uninstall the program, right-click where it says “Name”, “Publisher”... and select “More details”


Check the "location" box and click "OK"


Now we see the column where the folder with the program is located, we go there. Right-click on the folder with the program and select “properties” Go to the “security” tab and click “edit”


Select your user and set the permissions to “full access”, then click “OK”

After that, try to uninstall the program through the control panel, but if you just need to remove the folder, delete it.

Insufficient permissions to delete. Contact your system administrator. If this error continues to appear, as an option, download the “Unlocker” program. It also solves the "cannot be deleted because the object is in use" problem.

The program is free, just be careful when installing, otherwise you can pick up mailra or yandex browser =)

Let's launch installation file, select Russian language, click “Next” on the greeting, accept user agreement. But in order not to install some kind of babylon along with the program, uncheck the boxes and click “Next” - “Next” until the very end.


After installation, click “Start Unlocker”, select our problematic folder and click “ok”

Usually, deleting files and folders is quick and painless, except for the warnings Windows messages, which are protection against accidental pressing buttons. But in some cases, the system refuses to perform an action, citing the impossibility of executing the command. It's time to figure out the reasons for such errors.

In what cases may you need to delete “undeletable” folders or files?

Windows 7 may refuse to delete files or folders for several reasons:

  • damage. Physical or software failure, virus operation;
  • usage. The file is used by a running application or the system itself;
  • lack of rights. The user account does not have sufficient access rights to delete.

Possible solutions

  1. If the matter is software glitch, it may be sufficient to restart the computer.
  2. When using a file in another application, you need to determine which program is using it and close it. In some cases, it is also necessary to contact the “Dispatcher Windows tasks" to stop background processes such as torrent clients.

    Sometimes the system refuses to delete even outwardly empty folders. This may be due to File Explorer settings not to show hidden files. In other words, the folders only appear empty; they contain information that is hidden from the user. Therefore, you should first make sure that these directories really do not contain information. Otherwise, you can unintentionally erase important data and disrupt the stability of the system.

  3. If files and folders are visible, but they are not deleted due to the lack of rights of the account on behalf of which the system was logged in, you can do one of the following:
    • use another entry. Restarting the system as a user with administrative rights is the easiest and most painless option. In this case, the OS settings do not change, and after carrying out all the necessary manipulations, you can return to the previous account;
    • get your license. You can increase the level of rights of the current account. However, this method reduces the computer’s security not only from careless user actions, but also from malware. The virus will cause much more damage to the PC if it entered as an administrator;
    • turn to third-party applications. There are utilities that specialize in forcibly deleting information, including protected information.

Uninstall by granting administrator rights

A user with normal rights can create, erase and modify most files and folders, but does not have access to modify system information, which serves to protect against unintentional and careless actions. The administrator account has no restrictions, within which you can regulate the operation of the entire system.

The best solution is to use the two entries alternately. User - for everyday work, administrator - for setting up the system.

Only an administrator can grant superuser rights to a regular account. Therefore, the following methods are only suitable if such an opportunity exists.

Through system settings

  1. Press the Win key or the on-screen Start button. In the search bar located at the very bottom of the list that opens, enter the query “User Accounts”.
  2. We go to the active line located at the top of the list of search results and open a window with the heading “Making changes to account user". Click on “Manage another account” in the central part.
  3. By clicking on the tab, we will be taken to a window with a list of all accounts created by the system. We select the one to which we want to give administrative rights and change its type to “Administrator”.
  4. Click on the “Change account type” button. Rights granted.

Via command line

Usage command line requires some experience, but allows you to perform many operations faster. In order to call the desired window, we will again use the search bar.


Disabling TrustedInstaller

In fact, Windows 7 has a user with even greater rights than any administrator. To protect critical components, the system creates a TrustedInstaller account, which is assigned exclusive access rights to certain files.

If a user, even with administrative rights, tries to delete protected information, the system will refuse him and show a window with the message: “Request permission from TrustedInstaller to change this file.”

To bypass the protection, you must manually grant access to the desired file to administrators, after which you will be able to delete it.

  1. In Explorer, select the file that you want to delete and right-click on it.
  2. In the context menu that opens, select “Properties”.
  3. Then go to the “Security” tab.
  4. Click on the “Advanced” button.
  5. In the “Advanced Security Settings” window, go to the “Owner” tab.
  6. Click the “Change” on-screen button.
  7. Windows 7 will offer several options to change the owner of a file. Immediately select the “Administrators” group and click “OK”.
  8. We read the message that appears recognizing our rights and describing the necessary actions for them to come into force, and then click “OK”.
  9. We repeat the previous steps. We need to clarify our powers.
  10. Click the “Change” button and select the added “Administrators” group.
  11. We put a checkmark on “Full access”, automatically receiving marks on all other items.
  12. Click the “Apply” button, giving everyone accounts with administrative rights the ability to edit this file.

The same mechanism can be used to edit or move important files or folders. In this case, it is necessary to return all settings to their original state after completion of work, otherwise Windows 7 may begin to become unstable.

By editing the Startup list

An executable application can prevent the file from being deleted. If it is launched deliberately, it is enough to shut it down, and in some cases it is also useful to restart the computer. But programs that automatically start when Windows startup 7, will again end up in RAM and prevent you from deleting necessary information. Therefore, you need to exclude them from the Startup list.


If we have correctly identified the application that is interfering with our task, the file will be deleted without problems. If another program interfered, you can repeat the process for it or use reboot Windows in safe mode.

Via Safe Mode

If a folder or file is not deleted due to work third party application or malware, you can restart your computer in safe mode and thereby bypass the ban.

Safe mode in Windows 7 involves minimal loading of system components.


The advantage of this method is that there is no need to leave Windows shell 7. The disadvantages include the fact that to reboot in normal mode you will have to repeat the same steps, only this time disable safe mode.

In order to boot the system once in safe mode, you can use another method.


Having loaded using any of the listed methods, we find “stubborn” files using “Explorer” and delete them.

Using the command line

You can bypass the deletion ban using a low-level tool that is already a little familiar to us - the command line.

After the window loads, you must enter the required command.

Commands for forcibly deleting root directories and files - table

When using the command line to delete files or directories, keep the following in mind:

  1. The information is erased irrevocably, that is, it cannot be restored from the Recycle Bin.
  2. It is necessary to accurately, without errors and completely enter the name of the files to be deleted, including the extension and full path.

Through file managers

Most file managers have built-in capabilities for deleting protected files and folders.

For example, when working with a popular file manager Total Commander To delete a file, just select it and press the F8 function key. The application will definitely clarify whether the user is confident in his actions.

Total Commander easily copes with most protected files and folders, limiting itself to just one more request to the user. But some information is beyond his capabilities, in which case it is better to use specialized applications.

Removal using third-party programs

If the need to delete protected files and folders arises regularly, it makes sense to install on your computer one of the applications that specialize in unlocking and destroying information.

Unlocker

Simple and convenient program Unlocker is automatically added to the context menu that opens when you right-click on the file name.

An additional advantage of the application is the ability to see why a file is blocked and what process is using it.

It is likely that it is not at all necessary to use a “hard” removal; sometimes it is better to return to Windows 7, close the interfering program, and then erase the unlocked file. But you can do without this by simply selecting the “Delete” option.

The lock prevents not only deleting, but also simple operations such as moving a file or renaming it. Unlocker can help with this too.

Lockhunter

Another application with similar functionality is Lockhunter. This utility is even built into the Explorer context menu and can delete those files and folders that Unlocker cannot do.

The program interface is more similar to classic Windows, the main information is collected in one window, and the main operations are presented in the form of large buttons.

Although Lockhunter does not support the Russian language, the simplicity of the interface and free distribution make it very popular.

The program's wide capabilities can become a serious problem if used carelessly. Lockhunter can easily delete system files, thereby disrupting the performance of Windows 7.

The Fileassassin program works in a slightly different style:


Using multiple special utilities with similar functionality can be justified by the fact that they have different operating algorithms. Files that one program could not delete can be erased by another.

System Restore

The mechanism for “rolling back” the system using backup points is universal remedy to restore Windows 7 functionality in case of serious failures.

The system restores its “old” state by erasing additionally installed programs and settings, so as a last resort, you can use this radical remedy for those files and folders that cannot be erased.

A prerequisite for this method is the availability of suitable backup recovery points. It should be taken into account that some malware intentionally corrupts such files, so it is better to transfer such data to external media.

  1. Launch the recovery utility. To do this, type “System Restore” in the search bar and press Enter.
  2. The window that appears is more informational than functional, so click the “Next” on-screen button.
  3. Select the one you need from the list of recovery points and click “Next”.

    Don't forget to save your working files to external media before restoring your system, otherwise they may be lost.

  4. Once again, we make sure that this is the date to which we want to “downgrade” Windows 7, and click the “Finish” on-screen button.

Using a different operating system

All restrictions and access settings are important only when running a specific copy of Windows 7. From an external point of view, both the system itself and the files carefully protected by it are ordinary records on the hard drive. Therefore, all unnecessary information can be deleted by gaining access to the drive without starting the “main” Windows 7:

  1. By downloading another copy of Windows 7 located on a second physical disk.
  2. By running another operating system, such as Linux.
  3. Using a bootable USB flash drive or “life disk”.
  4. Physically taking it out hard drive and connecting it as an external drive to another computer.

This method will also be useful in combating some particularly stubborn viruses that penetrate RAM and blocking antivirus programs. By booting from external media, you can disinfect your computer without allowing malicious applications to start running.

If you don’t have your own bootable USB flash drive, you can download it from the developer’s websites antivirus programs, for example, DrWeb or Nod 32.

The disadvantages of this method are a consequence of its effectiveness - you can accidentally delete critical files and folders, disrupting the operation of Windows.

Other ways

If the information that refuses to be deleted is located on an external medium (SD card, flash drive or external hard drive), then you can solve the problem using a device with a mobile operating system, for example, Android. Some nuances:

  1. The SD card can be inserted into the appropriate slot on your smartphone or tablet.
  2. To connect a flash drive you need support for OTG technology and a suitable adapter.
  3. To work with external hard drives devices on Android based Typically you need to download additional applications and also ensure there is enough current to power the drive.

Before looking for ways to delete system-protected information, you should make sure that such a step will not harm the performance of Windows 7. It may be worth creating an additional restore point to minimize the negative consequences.

In addition, you should first use the most safe ways and only if they are ineffective, move on to more “rough” ones:

  1. User Tools. Find and disable programs and processes that use necessary files. Restart your PC.
  2. Windows Tools. Edit the Startup list, use safe startup mode if necessary.
  3. Access settings. Gain administrative rights or access to account files.
  4. Command line. Use system commands for low-level removal.
  5. Third party applications. Use file managers or specialized programs.
  6. System Restore. Use a backup restore point to roll back Windows 7.
  7. External OS. Boot the operating system from external media or another computer.

How to delete protected folders and files without additional programs - video

System-based means of protecting critical information are often used malware for your own purposes, so you need to be able to bypass restrictions and delete damaged files. Fortunately, quite effective applications have been created for these purposes, including free ones.

Deleting information from a PC is not difficult. Press the “Delete” key and you’re done. But in latest versions Windows has a problem. I can't delete the folder. What to do? Let's look at how to delete a folder with administrator rights.

Why is this happening

Everyone knows how to delete a folder without administrator rights. What to do if it is not possible to do this in the usual ways? First, let's look at the reasons why the system requires special privileges.

Can't delete folder requires administrator rights

The reasons why difficulties arise during removal are as follows:

  1. The files are in use by another open process on the system;
  2. Blocked by a virus or antivirus program;
  3. Due to a system failure;
  4. The work takes place under the account of a user with disabilities;
  5. The directory is locked.

Do not delete directories unless their purpose is known. Make sure that they do not affect the performance of the system. If you erase important information, The PC may be unstable.

Let's look at what you need to know to erase a non-deletable directory.

Accounts

When installing Windows, the “Administrator” user is automatically created. He has full rights to edit information. If you work alone on a PC, then you use administrator rights. But if you bought a PC in a store with installed system, or more than one person is working on it, for convenience, several users are created.
In administrator mode, files are created, renamed, and deleted. If you work as a “Guest” your options are limited. The system allows working with files only in viewing mode.

Actions on behalf of the Administrator

It turns out that some operations are performed only under the admin account. In Windows 10 you can:

  1. Install updates;
  2. Monitor records;
  3. Restore system files.

How to delete folders that ask for administrator rights

Starting from the seventh Windows versions, even if you are the only user, the system requests administrator rights to delete. Why is this happening? The system has created a Super Administrator. It's max haunted.

Sometimes such messages appear if you are trying to delete important system files.

The question of how to delete folders that ask for administrator rights is easily resolved. Consider deleting a folder with rights Windows administrator 10.
So that we don’t have to ask for permission to change or delete every time, we’ll make sure that we decide for ourselves what to do.

Change user

Right-click on the file, select “Properties” - “Security” - “Advanced”.
Near the “Owner” item, click the “Change” link.
In the new window, click “Advanced”.
Click on the “Search” button. Find the user, click OK.
If the owner of a folder and not a file changes, check the “Replace” checkbox.

How to set user permissions

Once you become the owner, you will not be able to erase the directory. Few permissions. Go to “Properties” - “Security”, then “Advanced”. See if the user you need is there:


Explorer with administrative rights

Let's make the explorer work with elevated privileges. To do this, perform the following sequence of actions:

  1. Click “Start” - “Run”;
  2. We write the command: runas /user:%userdomain%\administrator “explorer /separate”.

The system will display a warning, enter your password.

How to delete a folder without administrator rights

If some users find the described actions difficult, let’s consider how to proceed in another way. Let's take advantage special program Unlocker. After installation, it will appear in the context menu. Right-click on the directory and select Unlocker, then “Delete”.

Read more about the operation of the program in the article: “Now questions about how to delete the Steam folder (Steam) requires administrator rights or another file or directory will not arise.

Conclusion

We looked at how to delete a folder that asks for administrator rights. Use the recommendations described above. Remember that deleting system folders will lead to incorrect operation of the system. Be careful. I recommend using the Unlocker program. It's convenient.