What does 'DeleteFile failed; code 5' mean ?

This section is now closed.

Audacity 1.2.x is now obsolete. Please use the current Audacity 2.1.x version.

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.

What does 'DeleteFile failed; code 5' mean ?

Permanent link to this post Posted by pillco » Mon Dec 12, 2011 4:34 am

Had a bit of a problem with Preferences on a new installation of V 1.2.6 and obtained another download in an attempt to rectify the problem. During the installation of it into the same folder the following message popped up.

'An error occurred whilst trying to replace an existing file'
'DeleteFile failed; code 5'
'Access is denied'

The Retry option produced the same result.
Does anyone have an explanation ?
Posts: 1
Joined: Mon Dec 12, 2011 4:22 am

Re: What does 'DeleteFile failed; code 5' mean ?

Permanent link to this post Posted by kozikowski » Mon Dec 12, 2011 7:46 am

Does anyone have an explanation ?

I do. Stop using Audacity 1.2.


Unless there is a reeeeely good reason to keep using 1.2, you should stop. It can be significantly unstable on newer computers.

Forum Staff
Posts: 31112
Joined: Thu Aug 02, 2007 5:57 pm
Location: Los Angeles

Re: What does 'DeleteFile failed; code 5' mean ?

Permanent link to this post Posted by steve » Mon Dec 12, 2011 7:48 am

A quick look on Google brought up:
Q: "An error occurred while trying to replace the existing file: DeleteFile failed; code 5. Access denied."
A: This means the installer tries to replace a file that is currently in use by another program.

Close all programs that are active and click on 'retry'. If the same error keeps appearing, then just click on 'ignore' and let the installation continue.

Reinstalling Audacity does not overwrite the Preferences.
I would recommend installing Audacity 1.3 (get it here: http://audacityteam.org/download/ ) and then if necessary, reset Audacity Preferences as described here: http://manual.audacityteam.org/man/Preferences#reset
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Senior Forum Staff
Posts: 39086
Joined: Sat Dec 01, 2007 11:43 am

Return to Windows

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests