The reason why windows7 folder can not be deleted and how to deal with it

  

There are too many files in the computer. Inevitably, you have to start cleaning up the computer. Most people will choose to delete the files and some unused folders, but the strange thing is that sometimes some folders are deleted or deleted. If you encounter such a thing, what should you do?

First, the general solution

1. Cancel or restart the computer, and then try to delete.

2. Go to “Safe Mode Delete”.

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

4. If there are more subdirectories or files in the folder and you cannot delete them, you can delete the subdirectories and files in the folder first, and then delete the folders.

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 the system. When you delete it directly, the system prompts that the file is being used. Unable to delete.

At this point, you can first open the “command prompt” window, press “ Ctrl+Alt+Del” key combination to open the task manager, in the process will "ldlorer.exe" process off ( Before that, it is best to close all programs.) Switch to the command prompt window, use the DOS command to enter the folder that cannot be deleted, and type "“Del folder name” to delete the folder. After the deletion is complete, select “File & Rarr; New Task> in the Task Manager and enter “explorer.exe” to re-establish the shell of the system.

Second, advanced solution

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 are selected before scanning. Scan all options thoroughly and delete files after scanning.

2. Read-ahead mechanism

Some video and image files are interrupted or cannot be deleted when previewing. In the "Run" box, type: REGSVR32 /U SHMEDIA.DLL to unregister the read-ahead feature. Or delete the [HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{87D62D94-71B3-4b9a-9489-5FE6850DC73E}InProcServer32] key in the registry. Then you can delete the file.

3.Firewall

Since the anti-virus software will also cause the prompt file to be used when performing the deletion, 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. With winrar

Right-click on the folder you want to delete and select "Add to compressed file". In the pop-up dialog box, select “ delete the source file after compression, & rdquo; just write a compressed package name, click the “ OK & rdquo; button.

6. Permissions

If it is a Windows 2000/XP/2003 system, please first determine if you have permission to delete this file or folder.

Copyright © Windows knowledge All Rights Reserved