I've been dealing with a problem with Microsoft Scan Tool failing
through SMS. It fails on about 20% of our machines. I have finally
narrowed the problem down to a log file(edb.log >
%windir%\SoftwareDistribution\DataStore\Logs) being locked by Automatic
Updates(svchost.exe). The Scan engine is unable to write to the log
file because it is in use. Right now, I hit the machines with a
VBScript that restarts Automatic Updates service right before the Scan
Tool runs. That works, as does a reboot. The question is, does anyone
have any idea why Automatic Updates is keeping this log file open?