Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > How to avoid data corruption in the SoftwareDistribution folder

Reply
Thread Tools Display Modes

How to avoid data corruption in the SoftwareDistribution folder

 
 
MowGreen [MVP]
Guest
Posts: n/a

 
      06-09-2007
There are quite a few posts dealing with data corruption in the
WINDOWS\SoftwareDistribution folder in regards to updating Windows.
One cause of the issue is scanning SoftwareDistribution with an
antivirus program. Below are MS' recommendations for excluding files and
folders from said AV scan. The Vista recommendation is mine, not
Microsoft's, and may not even be needed. YMMV :

Virus scanning recommendations for computers that are running Windows
Server 2003,
Windows 2000, or Windows XP
http://support.microsoft.com/kb/822158

>
>> Do not scan the following files and folders. These files are not at risk of infection. If
>> you scan these files, serious performance problems may occur because of file locking.
>> Where 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 one of
>> these 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 the following files.
>>
>> • Microsoft Windows Update or Automatic Update related files
>> • The Windows Update or Automatic Update database file. This file is located in the
>> following folder: %windir%\SoftwareDistribution\Datastore
>>
>> Exclude the Datastore.edb file.
>>
>> • The transaction log files. These files are located in the following folder:
>> %windir%\SoftwareDistribution\Datastore\Logs
>> Exclude the following files:
>> • Edb*.log
>>
>> Note The wildcard character indicates that there may be several files.
>> • Res1.log
>> • Res2.log
>> • Edb.chk
>> • Tmp.edb
>>

>


For Vista, one may add these log files :

WINDOWS\logs\CBS\cbs.log
WINDOWS\logs\dpx\setupact.log
WINDOWS\logs\dpx\setuperr.log


MowGreen [MVP 2003-2007]
===============
*-343-* FDNY
Never Forgotten
===============

 
Reply With Quote
 
 
 
 
Jerry
Guest
Posts: n/a

 
      06-09-2007
I'm runing McAfee ViruScan 10 and after reading your comments I went to the
Security Center and I could not find anyway to not scan the folder and/or
files in question. The only option was to not scan the drive Windows itself
is on and that seems a little much to me. (Unless I'm missing something
somewhere - if I am please enlighten me.)

"MowGreen [MVP]" <> wrote in message
news:...
> There are quite a few posts dealing with data corruption in the
> WINDOWS\SoftwareDistribution folder in regards to updating Windows.
> One cause of the issue is scanning SoftwareDistribution with an antivirus
> program. Below are MS' recommendations for excluding files and folders
> from said AV scan. The Vista recommendation is mine, not Microsoft's, and
> may not even be needed. YMMV :
>
> Virus scanning recommendations for computers that are running Windows
> Server 2003,
> Windows 2000, or Windows XP
> http://support.microsoft.com/kb/822158
>
>>
>>> Do not scan the following files and folders. These files are not at risk
>>> of infection. If
>>> you scan these files, serious performance problems may occur because of
>>> file locking.
>>> Where 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 one of these 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 the
>>> following files.
>>>
>>> • Microsoft Windows Update or Automatic Update related files
>>> • The Windows Update or Automatic Update database file. This file is
>>> located in the following folder: %windir%\SoftwareDistribution\Datastore
>>>
>>> Exclude the Datastore.edb file.
>>>
>>> • The transaction log files. These files are located in the
>>> following folder:
>>> %windir%\SoftwareDistribution\Datastore\Logs
>>> Exclude the following files:
>>> • Edb*.log
>>>
>>> Note The wildcard character indicates that there may be several files.
>>> • Res1.log
>>> • Res2.log
>>> • Edb.chk
>>> • Tmp.edb
>>>

>>

>
> For Vista, one may add these log files :
>
> WINDOWS\logs\CBS\cbs.log
> WINDOWS\logs\dpx\setupact.log
> WINDOWS\logs\dpx\setuperr.log
>
>
> MowGreen [MVP 2003-2007]
> ===============
> *-343-* FDNY
> Never Forgotten
> ===============
>



 
Reply With Quote
 
MowGreen [MVP]
Guest
Posts: n/a

 
      06-10-2007
I'm not familiar enough with that product to give you an adequate
answer, Jerry. Here's a link to download the User Guide :
http://download.mcafee.com/products/...Guide_2006.pdf

There *should* be a way to configure *any antivirus* to skip certain
locations/files/folders, etc. when configuring the AV for
scheduled/manual scans.


MowGreen [MVP 2003-2007]
===============
*-343-* FDNY
Never Forgotten
===============



Jerry wrote:

