Windows Server Solutions Best Practices Analyzer: Troubleshooting
The following two log files are created at %programdata%\Microsoft\Windows Server Solutions BPA:
Error while launching the tool
If you receive the following error while launching the Windows Server Solutions BPA, you can resolve it by uninstalling the Microsoft Baseline Configuration Analyzer, and then reinstalling it in the default folder.
There were errors in loading the format data file: Microsoft.PowerShell, , D:\Program Files\Microsoft Baseline Configuration Analyzer 2\Modules\BaselineConfigurationAnalyzer\Microsoft.BaselineConfigurationAnalyzer.Cmdlets.Formats.ps1xml : File skipped because of the following validation exception: AuthorizationManager check failed..
To run Microsoft Baseline Configuration Analyzer 2.0 (MBCA) from a client computer, MBCA requires that BPA executes in the remote run space.
The Windows Server Solutions BPA installer enables remoting on the local server through a user-selected option during installation. However, if an error occurs during enabling remoting on the server, you might need to use the following PowerShell command on the server:
If remoting is not enabled on the server computer that is being scanned, the scan will terminate and an error message displays.
If Remoting is enabled, uninstallation will not disable the PowerShell remote automatically. This is because there might be other applications using this feature. You can use the PowerShell command Disable-PSRemoting -f to disable remoting on your computer.
|Disable-PSRemoting does not undo all the changes made by Enable-PSRemoting.|
You might have to manually undo the changes by using the following steps.
To manually undo the changes made by Enable-PSRemoting
Stop and disable the Windows Remote Management (WS-Management) service.
Open Windows Firewall on the server, click Allow a Program or feature through Windows firewall, uncheck Windows Remote Management and apply the changes.