Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by josephk73

  1. josephk73

    Win32_Directory query problem

    guitarzan, Yes you got it right. Thank you for taking the time to reply :-) mrmovie thanks for your reply as well.
  2. josephk73

    Win32_Directory query problem

    Guys, Can you please help with this... This is the code... strComputer = "xxxxx" UserName = "administrator" Password = "xxxxxxxx" Set SWBemlocator = CreateObject("WbemScripting.SWbemLocator") Set objWMIService = SWBemlocator.ConnectServer(strComputer,"root\CIMV2",UserName,Password) Set...
  3. josephk73

    OpenDSObject - HELP!!!

    Hi Guys, Need some help/suggestions on using OpenDSObject. Just as a reminder, this is a method to bind to an object using WinNT or LDAP providers. Its importance is that it allows binding to a remote object using ALTERNATE credentials. The single example I have seen uses this code...
  4. josephk73

    WMI Registry problem

    Hi PHV, Although your code did not work, you put me on the right track and I'm grateful. It is as you suggested all about spaces and quotes. In the end this worked: strkey="\HKLM\SOFTWARE\VMWare, Inc.\VMware Tools" & Chr(34) & " /v LastBoot" Set objShell = CreateObject("WScript.Shell") Set...
  5. josephk73

    WMI Registry problem

    Hi tsjui, yes the key is a string. I did a little experiment and ran Reg query and I got output that was correct. So the key does exist and should be returned. So I'm thinking, okay let me try and run the req query command using vbscript. But still no luck. here is the code...
  6. josephk73

    WMI Registry problem

    Thanks for the reply! Yes I am 100% sure that the key exists. I have seen the key myself and have this script in a modified version returning a DWord value. Its just the returning of the reg_sz that has caused me problems! Hope that helps!
  7. josephk73

    WMI Registry problem

    Thanks for the reply :) . I have used the information you provided and this returned error 2. I have also used the checkAccess method and this has confirmed that i do not have access to read the key! Since I am testing this script with a domain admin account this is surprising. Is there any way...
  8. josephk73

    WMI Registry problem

    Hi I have a script that I am writing that will connect to a server remotely and read a registry value (type is REG_SZ). The script appears to reach the end but stops with the runtime error: Invalid use of Null: 'Value' To help here is a snippet of the code that generates the error: Sub...
  9. josephk73

    Dell OpenManage Problems

    Hi Guys, I hope somebody can help with the problem I'm having; which is to get some Dell Servers to report correctly in OpenManage. The details are below(thanks in advance:-) Servers are reporting errors, that are indicated in OpenManage with an orange triangles with an exlamation mark inside...
  10. josephk73

    How to migrate sharepoint services 3.0 to another server

    dinger2121 thanks for the reply. Will check it out and let u know how I get on. Cheers.
  11. josephk73

    How to migrate sharepoint services 3.0 to another server

    Hi Guys, Simple question. As the title of the thread asks, is there a documented procedure on migrating a Windows Sharepoint Service (3.0) installation to another server supporting the same OS? If anybody has experience or can point me to some articles, I would be very appreciative. Thanks...
  12. josephk73

    Where is my data gone?

    Dinger2121 - thanks for the reply. Much appreciated although belated. Yep, the crawl hadn't finished, but things are now working. Cheers.
  13. josephk73

    Scripted Legato Networker 7.3.4 client install

    Hi guys, does anybody know/have a scripted legato client install for Networker 7.3.4 for Windows servers?
  14. josephk73

    Where is my data gone?

    okay guys I dont know what is going on!! I just performed a second crawl and the documents and everything else has returned. I'm happy but confused. Has anybody experienced similar before?
  15. josephk73

    Where is my data gone?

    Oh and another thing... I just noticed that all the users and groups I created before the Crawl have been wiped out. I guess that answers my own question (no 2 from my previous post)

Part and Inventory Search

Back
Top