Files are not deleted from the flash drive. What to do if files are not deleted from the flash drive? How to delete a corrupted file that cannot be deleted from a computer, SD card or flash drive using standard Windows tools

Currently, a flash drive is a common and necessary storage device for information. Even a novice PC user can easily write or delete data from a flash drive. But since this equipment works in conjunction with sophisticated computing technology, there are situations when information cannot be saved or erased. And the question arises of what to do if files are not deleted from the flash drive or, conversely, it is impossible to restore them.

How to clean up the drive if applications and documents are not deleted.

You should be aware that when information is deleted from the drive, not the file itself is erased, but only the record about it. For example, like in a library, a book is lost, but a card stating that it is there remains. And therefore, knowing how to delete everything from a flash drive, you can either restore information, or completely get rid of it.

IMPORTANT. All formatted data in these ways can be easily accessed by typing "Recover deleted file" in the search box.

Why can't you delete files from a flash drive?

If, after all the above manipulations, files are not deleted from the flash drive, this may mean the following:

  • Hardware protection.
  • Software protection.
  • The folder is being used by another program.
  • The presence of errors.

If you don’t understand why you can’t delete files from the USB flash drive, you can try restarting your computer in safe mode and logging in as an administrator. In the folder properties, find the "Security" tab, where click on the "Advanced" button. Select the "Owner" item and assign yourself to it. Then, using the task manager (Ctrl + Alt + Del), close all processes and try to delete the information again.

Possible solutions to the problem

When you enter the question “I can’t delete a folder from a flash drive” into a search engine, the browser usually gives out a bunch of information from which you have to choose a suitable problem and solve it. In fact, it is not very difficult to do even for a beginner.

If files are not deleted from a flash drive, what to do with hardware protection

Modern drives on the device case have a special lock. It is he who enables or disables the lock. It is enough to switch it, as it will be possible to save or remove information from the media.

If the folder is not deleted from the flash drive, what to do with software protection

For an experienced programmer, there are many options on how to delete non-removable files with software lock from a flash drive, but a simple layman can try simpler methods:

  • Formatting. If there is no valuable information on the drive, then you can do it with the right mouse button and set the file system (NTFS) and the size of the cluster unit (4096 bytes) in the options.
  • Virus elimination. If the system perceives a removable disk as a virus and blocks the entire process of working with it, you should check the USB with any antivirus and, if possible, destroy it.

IMPORTANT. If after all the manipulations an empty folder remains on the USB, you need to restart the PC and delete it again.

How to delete all data from a flash drive if it is being used by another process

This is a fairly common problem and you just need to close this mysterious program if it is known or use a third-party utility (Unlocker, LockHunter, Iobit Unlocker, etc.). Unlocker is one of the best programs to delete non-removable files.

IMPORTANT. All of these applications have a huge disadvantage, they will not be able to warn about the erroneous deletion of system files.

Presence of errors

It may be that the disk is damaged or the contents are not written correctly, then the system gives an error. In this case, you can remove it. In the USB root folder, right-click to select "Properties", "Service", "Check for Errors".

When formatting a flash drive, you need to understand that there can be many common ways to delete information, but in the case of non-deletable data, the Unlocker file manager can become a good helper.

Surely, almost every user of a home computer or laptop has encountered a situation where it is not possible to delete any file or folder from the computer. When you try to do this, a window pops up on the desktop with information about the error. Naturally, the file that you deleted has not gone away and is quietly lying in its old place. So how do you delete a file that won't get deleted?

Using different programs

Often the user is not able to delete the file because it is open and used in some program, and it does not allow the file to be permanently deleted. For example, you decide to delete text file Microsoft Word program, but the document itself is open in parallel, and the deletion operation is not completed. Or there is another example: by the way, after watching a movie, the user wanted to delete the video file from the computer, but before that he did not turn off the utility with which he played the video. Naturally, the video file was not deleted. To solve the problem, you need to close all programs that use the file being deleted and try again. So you can delete non-removable files. This is the simplest situation, and, unfortunately, it is not the only one. There are other situations when the file is not deleted. What to do?

Computer RAM

So, all your dancing with a tambourine around the file did not bring any result. And you still don't know how to delete a file that won't be deleted. This can only mean one thing: the processes associated with the application being removed are still active or remain in the computer's RAM. Visually, the application is closed and is nowhere to be seen, but the computer system does not think so. There are two ways to solve this: either end the process through the task manager, or simply restart the computer. If you have never worked with the task manager or even never heard of it, then it is better to just reboot, and you can learn how to use the task manager later. Also what, the file is still not deleted? Move on.

