Discussion:
MBSA 2.1.1 and command line for offline scanning
(too old to reply)
JB
2010-03-01 22:53:01 UTC
Permalink
Does anyone know which command line switches to use for "offline scanning"

Currently I can perform offline scans and get offline scanning to work with
the GUI, by setting advance update section, and microsoft update, but I can
not find the command line switches to be able to preform offline scanning
using msbacli.exe command line

mbsacli.exe keeps stating can not contact wsus server.

I have the current wua installed 7.4.xx and the latest wsusscan2.cab, and
wuredist file installed.

I tried mbsaclie.exe /nd /ia /mu, and many other switch combinations and
just can not get it to work.


I have mbsa is 2.1.1, wua is 7.4 and wsusscan2 was download from ms site
yesterday.
Am trying to use and setup the sbmaSamples2, which uses the mbsa command line
nora
2010-03-07 15:59:03 UTC
Permalink
Hi,JB

If you can use offline scanning ,You can use "/catalog"

For example, MBSACLI /catalog d:temp\\wsusscn2.cab /nvc

And,you maybe need to use "/nd" and "/nvc" switch option.

---
nora
Post by JB
Does anyone know which command line switches to use for "offline scanning"
Currently I can perform offline scans and get offline scanning to work with
the GUI, by setting advance update section, and microsoft update, but I can
not find the command line switches to be able to preform offline scanning
using msbacli.exe command line
mbsacli.exe keeps stating can not contact wsus server.
I have the current wua installed 7.4.xx and the latest wsusscan2.cab, and
wuredist file installed.
I tried mbsaclie.exe /nd /ia /mu, and many other switch combinations and
just can not get it to work.
I have mbsa is 2.1.1, wua is 7.4 and wsusscan2 was download from ms site
yesterday.
Am trying to use and setup the sbmaSamples2, which uses the mbsa command line
Doug Neal [MSFT]
2010-03-25 00:49:16 UTC
Permalink
JB - thanks for posting this on the MBSA newsgroup!

With all of the improvements the latest Windows Update Agent provides, it
breaks something in MBSA that requires a workaround. Previously, offline
scans could be accomplished using the command-line parameters that you
specified. With the update to the latest WUA client, the fallback mechanism
doesn't work as it should to 'fall back' to offline in the same way. You
can force this by adding the /wi (ignore WSUS) switch to whatever
command-line switches you're using now.

It not intuitive - and it's a different MBSA behavior after updating to the
latest WUA client. We'll work to fix this in a future version. But until
then, add /wi and you should get offline mode back from the command-line.

I hope that helps...
--
--
Doug Neal [MSFT]
***@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights.

If newsgroup discussion with experts and MVPs is unable to solve a problem
to your satisfaction, feel free to contact PSS for support on the Microsoft
Baseline Security Analyzer (MBSA). Information is available at the following
link:
http://support.microsoft.com/default.aspx

This e-mail address does not receive e-mail, but is used for newsgroup
postings only.
Post by nora
Hi,JB
If you can use offline scanning ,You can use "/catalog"
For example, MBSACLI /catalog d:temp\\wsusscn2.cab /nvc
And,you maybe need to use "/nd" and "/nvc" switch option.
---
nora
Post by JB
Does anyone know which command line switches to use for "offline scanning"
Currently I can perform offline scans and get offline scanning to work with
the GUI, by setting advance update section, and microsoft update, but I can
not find the command line switches to be able to preform offline scanning
using msbacli.exe command line
mbsacli.exe keeps stating can not contact wsus server.
I have the current wua installed 7.4.xx and the latest wsusscan2.cab,
and
wuredist file installed.
I tried mbsaclie.exe /nd /ia /mu, and many other switch combinations and
just can not get it to work.
I have mbsa is 2.1.1, wua is 7.4 and wsusscan2 was download from ms site
yesterday.
Am trying to use and setup the sbmaSamples2, which uses the mbsa command line
Loading...