How to delete system stubborn files (1)

  
        

As the saying goes, please God is easy to send God, some software needs to be installed, when they are no longer needed, such as illegal deletion, illegal software shutdown, software bugs, etc. It is often the case that the software cannot be uninstalled or uninstalled incompletely. Sometimes when we delete a file or folder, the system prompts that it cannot be deleted. This is really a headache. Now let's take a look at the solution.

First, the general solution

1. Cancel or restart your computer and try deleting again.

2. Go to "Safe Mode Delete".

3. Use the DEL, DELTREE, and RD commands to remove them from the pure DOS command line.

4. If there are more subdirectories or files in the folder that cannot be deleted, you can delete the subdirectories and files in the folder before deleting the folder.

5. If you uninstall a software in the "Add or Remove Programs" option, you will find that the installation directory of the software still exists. There are several files left in it. When you delete it directly, the system prompts that the file is being used and cannot be deleted.

At this point, you can first open the "command prompt" window, press "Ctrl+Alt+Del" to open the task manager, and close the "explorer.exe" process in the process (before this Close all the programs), switch to the command prompt window, use the DOS command to enter the folder that can not be deleted, enter the "Del folder name" to delete the folder. After the deletion is complete, select "File → New Task" in the Task Manager and enter "explorer.exe" to re-establish the shell of the system.

Second, advanced solutions

1. Disk Error

Run the disk scan and scan the partition where the file is located. Make sure that the repair file and bad sectors have been selected before scanning, scan all options, and delete the files after scanning.

2. Read-ahead mechanism

After some video or image file playback is interrupted or being previewed, it will not be deleted. Enter: REGSVR32 /U SHMEDIA.DLL in the Run box to unregister the read-ahead feature. Or delete the [HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID \\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}\\InProcServer32] key in the registry. Then you can delete the file.

3. Firewall

Because anti-virus software will also cause the file to be used when deleting it, you can try to stop or close it and delete it.

4. Office, WPS series software

Office, WPS illegal shutdown will also cause the file can not be deleted or renamed. Rerun the program, then close normally, and then delete the file.

5. Right-click on the folder you want to delete with WinRAR

and select "Add to Compressed File". In the pop-up dialog box, select "Delete the source file after compression," just write a compressed package name, click the "OK" button.

6. Permission issues

If it is a Windows 2000/XP/2003 system, please first determine if you have permission to delete this file or folder (more computer, computer basics to learn, please go to http://www.pc6c .com computer knowledge network).

7. Executable file deletion

When the image of the execution file or the DLL dynamic link library called by the program is not released in the memory, the file will be used when deleting. The solution is to delete the system under DOS. Page file (Win386.SWP in Win98, pagefile.sys in Win2000/XP).

8. File Shredding Method

Using a file shredder, such as Windows Optimizer or File Pulverizer, can completely remove stubborn files.

9. After installing WhoLockMe with a small software--WhoLockMe

, you can find the option "Who locked me?" in the right-click menu. By clicking on it, you can see who is calling the file, press " End the process, you can turn off the program that calls the file, and then you can easily delete any files that are no longer needed.

10. Clear the residual items after software uninstallation

Uninstall the software from the Add or Remove Programs in Control Panel, the software is uninstalled, but it still exists in Add/Remove Programs, although it does not affect the system. Running, but always feel awkward, how to completely remove it?

Methods


One: Remember the software name, find the corresponding CPL file under the Windows\\System folder (because each deleted item corresponds to this CPL file, the CPL file is deleted. The deleted item will disappear. After the deletion, the corresponding item in the control panel will disappear.

Method 2: Start the Registry Editor. Navigate to [HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersin\\Uninstall], select the application name you want to delete, right click and delete.

11. Clear WinXP Brings Programs

For system bundled programs, when the corresponding uninstall option is not found in "Delete or Add Programs", you can open "Sysoc." under C:\\WINDOWS\\inf with Notepad. Inf" file, use the replacement function, replace "hide" with "," (without quotes), restart the computer after saving, "Add/Remove Programs" has the deleted items of the system's own programs such as Media Player.

Copyright © Windows knowledge All Rights Reserved