Unacceptable symbols

Invalid characters in the name are sometimes the main reason for the question of how to delete a file that is not deleted. Usually the system does not allow you to name the file incorrectly and warns the user about this in advance with a pop-up error window. But sometimes system failures happen, and you can inadvertently give a file or program an incorrect, incorrect name. This can only happen during a crash in the program in which you opened or edited the file. Often this happens when unpacking a rar or zip archive. Try renaming the file, this will probably fix the problem and the file will be deleted. If the file is not removed from the computer even after this, try "safe mode".

Safe mode

If all of the above methods were ineffective, then you should try deleting the file in safe mode. This is easy to do, although it may seem at first glance the most difficult way. First, we restart the computer and while the Windows logo appears on the screen, we press the F8 key. The button sometimes does not work, so it is better to press several times in a row or even hold and hold it. After that, the boot menu will appear, and in it you need to select the option " Safe mode”, and then press the Enter key. Next, the desktop is loaded, but already in safe mode. Find the file and delete it. You can boot "safe mode" in another way by inserting the disk from which the operating system was installed into the drive. That's all there is to know about how to delete a file that won't be deleted.

Unlocker

But, of course, it may be that the safe mode could not help either. It is worth using the Unlocker function when such problems arise:

1. Access to the file is denied, it is impossible to delete it.

2. The file or folder uses the file, but when you close it, you still can't delete it.

3. The disk is protected from writing and other changes.

4. A file sharing error pops up.

5. Other reasons.

But no matter how hard the computer tries to prevent you from deleting the file, Unlocker will do a great job of resolving this issue. Unlocker is special program, which deals with deleting undeletable files and folders. It conveniently and quickly integrates into the "Explorer", and as soon as you get a notification about the impossibility of deleting a file, you can easily delete it by right-clicking on the file and calling the context menu. Unlocker masterfully shows all the processes and programs that are blocking the normal removal, and by completing them, you can get rid of junk file. You can also postpone the removal until the next OS boot of your computer.

Best part: Unlocker - completely and completely free program, so you don't have to worry about supporting cyber piracy when using it. Your conscience will be clear. Reviews about Unlocker are the most positive.

Unlocker Compatibility

The program for removing undeletable files works on both 32-bit and 64-bit systems. The program has been translated into more than 40 languages ​​of the world, including Russian.

Flash drive issues

If files are not deleted from the flash drive, then the problem needs to be solved differently. The main difference in deleting files from a flash drive is that they are not moved to the trash, but are deleted from the computer completely, once and for all. Such a handy feature can be a real cause for concern when a file is found that cannot be deleted. Although the file itself does not pose any inconvenience or any threats, it still hurts the eyes.

Reasons for not deleting files from a flash drive

How to delete a file that is not deleted from a flash drive? Maybe it's because of the mechanical write protection. Carefully inspect your flash drive or memory card. If you find a small mechanical switch, then you are on the right track. See what position he's in. The bottom line is that this little lever protects the flash drive from unwanted writing of any information, deletion, formatting - almost any user activity in relation to a flash drive or memory card. If the switch is activated, then when you try to delete a file, the following notifications pop up: "Remove write protection", "The disk is write-protected", "Cannot delete file".

flash drive and viruses

Of course, a common cause may be a "disease" of your computer with a variety of viruses. You can pick them up anywhere, mostly on the Internet. If the file was deleted, and then reappeared, then one hundred percent you have a virus. If you have an antivirus installed, then you should check your flash drive with it, if not, then well, you will have to go from downloading and installing an antivirus on your computer. Absolutely any antivirus will do, of course, with an up-to-date antivirus database.

Flash drive file system

The flash drive is managed by utility programs, and they can also fail. Then formatting the flash drive will help. But at the same time, it will be completely cleared of information.

Formatting a flash drive

This is the easiest and most effective way to get rid of files on external media. But be careful, formatting will delete not only those files that you want to get rid of, but also all the rest that are on the flash drive. Everything is quite simple, right-click on the flash drive in the "My Computer" window and select "Format". Next, select the file system that suits you best and the cluster size. You can leave the default values, but if you have special preferences, you can customize the formatting for yourself. Then uncheck the box next to "Quick" and start the removal process.

