Avatar of Northshore1
Northshore1
Flag 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
SBS

Avatar of undefined
Last Comment
floydfan3

8/22/2022 - Mon
Larry Struckmeyer MVP

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
Northshore1

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Northshore1

ASKER
Lack of response led me to accept my own solution
SAJJITER

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
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
pperry803

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

Pete
floydfan3

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.