MBSA 2.2 Cannot load security CAB file

Hello everyone!

I'm trying to run MBSA 2.2 with the following command but it ends with "Cannot load security CAB file" error in Windows 7 client. Windows XP works fine:

@ECHO OFF
mkdir %windir%\temp\mbsa\
copy mbsa %windir%\temp\mbsa\
%windir%\temp\mbsa\mbsacli.exe /xmlout /wi /nvc /nd /catalog %windir%\temp\mbsa\wsusscn2.cab >> \\fileshare\MBSA_Reportsssssss.xml
rmdir /s /q %windir%\temp\mbsa\

MBSA folder includes all the needed files: mbsacli.exe, wsusscn02.cab & wusscan.dll. Remote Registry, Server, Windows Update & Workstation services are running + File and Printer Sharing service is enabled. This is a fresh Win7 install with the latest Windows Update Agent.

If I run the command line without the variables (mbsacli.exe /xmlout /wi /nvc /nd /catalog wsusscn2.cab >> MBSA_Reportsssssss.xml) in the correct folder I get that same error. I've also deleted & re-downloaded/copied the cab file just in case if it got corrupted during the first copy.

Are there any other requirements in Win7 to get this work locally with mbsacli.exe?

Thanks!


  • Edited by mrsnakes Friday, May 03, 2013 1:08 PM
May 3rd, 2013 4:07pm

Edit: it was a user rights problem


  • Marked as answer by mrsnakes Friday, May 10, 2013 7:23 AM
  • Edited by mrsnakes Tuesday, May 14, 2013 11:15 AM
Free Windows Admin Tool Kit Click here and download it now
May 10th, 2013 10:23am

Can you explain how you fixed your user rights to get access? I keep getting access denied when I run this simple script even as a DA

mbsacli /listfile <D:\wsus>\Servers.txt /n os+iis+sql+password

July 30th, 2013 10:45pm

You must run the command promptas administrator.
Free Windows Admin Tool Kit Click here and download it now
January 28th, 2014 9:40pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics