2009-11-06 19:28:18 UTC
I am trying to write a vb script which will scan all hosts for missing
The script works as expected as long as the user has Administrator rights.
Here are the first lines of the script -
Set UpdateSession = CreateObject("Microsoft.Update.Session")
Set UpdateServiceManager = CreateObject("Microsoft.Update.ServiceManager")
Set UpdateService = UpdateServiceManager.AddScanPackageService("Offline Sync
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.