Microsoft Baseline Security Analyzer Offline Scan

Environement
  • Microsoft Baseline Security Analyzer 2.1 (MBSA)
Introduction
Wanna scan remote computer if it is patched, but not wanna get wsusscn2.cab online again

Solutions
Download and install MBSA

Download wsusscn2.cab and then run "MBSACLI.exe"
"C:\Program Files\Microsoft Baseline Security Analyzer 2\MBSACLI.exe" /catalog "C:\Downloads\wsusscn2.cab /nvc /nd /wi /n OS+SQL+IIS+Password /u <username> /p <password> /target <Domain\Hostname | IP>
Error 0x80070005
If the sanning gets a error "0x80070005", run "%windir%\system32\com\comexp.msc" -> "Component Services" -> Right "My Computer" -> "Properties" -> Click "Enable Distributed COM on this Computer"


Reference
  • http://support.microsoft.com/kb/926464
  • http://support.microsoft.com/kb/825750