Mistakes

How to delete a non-deleting file from a flash drive? The media may contain errors that interfere with normal operation. To fix this, you need to right-click on the flash drive icon, go to "Properties" and go to the "Tools" tab. Click the "Check" button, and all errors will be found and corrected.

Negligence

Many computer users think: why bother with such a thorough removal of programs, let them lie around on the hard drive, there is no harm from them. This is not true. If you let everything take its course and leave the cluttered compartments hard drive with all sorts of garbage, files, folders, archives and various programs, then over time your computer will fail and work not quite properly. And this is not an assumption - this is a fact. Therefore, you should always clean your computer. An operating system that is handled with care, removed junk in time, cleared the cache, does not use pirated content that may contain viruses, will work much longer. Several years of uninterrupted work are guaranteed to you. Unless, of course, you like to reinstall the system every three to four months, then please don't delete anything.

Basket

If you just clicked "Delete file" without using the hot buttons, then the system throws it into the trash, from where it can then be restored if desired, you can also delete it again, but completely from the trash. If files are not deleted from the trash, then it is not necessary to sit for several hours trying to figure out what the problem is and how it can be solved. It is enough to simply delete the trash along with all non-deleted files. We go to the "Start" menu - "Run-cmd. Code rd / s c: \ recycler". The question pops up: "Are you sure you want to delete the trash?" - press "Y" and thereby confirm the choice.

Outcome

Here are almost all the most adequate ways to delete files from your computer. Almost all ways of how you can delete a file are listed: both through the program and using "safe mode". We figured out how to delete from a flash drive. But there are people for whom all of the above is real magic, worse than in Harry Potter, so it is better for such people to call programmers to solve their problems. There is nothing wrong with the fact that such people do not know what to do with undeletable programs and files. In life, this is not the case.

Probably, it is not necessary to say that many of us have encountered a situation where, when working with removable storage drives, the selected folder is not deleted from the flash drive. What to do in this case? Unprepared users, no matter how hard they try, do not succeed, as a result of which they are inclined to make a decision on formatting the media.

Yes, indeed, this is the most radical way to delete all the contents of a flash drive. However, in some cases, when not everything needs to be deleted, but only some selected directories, and also if the device is protected against any actions, this method is not applicable. However, let's look at what can be done and how to get out of this situation.

Why the folder is not deleted from the flash drive (writes: “The disk is write-protected” or “The folder is not empty”, etc.)

To begin with, it is worth paying attention to finding out the reasons for this phenomenon.

And the first step is to look at the content of the message that is issued when trying to delete the selected directory:

  • If the folder is not deleted from the flash drive, and the notification mentions write protection, this indicates that protection is enabled on the device itself (mechanical, cryptographic, etc.).
  • Sometimes there are messages that there are some files in the selected directory, but they are protected from deletion.
  • Sometimes nested objects can be occupied by some processes currently running in the system. A very common reason for this phenomenon can be called some categories of viruses that block access to both the directories themselves and their contents. In this case, a notification is also issued that the folder is not empty, the folder is not deleted from the flash drive, and it is impossible to perform any actions with attached files.

So what actions can be taken to perform the necessary operations to remove directories from removable media or their contents (partially or completely)? You can offer several solutions, which will be discussed further in as much detail as possible and in relation to the most common situations that do not include problems associated with damage to removable drives themselves.

The folder from the flash drive is not deleted: what to do with protection?

So, to begin with, a few words about protection. First of all, pay attention to the presence of a special switch on the flash drive itself. It can be located under the lid or directly on the body. Most often, next to it there is a designation like Write-protect or Lock. Just move the slider to the off position and try to delete the desired directory again.

However, it also happens that even after that the folder on the flash drive is not deleted. What to do in such a situation? Here you will have to check the attributes of the most undeletable directory or its nested files.

Through the RMB menu on the selected object, go to the properties and check that the box for setting the Read Only attribute is not checked. If it is, remove it, and then repeat the removal. But protection can be installed not only in this form. Sometimes it is activated in the operating system settings. We will dwell on this separately, but for now we will continue to consider the most simple solutions.

The simplest actions with undeletable directories

Here you can use one of the classic methods, which consists in first renaming the selected directory (if possible) or moving it to another location on the drive by cutting, and then try to delete it.

