Article ID: 958048 - View products that this article applies to.
When you try to connect to the Microsoft Windows Update Web site or to the Microsoft Update Web site, you may receive the following error code:
This issue may occur if the Windows Update database is corrupted. Or, it may occur if the McAfee antivirus application is configured to scan the %Windir%\SoftwareDistribution directory. When the McAfee antivirus application scans the .edb file, the antivirus application locks the file. Therefore, Windows Update or Microsoft Update cannot access the file.
To work around this issue, use one of the following methods:
Method 1: Make sure that the McAfee antivirus application does not scan certain filesMake sure that the McAfee antivirus application does not scan the files in the %windir% \SoftwareDistribution directory on any computer on which the Windows Update Agent is installed.
For computers that are running Windows Server 2003, Microsoft Windows 2000, Windows XP, Windows Vista, or Windows Server 2008, do not scan the following files and folders.
Note These files are not at risk of infection. If you scan these files, serious performance problems may occur because some files may be locked. If a specific set of files is identified by name, exclude only those files instead of the whole folder. Sometimes, the whole folder must be excluded. Do not exclude any of these items based on the file name extension. For example, do not exclude all files that have a .dit extension. Microsoft has no control over other files that may use the same extensions as these files.
Method 2: Rename the Software Distribution folderTo rename the Windows Update temporary SoftwareDistribution directory, follow the steps that are appropriate for your operating system:
Important The following issues occur when you do this:
For computers that are running Windows 2000, Windows XP, and Windows Server 2003
For computers that are running Windows Vista and Windows Server 2008
For more information about virus scanning recommendations for computers that are running Windows Server 2003, Windows 2000, Windows XP or Windows Vista, click the following article number to view the article in the Microsoft Knowledge Base:
822158For more information about McAfee antivirus, refer to the McAfee antivirus documentation.
(https://support.microsoft.com/kb/822158/ )Virus scanning recommendations for computers that are running Windows Server 2003, Windows 2000, Windows XP, or Windows Vista
For information about how to contact McAfee, visit the following Microsoft Web site:
http://support.microsoft.com/gp/vendorsThe third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
Article ID: 958048 - Last Review: September 27, 2011 - Revision: 3.0