Installation error: "DeleteFile failed; code 5 access denied"

The information in this article applies to:
  • SONAR 8.5
  • SONAR 8.5 LE
  • Music Creator 5
  • Music Creator LE
  • Guitar Tracks Pro 4
  • SONAR Home Studio 7

Windows 7 and Vista Users:
Windows 7 and Vista users may come across the error "DeleteFile failed; code 5 access denied" when installing a Cakewalk product under a user account with limited privileges. Follow these steps to resolve the issue:

Restart your computer, and log in with another administrative user account. If you are already logged in as the Administrator, you will need to run the installer manually as Admin:
  1. Insert your Cakewalk CD or DVD installation disc.
    Note: If you are using a downloaded version of the installer, skip to step 4.

  2. Close out of the auto-run screen (if displayed) go to Computer, right-click on your DVD/CD-ROM drive and choose Open.
  3. Find the Setup.exe for the installer. It should be located in the Install folder. For example, GT Pro 4's installer is located under \Install\GuitarTracks_Setup.exe
  4. Right-click on the .exe and choose "Properties."
  5. Then click the "Advanced" button at the bottom of the window that opens.
  6. Check "Run as Administrator".

If this steps above do not work there is no other User Account to log into, please create a new one with Administrative rights. Click here for some tips on creating a new user account. Your permissions for the current user account might be corrupt.  A new User Account will have fresh privileges, and hopefully work for you.

Make sure nothing else is running while you're installing the program, such as virus scanners and so on. Choose Start | Run and type MSCONFIG. Click OK, then click on the Startup tab at the upper right of the window that opens. Uncheck all items listed, click OK, then restart your computer. You can always recheck those items again at a later time. If you have any realtime monitoring software running like Spy Doctor or Zone Alarm, please disable them from within the program.

Try reinstalling Cakewalk.


Windows XP Users
In some rare cases, XP users may encounter the same problem. You will need to give full permissions to your user account under HKEY_CLASSES_ROOT in the registry. Here are the steps:
  1. Open the registry editor by going to Start/Run and typing in:
    REGEDIT
  2. Hit OK and right mouse clickon HKEY_CLASSES_ROOT
  3. Select Permissions
  4. Under Group or user names, highlight "Users"
  5. Under "Permissions" for Users, check the box for "Full Control"
  6. Click OK 
  7. Reinstall Cakewalk


This article was last updated on 3/15/2010

Cakewalk // Support // Knowledge Base // Installation error: "DeleteFile failed; code 5 access denied"
Copyright © 2014 Cakewalk, Inc. All rights reserved
Sitemap | Privacy Policy | Legal | Contact Us
A Division of Gibson Brands
share on Facebook share on Twitter print bookmark CakeTV Cakewalk blog