In some cases, you can do it even easier by first deleting all its contents from the folder, and then the folder itself. If for some reason this does not work, then at least it will be possible to determine the file that cannot be deleted, and then proceed to unlock it.

Removing protection from a flash drive through group policies

Now let's take a closer look at the protection parameters installed directly in the operating room settings. Windows systems. There are two sections for this: group policies and the system registry. By and large, they duplicate each other in some settings, but the priority of registry settings is higher.

To begin with, if the folder is not deleted from the flash drive, consider the actions in It is called through the Run console with the gpedit.msc command.

In its parameters, you need to find the section for accessing removable storage devices, enter the options for the option to prohibit writing to removable drives and disable it, and then save the changes.

Deactivating removable media protection through the registry

For cases when some folder from the flash drive is not deleted due to blocking access to the device itself, it is more advisable to use the system registry (regedit).

In the editor, through the HKLM branch and the SYSTEM, CurrentControlSet and Control sections, you need to go to the StorageDevicePolicies directory. On the right, a key named WriteProtect will be shown, for which the value "0" should be set. If the required key is missing, you need to create it, then create a DWORD value on the key itself, and then give it the name and value above.

Setting the necessary access rights and permissions to directories

Finally, let's look at situations where a folder is not deleted from a flash drive due to the lack of access rights to it or some special permissions. To set all the necessary rights, you need to enter the properties of the directory that cannot be deleted and set the full set of rights for all users and groups on the sharing settings tab.

Note: The security tab in the properties section for directories stored on a hard drive or logical partition may not be present.

Removing content using the Unlocker utility

Why the folder is not deleted from the flash drive, and what can be done to correct the situation, is in general a little clear. Finally, a few words about using the universal Unlocker utility. With its help, you can either restore access to files and get rid of them individually, or apply similar measures to the entire directory.

Select the desired directory and through the RMB menu go to the Unlocker program item. From the list of actions, set the deletion and confirm the operation.

Using Command Line Tools

Finally, any folder from the flash drive can be deleted via the command line. In this case, you first need to find out the drive letter using and list disk, then go to the removable device using the cd:\ command, and then delete the directory by executing the commands "rmdir \Directory name" or "RD \\.\Drive letter:\ Path\Directory Name".

What to do with viruses?

In conclusion, it remains to consider only computer security issues related to viruses blocking access to information stored on removable devices, or to flash drives themselves.

In the simplest case, it is recommended to check using portable scanners like KVRT or Dr. Web CureIt!, and if it is impossible to neutralize threats with their help, use disk utilities with the general name Rescue Disk, which allow you to load your own environment even before the operating system starts and perform a deep scan of everything that is there, including removable drives and operational memory.

Very often on flash drives you can also find autorun.inf files, which can be either infected objects or components of virus programs. It will not be difficult to delete them even in manual mode via the command line using the “del \Filename” command (in our case, del \autorun.inf) after entering the root of the media.

A few last words

Above, only the most common situations and methods for correcting them were considered. In fact, there may be many more. However, if none of the above methods work, the media will have to be formatted. To get started, it will be enough to clean up the contents of the disk ( quick format). If this does not have an effect, you will have to do full formatting, for which the HDD Low Level Format Tool is best suited (and not operating system tools that may not always work).

In recent years, each of us has at least 1 flash drive. Viruses also came with flash drives. In this article, I will show you how to get rid of a virus that prevents you from deleting files from a flash drive.

The essence of the problem

If you delete a file from a flash drive and it is still there, or reappears. If you cannot delete a file from a flash drive and there is no delete button, then this article is for you.

Option 1 (Uninstall with Unlocker)

To delete a file that cannot be deleted, you must first download and install the Unlocker Unlocker1.9.2.exe program (downloads: 1). This program helps in almost 95% of cases.

Now go to the flash drive (or folder) where you want to delete the file.
1) Right click on the file you want to delete. Choose an option "Unlocker" and click on it.


2) On Windows 7 I get a message below. We press Yes .


3) In the window that appears, there will be a list of processes that prevent the file from being deleted.
Gotta press "Unlock All".




4) Again, right-click on the file you want to delete. In the window that appears, we have a choice:


  • No action
  • Delete
  • Rename
  • Move

5) Select "Delete".


In some cases, when it is not possible to delete even with the help of Unlocker i used the option Rename. And then already Delete.

6) We delete the file and it goes to the Trash. Delete it from the Recycle Bin. Everything.

Option 2 (change permissions)

In the remaining 5%, when Unlocker fails, he needs help. If the file is not deleted unlocker, and at the same time you have an error like "Object deletion is not possible, as below:

Then in this case you need to do the following:

Go to the USB flash drive, namely to the root directory, i.e. you should be at the very top, as in the picture below:


After that, run my file on the flash drive by double-clicking the left mouse. After that, do all the steps from Option 1. Now you should be fine. Good luck!

Give permission to modify files

(If you are afraid to download files from the Internet / from my site)

To do this, you need to create a New Notepad File and paste the following text into it:

attrib -s -h -r /d /s




  • "attrib -s" - change all system files on the ordinary
  • "attrib -h" - change all hidden files on the ordinary
  • "attrib -r" - change all files "read-only" to "files for writing"
  • "attrib / d" - select all files and folders
  • "attrib /s" - select all folders and sub-folders

How to make file extensions visible

In order for you to see that the file created in notepad is really with the extension .bat and you did everything right, you need to change (or check) the settings of files and folders:

And, of course, the biggest difference between notepad file a and file .bat, it's theirs icons:

Source

It happens that you just need to delete a folder or file, but Windows does not allow you to do this and writes about errors like "this process is busy" or "folder is not empty" or something else. Maybe you found some folder or file that you "didn't like" and want to delete it. Maybe you know for sure that this is "unnecessary trash" that only takes up space, and Windows swears and does not allow it. In general, not so important Why can't you delete, How many How to delete and in this article you will find answers to this question.

Most often, such situations occur due to the fact that the deleted files are occupied by other programs. But it also happens that it is impossible to delete a file even after closing all applications that can use this file. For example, a file or folder may become locked due to incorrect user actions and cannot be deleted in any way. These folders (files) remain "hanging" on the hard disk, take up space, are not opened and are not deleted.

The file may not be deleted due to a failure that occurred during its recording or overwriting. If you interrupt the write process, the file is not fully saved, leaving invalid entries in the file system. And our beloved Winda, not knowing how to handle it, simply simply closes access to it, such as for security reasons.

So, let's start dancing with a tambourine!

Why is the file not being deleted?

1) The file was blocked by an antivirus program. Often this happens when the antivirus quarantines the file. Or the antivirus detected a malicious program, but the treatment was delayed (it is waiting for its databases to be updated). In this case, in order to avoid infecting the computer, the user is blocked from accessing this file. Check the quarantine of the antivirus program and delete the file using the antivirus itself, or disable the antivirus and delete the file manually.

2) The file is being used by another program. Think about what programs can use this file. Close them and try deleting the file again. If this does not help, use the Task Manager to check the list of processes, the program may still be running.

3) Administrator rights are required to delete a file. If you are working under account user log in again as an administrator and try to delete the file.

4) The file is being used by another user local network . Please wait and try deleting the file later.

5) The file is in use by the system. Try deleting the file after restarting your computer or in safe mode.

6) The device is write protected. For example, SD memory cards and some USB flash drives have a special switch to lock the device.

There are several ways to remove, I will start with the simplest and most effective and gradually move on to more complex ones.

1. Way:

Reboot

We programmers have a saying - "7 troubles - one reset". What does it mean you can guess

But the meaning of the method is that you need to restart your computer and try to delete the file / folder again.

2. Way:

Safe mode

You need to log in in safe mode.

What is the advantage of booting the system in safe mode? The thing is that Windows does not load its libraries to execute dialogs. To put it simply, if you have a virus on your computer (and this is not excluded), then in this safe mode it will not perform any actions. In this mode, there is nothing superfluous, only a clean AXIS and a person.

In order to enter this mode, when you turn on the computer and after loading the BIOS (or in general, you can press the key intensively from the very beginning of loading the "black screen") F8(no need to press and hold!!!). A black screen will appear in which you need to use the keys on the keyboard to select Advanced boot options, and there is already Safe Mode (well, or just Safe Mode, you don’t need to select all sorts of there With support command line And so on. And so it will do) and press Enter. If you did everything correctly, the system will boot up and in the lower right corner there will be an inscription Safe mode (it can still be in all corners). Do not be afraid of the black screen that will appear) without wallpaper and beauty.

Now you need to find the file that you just could not delete and try to delete it. In any case (it turned out or not), reboot.

3. Method:

