VB Login Script ADODB.Command Error

Tech-Archive recommends: Fix windows errors by optimizing your registry



I have a login script which completes a few tasks. The script moves
computer accounts, based on group membership of the user, writes to
script logs locally and remotely, edits the description of the user and
computer account in AD, maps network drives and adds printers based on
group membership.

The issue is: the script runs on every user/PC so far except for 2 PC's
in our office. When any user logs into those two PC's the script fails
at:

***Set objCommand = CreateObject("ADODB.Command")****

The error reported is, the specified module could not be found. I have
searched all over the internet and have found nothing. Any comments or
help would really be appreciated.

If you need more information and or more of the script just ask and it
shall be given.

Thanks

.



Relevant Pages

  • Re: Redirect computers to a specific OU by IP Address
    ... Getting the IP address of the workstation is easy if you are running the ... COMPLETELY lock them down until an admin put them into the right OU. ... I'm in the process of disabling computer accounts that have not been ... My biggest problem is that I just dont know where to start the script ...
    (microsoft.public.windows.server.active_directory)
  • Re: GPO Logon Script that requires AD rights
    ... What I need to do is organize the Computer accounts so that I can then ... Preferring not to do this by hand, I whipped up a quick vbs script ... The section of the array that has the user's ... this login script would do me no good since the users certainly don't ...
    (microsoft.public.scripting.vbscript)
  • GPO Logon Script that requires AD rights
    ... What I need to do is organize the Computer accounts so that I can then ... Preferring not to do this by hand, I whipped up a quick vbs script ... The section of the array that has the user's ... this login script would do me no good since the users certainly don't ...
    (microsoft.public.scripting.vbscript)
  • Re: Script to delete computer accounts not working
    ... the script deleted the objects I expected. ... computer accounts that are disabled and haven't been modified for 30 days. ... Set objConnection = CreateObject ... Set objCommand = CreateObject ...
    (microsoft.public.scripting.vbscript)
  • Script to delete computer accounts not working
    ... I'm trying to use a version of Richard's script that I bastardized to delete ... We disable the computer accounts and move them to a separate OU at the time ... Set objConnection = CreateObject ... Set objCommand = CreateObject ...
    (microsoft.public.scripting.vbscript)