windows – several minute delay when deleting any exe file

you can test my solution before changing any settings, just start the command prompt and enter:
“net start AeLookupSvc”
“net start PcaSvc”

now try to delete some “.exe” file… (or a copy of some .exe) – if windows explorer deletes the files immediately (press F5 to refresh and check), then it works!

open “services.msc” and set the startup type of the “AeLookupSvc” (“Application Experience” or “Anwendungserfahrung”) and the “PcaSvc” (“Programm Compatibility Assistant” or “Programmkompatibilitäts-Assistent-Dienst”) to “automatic”