How to close a file that is in use. How to delete recently closed tabs in Yandex

There are situations when a user wants to close or delete a file, but cannot do this because it is “opened in another program” and then he starts looking for information on how to delete this open file.

It will be useful to consider all the ways in which such a problem could be solved and this task. One of them will definitely suit you.

Via command line

To use this method, you need to open command line on behalf of the administrator.

This is done as follows:

  1. In the "Start" menu (Windows), open "All Programs" and in the "Accessories" section find the "Command Prompt" item.
  2. Right-click on this item and select “Run as administrator.”
    Then on the command line you need to enter the following command:

net file [file name] /close

For example, if running file is called “geek-nose.exe”, then this command will look like this: net file geek-nose.exe /close

If you need to know the name running program, then it is written in the message about the open file itself.

Via task manager

Knowing the file name allows you to use another method to delete files open in other programs.

Actually, this method implies that the user will close the program in which he is open this file.

To open the task manager, you need to press Ctrl+Alt+Delete or Win+X and select “Task Manager” from the list of options.

You can also right-click on the bottom panel and select “Launch Task Manager” from the drop-down menu.

In the "Applications" tab you need to find required file and click on the “Cancel task” button. You can also right-click on it.

In the drop-down list, click “Go to process”. After this, we will be taken to the “Processes” tab, there again right-click on the specified file and select “End process” in the drop-down menu.

After this, you need to try deleting the file again.

If it still does not delete, you can try clicking on the “End Process Tree” option.

It is possible that some program that is located one level higher or lower in the tree does not allow this. Does not work? Then we move on to the next method.

Using the Computer Management menu

This method involves performing the following actions:

  1. Launch the “Computer Management” menu. The easiest way to do this is by searching in the Start menu (Windows).
  2. In the menu on the left, first open “Service”, then “ Shared folders" and "Open files".
  3. In the menu that opens, right-click and select “Disable all open files.”

You may see a list of all open files. Then you can right-click on each of them and select disable.

But in our case, nothing was displayed in this list at all - despite the fact that quite a lot of processes were running on the computer and many files were open.

This means that the computer management menu does not always work correctly and display a valid list of open files.

Attention: Even if nothing appears in the Open Files folder of the Computer Management menu, you still need to right-click and select Disable....

Now you can try to delete the file again.

Unlocker

This little utility is very easy to use and allows you to delete files opened in another program in a matter of seconds. You can download it on the official website. After installation it will be integrated into context menu(the one that opens by right-clicking on any file or folder). To use Unlocker to delete open files, you must do the following:

  1. Click on the file that is not deleted and edit it with the mouse button. Select “Unlocker”.
  2. Among the actions, select “Delete”. You can also click the “Delete process” or “Unblock all” buttons.

Next you need to try to delete the file again in a standard way. There is another program that can also unlock various files and thereby allow the user to delete them. It's called DeadLock.

Using DeadLock

Recently, a huge number of unwanted programs and even viruses have been installed along with Unlocker. This even applies to the installer from the official website. In addition, antiviruses and firewalls are increasingly blocking Unlocker. Therefore DeadLock looks very a worthy alternative. You can download it, for example, . Next you need to do the following:

  1. Drag the desired file into the program window with the mouse cursor.
  2. Right-click on it and select “Unlock”, then “Unlock” again or “Delete” to immediately delete it.

Uninstall in Safe Mode

You can also try to delete the file while the system is booted in safe mode. In order to run it this way, you need to press the F8 button when starting the computer and select something related to safe mode from the list of options. In most cases, it is called “Safe Mode”.

You can try to combine this method with one of the above. For example, when the system is loaded in safe mode, you can unlock the file through DeadLock or Unlocker, if they are installed on the computer.

Using a boot disk or flash drive

This method is very similar to the previous one. Only here we launch the system through safe mode, and through boot disk(aka LiveCD).

Nowadays you can download many such images on the Internet. You just need to burn them to a flash drive or CD/DVD and boot from it. This stage in this case is the most difficult - you need to launch the boot menu and select boot from a flash drive/disk there.

To do this, insert the storage medium into the computer, reboot it and see the prompts for starting the boot menu.

In most cases, something like this will be written somewhere: “Press F5 to run boot menu.” Accordingly, in this case you need to press F5.

After this, a menu will appear in which you need to indicate what the system will boot from. In our example, this is “Flash drive...”.

