Re: List of ODBC drivers

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

From: vish (itsmedude_at_gmail.com)
Date: 01/31/05


Date: 31 Jan 2005 09:16:07 -0800

HI Torgeir,
I've one more question.
I want to get all the inventory in the lab which has around 50 servers.
what I'm doin' now is that I pass in the local administrators username
and the password as shown below.

Set objWMIService = objLocator.ConnectServer ( strComputer,
"root/cimv2", strUser, strPassword )

but the problem is that so many people have access to these servers and
people change the local administrators password frequently. Is there
any way that i can connect to these servers as a domain administrator
so that i don't have to worry about the local administrators password.
hope my question makes sense to u !

Thanks,
vishnu.

Torgeir Bakken (MVP) wrote:
> vish wrote:
>
> > Hi Torgeir,
> >
> > That was amazing !! It works !!
>
> Great :-)
>
>
> > Thanx a lot for the replies. By the way, how many yrs have u been
> > working on these...u just have answers for everything...
>
> Well, I have been scripting OS and software configurations since
1987,
> and I started using VBScript for this in 2001.
>
>
> > nyways, if u have time, only then reply for this.
> > Thanx again.
>
> Your welcome.
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/scriptcenter/default.mspx



Relevant Pages

  • Re: List of ODBC drivers
    ... > I want to get all the inventory in the lab which has around 50 servers. ... > people change the local administrators password frequently. ... > so that i don't have to worry about the local administrators password. ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.win32.programmer.wmi)
  • Re: asp login page
    ... Not supported on Windows Servers. ... and tutorials on my web site regarding ASP: http://www.takempis.com. ... who did the login scripting? ...
    (microsoft.public.frontpage.client)
  • Re: LOCAL USERS and Groups in Domain
    ... DSRAZOR for Windows can generate reports showing all local groups and local ... password on all of your workstations and servers... ... groups in the local administrators group on all the servers in the domain ...
    (microsoft.public.windows.server.scripting)
  • Re: schedule defrag to mulitple servers ( schedule task)
    ... I am not that scripting guy, mabe you should use newsgroup for .vbs scripting and ask there how to prepare this: ... only reply to Newsgroups ... I have another question hope you may he able to help, some servers has ... what is the best way to create the addition schedule task for those ...
    (microsoft.public.windows.server.general)
  • Re: Robocopy and NTFS permission
    ... > pack), in order to migrate data from a local disk in one of our servers, to ... > access to a number of folders. ... (Windows 2000, Windows Server 2003, Windows XP) ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.win2000.general)