Through the program Unlocker

That's it for such purposes, good uncles wrote such a program, called Unlocker. This is a very small, free program for unlocking files running on Windows. This utility allows you to close open file locks, thus making it possible to perform further actions on these files. Those. the program shows all processes blocking a file (folder) and can delete it despite all blockers.

In addition, the program allows you to rename files and their extensions or move a locked file to another location. This is also very convenient, because. Windows does not always allow you to do this quickly and calmly.

During installation, DO NOT agree to the proposed toolbar (well, or you really need it, then click Next) and uncheck Install Babylon Toolbar - RECOMMENDED. And the rest of the installation is normal - everywhere Further I accept Install and everything)

Just right-click on a file that is not deleted (not moved / renamed) in the usual way and select the program icon from the menu. A window should appear in which you select Delete from the list and press the button OK.

If the file or folder is locked, another window will appear. In it, you must first click on the button Unlock everything, and then Delete.

For those who do not know what bit depth is on the system - we read

4. Way:

Through file managers

Of all the most popular and commonly used file managers, the most popular is Total Commander.

File managers have the ability to bypass some Windows restrictions, which we will use.

To delete a non-removable file, we need to download one of these file managers, FAR or Total Commander (I use Total Commander Podarok Edition). After downloading and installing, find your file in the list of directories and delete it by either pressing the right mouse button and selecting the Delete item, or by pressing the Delete key on the keyboard.

Also, these managers have a good opportunity - to see everything that is hidden and encrypted (especially in different colors, like mine). If you do not delete the folder, then go into it through the manager and see what's there. If you see a hidden file, it means that it interferes. Then launch Task Manager ctrl+shift+esc), go to the Processes tab and look for this file in the list (it’s good to click on the button at the bottom left of the dispatcher Display processes of all users), find and complete (del or RMB -> End process or End process button in the lower right corner). With files, the same application, we are looking for the file name and "kill".

5. Method:

Another option with Unlocker

If the folder is not deleted from you, it writes something like "the folder is not empty", then we create a new folder on the same disk, transfer the folders that cannot be deleted to a new folder, delete the new folder using Unlocker

6. Method:

With autoload

Click Start => Run => In the Run box, type msconfig => Click OK. You will see the System Setup window. Go to the "Startup" tab and in the list of downloaded items, find a name similar to your "non-removable" file.

If there is no such file in the list, then click on the "Disable all" button. Click on the "Apply" => "Close" button. The operating system will issue a warning that all changes made by the system setup program will only take effect after the computer is restarted. Click the "Reboot" button. The computer will restart. After downloading, try deleting the "non-removable" file again.

7. Method:

Using System Restore

In the "System Settings" window (which was the same as in the previous paragraph), select the "General" item. Click on the "Start System Restore" button. In the window that appears, select the item "Restore an earlier state of the computer", click "Next". In a new window, you will see a calendar where you can select the date for system restore. Select a date when the "non-removable" file was not on the computer. Press "Next". Don't worry, System Restore won't affect your personal files.

8. Method:

Lack of permissions to delete files

Right-click on the problematic object and select "Properties" from the drop-down list

In the window that opens, select the "Security" tab

Highlight your name in the list and select "Full Control"

- "Apply" and "OK"

Trying to delete

9. Method:

Use a different operating system.

Try booting from a removable drive (or CD/DVD) (LiveCD or LiveUSB) from another operating system. Then delete the file/folder.

10. Method:

Move somewhere.

Sometimes it helps to move (cut) the folder to an empty flash drive and format it later.

11. Method:

In the window, type the command chkdsk c: / f / r and click Enter, while keeping in mind that c: is the name of the drive to be checked. If the disk being checked has a different letter, then write it.

If the checked drive is C:, then when you click Enter You will be prompted to check it the next time you reboot. When asked whether to check or not on the next reboot, type Y and press Enter.

If the disk name is different, then the check will start immediately. At the end of the test, the result of the test will appear. Type exit and click Enter.

Now you can delete the file that you didn't want to delete. In the case of drive C, just restart the computer and after checking, delete the non-removable file.

12. Method:

In the case of opening the command line through Start - All Programs ... run the process as an administrator (RMB and Run as Administrator) and move to the folder with the file (or folder) that cannot be deleted using the cd \ command in order to end up in the root directory drive, and then cd folder_name to go to the desired folder.

mob_info