Finding out the desired option is very simple - if it is a flash drive, then the word “flash” will appear in the name, and if it is a disk, then “CD” or “DVD”.

Next it will load from bootable flash drive or disk. The LiveCD interface may be similar to Windows or Ubuntu, but in any case, when you right-click on a file, you will see the “Delete”, “Delete” or “Cut” option.

The user just has to click on one of them.

Simpler options

Sometimes there is no need to resort to such radical methods as described above. One of these much simpler methods often helps:

  1. Restart your computer. It is quite possible that after a reboot, all processes will be terminated, including the one in which the file to be deleted is open.
  2. Uninstall the program that opens this file. After this, all processes associated with it will also be completed automatically.
  3. Execute full check computer for viruses. In some cases, the file does not close due to a banal virus, and after removing it, everything falls into place.
  4. Disable your antivirus. It happens that some files are blocked not by the system, but by antivirus program. Accordingly, then stopping its operation helps to calmly work with the file.
  5. Log in as administrator. Sometimes a file cannot be deleted due to insufficient user rights.
  6. Just move the file to another folder.
  7. Try rolling back the system to the moment when the file was freely opened and deleted. To do this, go to Control Panel, select Recovery, then click Run System Restore.
  8. After this, click on the desired backup option (it’s easy to navigate by the time of creation) and click “Next”.

Another interesting way to delete an open file is shown in the video below.

While surfing the Internet, users may stumble upon sites containing quite dangerous scripts. After going to a page or clicking on a banner, the entire Google browser Chrome turns out to be blocked, and some suspicious message is displayed on the screen. It may say something about sending an SMS or deleting all data from your computer if you do not transfer any amount to the attackers. Sometimes there are no such entries, and the tabs simply freeze. This article describes how to delete tabs closed in this way in the Google Chrome browser.

First of all, it is worth noting that the data on your personal computer is not in danger. You can safely ignore everything that is written in the pop-up window, as this is a common scam. However, you should also not click on any buttons in the window; this may open access to downloading some harmful virus or annoying adware.

If the rest are open on Google Chrome tabs do not represent any value to you - most simple solution There will be a normal browser restart. Try closing it normally - using the cross icon in the corner of the window. If Google Chrome hangs and you can’t do anything, you can use the Windows Task Manager:

This way you can probably close Google Chrome and clear frozen tabs.

How to delete one tab

If you don’t want to close other tabs at this moment, there is a way to delete only one frozen page. To do this, follow a few simple steps:


This way you can easily remove problems that arise while working on the Internet. After such incidents, it is recommended to check your Personal Computer using antivirus and special utilities to combat advertising applications such as ADWCleaner. It is also worth checking the system with the official utility from Google - Chrome Cleanup Tools.

Chrome Cleanup

This small program is designed to find malicious and dangerous applications that can interfere with the correct operation of your Goolge Chrome. To check the operating system using it, follow the instructions provided:


Hello! Today I decided to write about how to clear the history of visited sites and the history of closed tabs in Opera. I recently wrote how to do this, and now I’ll write about my favorite Opera browser.

Well, it’s no secret that when visiting sites, the browser creates a history of visited sites, and also a history of closed tabs. All this is done for the convenience of the user; you can go in at any time and find the sites you visited. Or resume a deposit that you accidentally closed.

But you may need to clear this history, for what? Well, there can be many options, for example, you were surfing the Internet from someone else’s computer, and you don’t want anyone to see what sites you visited. If the history of closed tabs clears itself after closing Opera, then the history is not cleared, but now I will write how to clear it manually.

Clearing history in Opera

In order to clear the history in Opera, go to the “History” menu.

Setting up history in Opera

You can configure the number of saved addresses of visited sites, and set the cache size. To do this, click on the Opera menu, then go to the “Settings” tab and select. Or press “Ctrl+F12”.

A window will open, go to the “Advanced” tab, then “History”. Here you can set the number of sites that will be saved and the cache size. Disk cache is a valid space on your hard drive where information from visited sites will be saved. And when you go to this site again, for example, the graphics will no longer be downloaded from the Internet, but will be downloaded from your computer. This will speed up the site loading process, and .

After making changes, click “Ok” to save the settings.

How to clear the history of closed tabs in Opera?

As I already wrote, the history of closed tabs is cleared itself after closing the browser. But you can also clean it manually. Click on the arrow that opens the history and click “Clear closed tab history.”

That's all, now everything is in order :).

