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...
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...
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...
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...
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!
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...
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...
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...
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...
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?
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)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.