The MASM Forum

General => The Workshop => Topic started by: K_F on March 19, 2019, 05:10:59 AM

Title: File deletion problem Win7 Pro
Post by: K_F on March 19, 2019, 05:10:59 AM
Anyone else come across this problem.

Building a project requires the previous exe to be deleted, but the previous exe is slow 5-10 minutes to disappear, so the build process fails.
Re-installed Win7 and problem persists, Looked for solutions on inet, but that's like listening to a bunch of monkeys.
Title: Re: File deletion problem Win7 Pro
Post by: TimoVJL on March 19, 2019, 05:44:42 AM
Avast/AWG in use?
Title: Re: File deletion problem Win7 Pro
Post by: felipe on March 19, 2019, 06:29:16 AM
delete the .exe by your self using shift+del and after that do the compilation... :idea:
Title: Re: File deletion problem Win7 Pro
Post by: K_F on March 19, 2019, 08:13:14 AM
Quote from: TimoVJL on March 19, 2019, 05:44:42 AM
Avast/AWG in use?
No AVs on board.

Quotedelete the .exe by your self using shift+del and after that do the compilation...
Tried that .. same result.

Edt:
This is a real funny one... As long as I don't access the folder containing the exe, there's no problem.
As soon as I open the folder ... the wheels come off , and I need administrator rights (I use a standard user) to delete, but even that doesn't work.
Title: Re: File deletion problem Win7 Pro
Post by: TimoVJL on March 19, 2019, 08:47:38 AM
Then it's the Windows search engine problem.
Title: Re: File deletion problem Win7 Pro
Post by: K_F on March 19, 2019, 09:18:13 AM
Thanks..I'll look at that ;)
Title: Re: File deletion problem Win7 Pro
Post by: K_F on April 08, 2019, 07:41:02 AM
Looks like this problem is linked across multiple services.
I've disabled these services so far..

Program Compatibility Service
Application Experience
Application Information
Application identity

This enables me to immediately delete the file manually with no problems so far, which is better than not being able to delete for 5-10 minutes or so.
I just adopt a different testing method which works ok.

This might create stability problems but F that.. I have a time schedule on development and can always reinstall Win7
Title: Re: File deletion problem Win7 Pro
Post by: K_F on April 14, 2019, 07:16:06 PM
This is working well with no problems :)
Title: Re: File deletion problem Win7 Pro
Post by: Vortex on April 14, 2019, 07:57:19 PM
QuoteI have a time schedule on development and can always reinstall Win7

Hi K_F,

A solid backup of your operating system will help you to save a lot of time.
Title: Re: File deletion problem Win7 Pro
Post by: TimoVJL on April 14, 2019, 09:10:58 PM
After an nasty updates:
StopDiagTrack.cmd
sc stop Diagtrack
sc delete Diagtrack
sc stop AeLookupSvc
sc delete AeLookupSvc
pause