Article ID: 955793 - Last Review: March 19, 2009 - Revision: 2.0 Error message when you try to install SQL Server 2008: "Setup cannot copy the file"On This PageSYMPTOMSWhen you try to install Microsoft SQL Server 2008, you may receive a series of error messages that resemble the following error message: Setup cannot copy the file
CAUSEThis issue occurs because the E-Trust antivirus program is preventing the Setup program from copying these files. WORKAROUNDTo work around this issue, use one of the following methods. Method 1: Exclude drives that E-Trust scansYou can configure E-Trust to exclude certain drives from its virus scanning. This configuration lets you install SQL Server 2008 and its files without interference from E-Trust. You can do this by modifying the E-Trust registry key that controls which drives are excluded from scans. To do this, follow these steps.Important These steps may increase your security risk. These steps may also make the computer or the network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you decide to implement this process, take any appropriate additional steps to help protect the system. We recommend that you use this process only if you really require this process. Note In this procedure, the D and E drives are excluded from scanning.
Method 2: Temporarily disable E-Trust before you install SQL Server 2008To do this, you must create a script to disable E-Trust and then run the script on the server.Note Before you temporarily disable your virus scanner, make sure that Windows Firewall is enabled. After you complete the steps, enable the virus scanner again. An antivirus program is designed to help protect your computer from viruses. You must not download or open files from sources that you do not trust, visit Web sites that you do not trust, or open e-mail attachments when your antivirus program is disabled. For more information about computer viruses, click the following article number to view the article in the Microsoft Knowledge Base: 129972
(http://support.microsoft.com/kb/129972/
)
Computer viruses: description, prevention, and recovery
To create and to run the script, follow these steps.Important These steps may increase your security risk. These steps may also make the computer or the network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you decide to implement this process, take any appropriate additional steps to help protect the system. We recommend that you use this process only if you really require this process. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
How to re-enable E-TrustAfter you have installed SQL Server 2008, you must restart the E-Trust antivirus software by using a batch file script. To create and to run the script, follow these steps:
APPLIES TO
| Article Translations
|
Back to the top
