KNOWLEDGE BASE

Error "DeleteFile failed; code 5" Installing Tableau Server


Published: 12 Apr 2013
Last Modified Date: 21 Jul 2016

Issue

When you try to install Tableau Server, the following error might occur:
 
An error occurred while trying to rename a file in the destination directory:
DeleteFile failed; code 5.
Access is denied

Environment

Tableau Server

Resolution

One of the following troubleshooting steps might solve the issue:
  • Restart the computer running Tableau Server.
  • Verify that the account used to sign in to Windows has full administrator access to the computer running Tableau Server.

Cause

One or more files is locked by Windows.
Did this article resolve the issue?