> I'm runing McAfee ViruScan 10 and after reading your comments I went to the
> Security Center and I could not find anyway to not scan the folder and/or
> files in question. The only option was to not scan the drive Windows itself
> is on and that seems a little much to me. (Unless I'm missing something
> somewhere - if I am please enlighten me.)
>
> "MowGreen [MVP]" <> wrote in message
> news:...
>
>>There are quite a few posts dealing with data corruption in the
>>WINDOWS\SoftwareDistribution folder in regards to updating Windows.
>>One cause of the issue is scanning SoftwareDistribution with an antivirus
>>program. Below are MS' recommendations for excluding files and folders
>>from said AV scan. The Vista recommendation is mine, not Microsoft's, and
>>may not even be needed. YMMV :
>>
>>Virus scanning recommendations for computers that are running Windows
>>Server 2003,
>>Windows 2000, or Windows XP
>>http://support.microsoft.com/kb/822158
>>
>>
>>>>Do not scan the following files and folders. These files are not at risk
>>>>of infection. If
>>>>you scan these files, serious performance problems may occur because of
>>>>file locking.
>>>> Where 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 one of these 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 the
>>>>following files.
>>>>
>>>> • Microsoft Windows Update or Automatic Update related files
>>>> • The Windows Update or Automatic Update database file. This file is
>>>>located in the following folder: %windir%\SoftwareDistribution\Datastore
>>>>
>>>> Exclude the Datastore.edb file.
>>>>
>>>> • The transaction log files. These files are located in the
>>>>following folder:
>>>> %windir%\SoftwareDistribution\Datastore\Logs
>>>> Exclude the following files:
>>>> • Edb*.log
>>>>
>>>>Note The wildcard character indicates that there may be several files.
>>>> • Res1.log
>>>> • Res2.log
>>>> • Edb.chk
>>>> • Tmp.edb
>>>>
>>>

>>For Vista, one may add these log files :
>>
>>WINDOWS\logs\CBS\cbs.log
>>WINDOWS\logs\dpx\setupact.log
>>WINDOWS\logs\dpx\setuperr.log
>>
>>
>>MowGreen [MVP 2003-2007]
>>===============
>> *-343-* FDNY
>>Never Forgotten
>>===============
>>

>
>
>

 
Reply With Quote
 
Tom Allen
Guest
Posts: n/a

 
      06-13-2007

"MowGreen [MVP]" <> wrote in message
news:...
> There are quite a few posts dealing with data corruption in the
> WINDOWS\SoftwareDistribution folder in regards to updating Windows.
> One cause of the issue is scanning SoftwareDistribution with an
> antivirus program. Below are MS' recommendations for excluding files
> and folders from said AV scan. The Vista recommendation is mine, not
> Microsoft's, and may not even be needed. YMMV :
>
> Virus scanning recommendations for computers that are running Windows
> Server 2003,
> Windows 2000, or Windows XP
> http://support.microsoft.com/kb/822158
>
>>
>>> Do not scan the following files and folders. These files are not at
>>> risk of infection. If
>>> you scan these files, serious performance problems may occur because
>>> of file locking.
>>> Where 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 one of these 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 the following files.
>>>
>>> • Microsoft Windows Update or Automatic Update related files
>>> • The Windows Update or Automatic Update database file. This
>>> file is located in the following folder:
>>> %windir%\SoftwareDistribution\Datastore
>>>
>>> Exclude the Datastore.edb file.
>>>
>>> • The transaction log files. These files are located in the
>>> following folder:
>>> %windir%\SoftwareDistribution\Datastore\Logs
>>> Exclude the following files:
>>> • Edb*.log
>>>
>>> Note The wildcard character indicates that there may be several
>>> files.
>>> • Res1.log
>>> • Res2.log
>>> • Edb.chk
>>> • Tmp.edb
>>>


Mow,

Is your Vista recommendation an alternative or in addition ? Vista is
not mentioned in the KB822158 heading.

It looks as though the wild card (edb*.log) is to take care of changing
filenames, at least they change on my Vista system.
It is unfortunate that One Care Live doesn't allow wild cards in
exclusions. Might it be better to exclude the whole 'logs' folder ?

Regards
Tom


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SoftwareDistribution\Download folder leszekml Windows Vista File Management 4 05-03-2008 12:09 PM
Can't rename Softwaredistribution Folder? Harry Strong Windows Vista General Discussion 2 06-03-2007 05:01 PM
Can't Re-Name SoftwareDistribution Folder Harry Strong Windows Vista General Discussion 2 06-03-2007 04:42 PM
AV exclusions on Softwaredistribution folder steven Windows Update 2 03-18-2007 08:57 PM
Can I delete %systemroot%\SoftwareDistribution folder to save spac bloozman Windows Update 2 09-15-2005 03:35 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59