Here are some solutions :
Solution 1: Use CMD.
0- Note that the following 3 steps are going to terminate your explorer.exe process, so your desktop and all of windows explorer open folders and any other related process would be terminated.
1- Run Task Manager. ( by pressing ctrl + shift + esc or etc)
2- Go to Processes tab.
3- Find "explorer.exe" and click "end process" button. If you find more than one explorer.exe, kill them all.
4- Now, click the file menu -> New Task (Run...)
5- Type CMD and click OK.
6- Now you can do any thing that you couldn't did before with this UI. Some useful commands :
- cd : Changes the current directory. Use "CD .." to do the "Up Button" in windows explorer.
- dir : Lists the existing file and folders in current directory. Use "dir /p" to list it in pages.
- del [File Name] : Deletes the existing [File Name] file in the current directory.
- rename [Old File Name] [New File Name] : Renames the existing [Old File Name] file or directory existing in the current directory to [New File Name].
Solution 2: Use another file manager.
0- Install and execute another file manager like "XYPlore".
1- Note that the following 3 steps are going to terminate your explorer.exe process, so your desktop and all of windows explorer open folders and any other related process would be terminated.
2- Run Task Manager. ( by pressing ctrl + shift + esc or etc)
3- Go to Processes tab.
4- Find "explorer.exe" and click "end process" button. If you find more than one explorer.exe, kill them all.
5- Use XYPlore UI and do what ever you want.
Please note that the problem could happen with this kind of external explorers too. So close any file and go to a safe directory after your work.
Solution 3: Do it your self!
If you can program, there are some codes that could help you. These codes that Im talking about, will tell MS Windows to delete your annoying pinned files just before shutting down the system.
Here is a sample one:
MoveFileEx('C:\windows\system32\ld21E.tmp',nil,MOVEFILE_REPLACE_EXISTING or MOVEFILE_DELAY_UNTIL_REBOOT);
This code will work properly in Borland Delphi Compilers, and as you can see, the file "ld21e.tmp" will be removed after compiling this code and restarting your windows.