Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Running offline scan from VB script fails with non Admin account
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
aviz  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 19:28
Newsgroups: microsoft.public.security.baseline_analyzer
From: "aviz" <u56007@uwe>
Date: Fri, 06 Nov 2009 19:28:18 GMT
Local: Fri 6 Nov 2009 19:28
Subject: Running offline scan from VB script fails with non Admin account
Hi all ,
I am trying to write a vb script which will scan all hosts for missing
vulnerabilities.
The script works as expected as long as the user has Administrator rights.

Here are the first lines of the script -
Option Explicit
Dim UpdateSession
Dim UpdateServiceManager
Set UpdateSession = CreateObject("Microsoft.Update.Session")
Set UpdateServiceManager = CreateObject("Microsoft.Update.ServiceManager")
Set UpdateService = UpdateServiceManager.AddScanPackageService("Offline Sync
Service", "c:\wsusscn2.cab)
.....
The problem I identified is that if the script runs as non administrator user
it fails on the last line.
The error is - 0x46 - Permissions Denied.
Is that make sense that offline scan is not available with a standard user?
The following page explain the permissions needed for the WUA components ,
but I cant find what related to offline scan.
http://msdn.microsoft.com/en-us/library/aa387103(VS.85).aspx
Thank you.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doug Neal [MSFT]  
View profile   Translate to Translated (View Original)
 More options 18 Nov, 22:35
Newsgroups: microsoft.public.security.baseline_analyzer
From: "Doug Neal [MSFT]" <d...@online.microsoft.com>
Date: Wed, 18 Nov 2009 14:35:09 -0800
Local: Wed 18 Nov 2009 22:35
Subject: Re: Running offline scan from VB script fails with non Admin account
Administrator rights is a requirement to run MBSA.  This is listed in the
MBSA help file and the MBSA home page.  There is no workaround for this.
The script will need to be run using Administrator rights in order for MBSA
to run.

--
--

Doug Neal [MSFT]
d...@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.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google