Win7 system empty folder can not be deleted how to do

  
Win7 system empty folder can not be deleted how to do

Cause analysis:

Folders have programs in use, lack of permissions, folder data corruption, etc. The empty folder could not be deleted normally.

The solution is as follows:

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 have been selected before scanning, scan all options, scan Then delete the file.

2. Read-ahead mechanism Some videos and image files may be deleted when they are interrupted or being previewed. In the "Run" box, type: REGSVR32/USHMEDIA.DLL to unregister the read-ahead feature. Or delete the [HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{87D62D94-71B3-4b9a-9489-5FE6850DC73E}InProcServer32] key value in the registry. Then you can delete the file.

3. Firewall Because the anti-virus software will also cause the file to be used when the deletion is performed, 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, & rdquo; just write a compressed package name, click the “ OK & rdquo; button.

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

7. Deletion of executable file 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 it under DOS. The page file of the system (Win386.SWP in Win98 and pagefile.sys in Win2000/XP).

8. Using other software methods: Unlocker (the best stubborn software removal tool), Unlocker is a free right-click expansion tool, after the user installs, it can be integrated into the right mouse button operation. When the user finds that a file or directory cannot be deleted, just press "Unlocker" in the right mouse button, then the program will immediately show which program is occupying the directory or file, and then just press the popup "Unlock" in the window will be able to unpack your files.

Copyright © Windows knowledge All Rights Reserved