P.S. If you are thinking about buying a laptop for yourself, then of course you will have the task of choosing a worthy model. Now there are a lot of worthy manufacturers and models on the market, but Apple laptops are considered the best. So look at the prices at MacBook Air, it is of course not very cheap, but still such a purchase will definitely please you.

And finally, I suggest you watch a cool video with a parody of Apple presentation iPad Mini. I laughed heartily :). Good luck!

Hi all! Today I will tell you Howdelete a file or folder that cannot be deleted different ways, just in case you’ve already tried everything you could, but it still didn’t help. I decided to write this article because I myself once encountered a similar problem, that my design themes that were in the folder did not want to be deleted or moved. Why, they couldn’t even be opened or renamed.

Often when PC users try to delete such files, The following messages may appear: the file cannot be deleted, access is blocked, the disk may be full or write-protected, the file is occupied by another application, this process is busy, the folder is not empty. These errors occur for many different reasons, which you must first understand and understand what the problem may be before you try to do anything. So, there are not many reasons for this, here are some of them:

— You are trying to delete a file that is used by other programs. For example, if you were watching a movie or listening to music, but before you had time to close the player, you are already trying to delete the file being played, then no matter how hard you try, you will not be able to do this until you close all the corresponding applications that use this file in the PC ( Personal Computer). It also sometimes happens that this file or folder is used by other applications, but you do not see them, although they are displayed in the task manager, which will be discussed below.

— You are trying to delete a file that is used by other users. For example, you downloaded it through a torrent tracker and then wanted to delete it, but for some reason it just doesn’t want to be deleted. The thing is that another user is downloading this game from you over the Internet, and until you turn off the Internet or exit the torrent program, the file will not be deleted.

-You don't have enough rights to do this. What does this even mean? Am I the owner of my computer or who? The fact is that you probably, like me once, could have placed your files or folders in the system folders Windows operation, to which access is prohibited for your own safety. This restriction was created to prevent you from ruining your computer by deleting any important file from operating system Windows.

— Files or folders that you wanted to delete were quarantined by your antivirus program. In other words, your antivirus program didn’t like something about them, so it blocked them so that they could not harm your PC in any way.

Ok, we figured out the reasons. Now all that’s left for you to delete your non-deletable file is to simply try all the methods that I described for you below.

How to delete a file or folder that cannot be deleted via a computer?

Method 1. Just restart your computer, in most cases this will be enough.

Method 2. Turn on task manager. Press Ctrl + Alt + Delete if you have Windows 7 or XP and Windows + X if you have Windows 8. A window will appear in front of you, go to “processes”.

All programs that are on this moment work on your computer. Try to find exactly the one that might use your file. If it doesn’t work, then just select any one at random and click “end process” each time trying to delete the file again.

Method 3. Turn off your computer and turn it on again. During the boot process, press the F8 key many times. A black screen will appear in front of you, where there will be several options to boot your PC. Select "safe mode". As soon as the computer boots, try to delete the file or at least move it to another location.

Method 4. If the file is simply not deleted, but can be transferred, then you can proceed as follows. Just drag your file onto an empty flash drive and format it. Be careful, after this process everything will be deleted from it!

Method 5. Open your computer and find your non-deletable file on the desktop. At the top of the window, click “service”, then “folder options”, go to the “view” tab and uncheck the box if it is next to “use simple file sharing” and save the changes. Try deleting your file or folder.

Method 6. Change administrator rights. Right-click on our file, select “property”, then in the window that opens “security” and click “advanced”.

Another window will appear, click on “owner”. Here simply select another administrator and click “apply”. Personally, this operation helped me remove restrictions from my WordPress templates, which I wrote about.

Method 7. Disable all processes associated with this file. This procedure is very similar to the task manager, but it has a more effective effect. Click "Start" on your desktop, then "Run." In the window that appears, enter msconfig and press OK.

Another window will appear in front of you. Here go to the “startup” tab and in the list of running processes try to find the name of your non-deletable file and uncheck it, and click ok.

How to delete files and folders that cannot be deleted using special programs?

Method 8. To solve this problem, a very cool and at the same time simple program“UnLocker”, which is capable of deleting non-deletable files in 90% of cases. You can download the program from the official website. During the installation process, be careful and uncheck the box where you are offered to install another application in addition to the program. If you don’t do this, then at the end of the installation your antivirus program will swear for a long time.

