Link to home
Start Free TrialLog in
Avatar of Northshore1
Northshore1Flag for United States of America

asked on

SBS 2011 Best Practices Analyzer Not Running

Hi Experts, After many months of successfully running Microsoft Windows Server Solutions Best Practice Analyzer 1.2 via Task Scheduler, we recently started to receive the following errors in our Detailed Network Reports on the server:

Best Practices Analyzer Engine
Warning condition:  An error occurred while the computer was performing a Windows Server Solutions BPA scan. For information about the error, review the log file at %installation folder%\wssgbpa.log, or manually run Windows Server Solutions BPA.

I located an article suggesting to change the Task Scheduled to run as an administrator instead of as "System". After changing the task properties the BPA scan would perform as expected for a couple months.

On June 7th we stared to see the error again:

Warning condition:  An error occurred while the computer was performing a Windows Server Solutions BPA scan. For information about the error, review the log file at %installation folder%\wssgbpa.log, or manually run Windows Server Solutions BPA.

Now we can not run the BPA scan manually. We receive the error:

Microsoft Baseline Configuration Analyzer was not able to obtain the results or data successfully. There has been a Best Practice Analyzer error for Model Id 'WSSGBPA'. The Result file has not yet been generated. Please perform the scan first and try again.

We have uninstalled both BPA and the Microsoft Baseline Configuration Analyzer 2.0, and reinstalled using the default setting, and still receive the same error message when running BPA manually and receive an error (0xFFFFFFFF) when the BPA task schedule runs at night.

So we disabled the scheduled task until an update was available, then the 1.3 update came thru and we installed it hoping it would fix the error. But unfortunately it did not.
I have tried to run the BPA automatically thru powershell and when I Invoke the Model ID WSSGBPA the output of powershell states:

Invoke-MBCA Model:  There has been a Best Practice Analyzer error for Model Id 'WSSGBPA' a Best Practices Analyzer task is currently running and the "model" resourses are currently in use. Please wait for the task to complete"

Category Info: Resourse Busy: Invoke-Model, CommandLet exeption
FullyQualifiedErrorId: AlreadyInUse, Microsoft.BaselineConfigurationAnalyzer.CmdLets.RunScanCommand

ModelId: WSSGBPA
SubModelID:
Success: False
Details: (Computer name)

Any help would be very much appreciated
Dave
Avatar of Larry Struckmeyer MVP
Larry Struckmeyer MVP
Flag of United States of America image

Hi Dave:

Look in the "users\admin_name\application_data\microsoft\sbspba" folder for the log files and see if that throws any clues.  If they have been moved (i'm looking at a previous version of SBS) then search for "SBSBPA" and sort by date.

Also, look here:  http://support.microsoft.com/kb/2028818
ASKER CERTIFIED SOLUTION
Avatar of Northshore1
Northshore1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Northshore1

ASKER

Lack of response led me to accept my own solution
Hi Northshore,

We are facing the same.
When BPA works, do you get the wssgbpa.log file ?
If so what's its exact folder path ? %instal...% is very unknown on foreign language SBS...

I may post the question, so that you get the points you very rightly deserve ;)

Jean-Jacques
Avatar of pperry803
pperry803

Go to C:\Users\"username"\AppData\Local\Microsoft\MicrosoftBaselineConfigurationAnalyzer 2\Reports\WSSGBPAResults and delete the "WSSGBPA_locke" file.

Pete
I recently experienced the same problem.  I found the answer here:

http://support.microsoft.com/kb/2882634

The locked WSSGBPA file was the answer, but I found it buried in the system32 folder instead of a user folder for some reason.