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