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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  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)
  16. josephk73

    Where is my data gone?

    Okay, I've just set up a Windows Sharepoint Services Express 2008 server. I managed to upload some files and that was kewl. I thought I would explore Crawling and so I configured a crawl, using an admin account needed to access the file share. I have a couple of questions: (i) Where have...
  17. josephk73

    Cannot map to a network share

    Roadkill, I'm connecting from a Windows 2003 server to another Windows 2003 server. Lets call them server1 and server3 UNC paths are resolved from server1 to server3. So for example if I type \\server3\c$ from server1 no problem. However if I try net use * \\ server3\C$ from server1 I get the...
  18. josephk73

    Cannot map to a network share

    Hi Guys, I have a windows 2003 server when I enter the share as a UNC address I can connect to the second windows 2003 server. However when I try to map a network drive to the same share I get the following error: System Error 67 Network name cannot be found. Any ideas guys? Regards K
  19. josephk73

    Advanced IF statements

    Dudes, it all makes sense. Thanks to guitarzan and everybody that contributed. This is not my script, and I have used strComputer as a variable in the past. Very stupidly, I assumed strComp was just another variable for the local hostname. Since this is not the case, the whole thing makes...
  20. josephk73

    Advanced IF statements

    Guys, I think I get the script based on understanding the significance of -1. strBSV is given a random value at the beginning of the script (in this case 2) However later strBSV is assigned the value of StrComputer(strSourceVersion, strBuild). If the registry values have not be written...

Part and Inventory Search

Back
Top