Lists of open files and connected via USB devices, browser history, DNS cache - all this helps to find out what the user was doing. We have compiled step by step instructions how to remove traces of your activities in different Windows versions, Office and popular browsers. At the end of the article you will find several scripts that will help you automatically keep your machine clean.

1. Clear lists of recent places and programs

Let's start cleaning with lists of recent places and programs. The list of recent (in Windows 10 - frequently used) programs is in the main menu, and the list of recent places is in Explorer.


How to turn off this disgrace? In Windows 7, right-click on the “Start” button, select “Properties” and in the window that appears, uncheck both boxes in the “Privacy” section.

To clear the list of recent places and documents, you need to delete the contents of the %appdata%\Microsoft\Windows\Recent directory. To do this, open the command line and run two commands:

Cd %appdata%\Microsoft\Windows\Recent echo y | del *.*

It also wouldn't hurt to delete the contents of the %appdata%\microsoft\windows\recent\automaticdestinations\ directory. It stores the latest files that appear in the jump list:

Cd %appdata%\microsoft\windows\recent\automaticdestinations\ echo y | del *.*

To ensure that recent files are cleared automatically when you exit, you must enable the "Clear the history of recently opened documents on exit" policy, which is located in the "User Configuration\Administrative Templates\Start Menu and Taskbar" section.

Now let's move on to Windows 10. You can disable the list of recently added and frequently used applications through the Settings window. Open it and go to the “Personalization” section, “Start”. Turn off everything that is there.


It seems that the problem has been solved, but this, alas, is not entirely true. If you enable these parameters again, then all lists with the same composition will appear again. Therefore, you will have to disable this feature through Group Policy. Open gpedit.msc and go to User Configuration\Administrative Templates\Start Menu and Taskbar. Enable the following policies:

  • “Clearing the list of recently used programs for new users”;
  • “Clear history of recently opened documents on exit”;
  • “Clear notification log on tile when exiting”;
  • “Remove the list of programs pinned to the Start menu.”

Clearing recent places in Windows 10 is easier than in Windows 7. Open File Explorer, go to the View tab and click the Options button. In the window that appears, disable the “Show recently used files in the Quick Access Toolbar” and “Show frequently used folders in the Quick Access Toolbar” options. Don't forget to click the "Clear" button.

As you can see, such a simple task as cleaning up the last objects has a rather complicated solution. No editing group policies- nowhere.

2. Clear the list of USB drives

At some sensitive facilities, only flash drives registered in the log are allowed to be connected to the computer. Moreover, as usual, the magazine is the most ordinary one - paper. That is, the computer itself does not in any way restrict the connection of unregistered drives. It doesn’t limit, but it records! And if during the check it is discovered that the user connected unregistered drives, he will have problems.

We under no circumstances advise you to try to steal military secrets, but the ability to clear the list of recently connected drives can be useful in other life situations. To do this, look at the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\

Here they are - all the drives that you connected to your computer.


It would seem that you just need to take it and clean everything. But it was not there! Firstly, the permissions for these registry branches are set in such a way that you cannot delete anything even in “seven”, not to mention “ten”.


Secondly, assigning rights and permissions manually takes a long time, especially if there are many drives. Thirdly, administrator rights will not help. The screenshot above was created when I performed the delete operation with admin rights. Fourthly, in addition to these two sections, you need to clean a long list of sections. Moreover, they need not just to be deleted, but to be edited correctly.

If for some reason you need to do everything manually, then look for keywords MountPoints, MountedDevices DeviceClasses and RemovableMedia. But it’s much easier to use a ready-made program that will do everything for you. Some forums recommend USBDeview for this. However, I tested it and declare that it does not clear information from all the necessary sections. USBSTOR And USB continue to contain information about connected media.

I can recommend the program. Run it, check the “Perform real cleaning” checkbox. You can turn on the “Save .reg cancel file” option or not, but if the goal is not to test the program, but to prepare for an upcoming computer inspection, then it’s better to turn it off.


The program not only cleans the registry, but also displays a detailed log of its actions (see below). When it finishes, there will be no mention of connecting drives to the computer.


3. Clear cache and browser history

The third point in our tutu is clearing the cache and browser history. There are no difficulties here - each browser allows you to reset the list of recently visited sites.

Continuation is available only to members

Option 1. Join the “site” community to read all materials on the site

Membership in the community within the specified period will give you access to ALL Hacker materials, increase your personal cumulative discount and allow you to accumulate a professional Xakep Score rating!

Computer