Help!! Installation of TWAIN Scanner causes WMI 'Access Denied' with Domain Admin rights



Hi there,

i'm a cs undergrad with a background in programming, and started doing
some admin scripting in windows using wmi. I encountered this _really_
strange problem recently.
I have domain admin access on Active Directory, and was able to pull
some info on printers off of some computers using wmi, by getting the
SWbemService object using the ConnectServer method of the SWbemLocator
object, with explicit credentials.

Then I installed a scanner on one of the computers and installed the
drivers from the manufacturer. I restarted the computer, then tried to
pull info from wmi again, with the same script code and credentials.
Alas, it didn't work this time and i got a 'Access is Denied' from the
SWbemLocator object.

This happened to two computers before I suspected the scanner utility
installation was the problem, and confirmed this on a third computer. I
tried uninstalling the software and running the script again, but it
still wont authenticate me, even with Administrator on the local
computer.
Another thing i noticed while trying to diagnose the problem: looking
at the 'dependencies' tab in the Administrative Tools ->Services comes
up with the 'Win32: Access is Denied' error, which i assume stems from
the same problem.

This is really inexplicable to me; i have absolutely no idea how a
scanner installation, or any other software installation for the
matter, might affect authentication on active directory. Does anyone
have any idea at all??? Thanks in advance!

cheers,
ben

.



Relevant Pages

  • Re: Patch Management & Identifying Hosts
    ... Patch Management of the Security Operations ... WMI is also an option. ... "A WSH script using VBScript is explained. ... the result from the online computers. ...
    (microsoft.public.win2000.security)
  • Win32_StartupCommand lists system32 files
    ... computers still return the expected data. ... The Win32_StartupCommand query not only returns the expected data (the ... I reinstalled WMI, per these instructions: ... I also ran the WMI script remotely, from an older Dell NT5.0 workstation, ...
    (microsoft.public.win32.programmer.wmi)
  • Re: DST 2007 on 2000 machines
    ... The script can run the ... you probably can do this remotely in bulk using WMI. ... The example deploys to all computers in a domain group (it prompts for the ... method of the wshShell object to merge the reg file. ...
    (microsoft.public.scripting.vbscript)
  • Re: Startup Script
    ... How should I write this batch file? ... with /quiet being an argument for silent installation. ... First I urge you to put some logging information in your script too. ... see what's going on on the computers you are managing. ...
    (microsoft.public.windows.group_policy)
  • Re: IE script error
    ... Some of our computers have script error, ... This website wants to run the following add-on: 'Windows Script Host ... Clicking Ok on the Message window changes ... Installation blocked> ...
    (microsoft.public.windows.inetexplorer.ie6.browser)