Cannot delete files or programs, prompting the program to be occupied

  
                

When we go online, when you install some software, he hates to bundle some other software that we don't need. When we want to delete, it is told by the system that it cannot be deleted. Or “No permission to delete” &helquo;…


I. General solution

1. Cancel or restart the computer, 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 [url=] folder[/url] that cannot be deleted, you can delete the subdirectories and files in the folder first, and then delete the files. 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 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 solutions

1. Disk error

Run the disk scan and scan the partition where the file is located. Make sure the selected repair is done before scanning. Files and bad sectors, 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_MACHINE\\SOFTWARE\\Classes\\CLSID\\{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

The illegal shutdown of Office and WPS will also cause the file to 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.

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 deleted. The method is to delete the system page file under DOS (Win386.SWP in Win98, pagefile.sys in Win2000/XP).

8. Using other software methods, I recommend to everyone:

a, with Unlocker (the best stubborn software removal tool), Unlocker is a free right-click expansion tool, user After installation, it can be integrated into the operation of the right mouse button. 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 The program occupies the directory or file, and then you can unpack your file by pressing "Unlock" in the pop-up window.

Unlocker differs from other unlocking software in that it does not force the closing of files that occupy files, but rather unlocks files and programs, so it does not force shutdown like other unlockers. The program caused the user's possible data loss.

b,Killbox

Only 416K, after downloading, you can delete the file directly after finding the path

9. The above methods will not work, and finally the ultimate method - format!

As the saying goes, the speaker is not guilty. If you feel that it is not practical, you have never seen it. Don't spray.

Copyright © Windows knowledge All Rights Reserved