All,
We are using some VB api code and calling NetJoinDomain, the issue we have is that this code works in our lab environments but not in the real world, the code use to work in the Real world but now doesn't, I have asked all the normal questions like what has changed on the network.
The...
Did you ever get a reply on this??
I am having a similar problem. The NetJoinDomain use to work but now isn't. Have asked all the normal questions like what has changed on the network etc.
What is different between NetJoinDomain and a Manual join?
We get different errors, we get the Domain...
If the whole of the connections page is greyed out, look under HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel and check that Connection Settings is set to 0,
Use Regedit to check this but remember to be careful.
Regards
Steve Friday
Try looking at the windows 2000 resource kit, that will have a lot of utilities, also the mmc has some security functions that can be called from command lines such as secedit, run secedit from a command prompt and the help will be displayed.
Regards
Steve Friday
again taken from microsoft script centre, you will have to change the script a bit as it will return a lot more info than you require.
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/ScriptCenter/network/scrnet02.asp
' Returning IP Configuration Data
' WMI script that...
Try this, it works for me
Option explicit
'On Error Resume Next
Dim objWshShell, objFSO
'Initiliase a few useful bits...
Set objWshShell = WScript.CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
'Rename Consultant account and set a...
The script below has been taken from microsoft's script center, here is the link http://www.microsoft.com/technet/treeview/default.asp?url=/technet/ScriptCenter/network/scrnet01.asp
This is to set a static ip address but does the subnet and gateway
strComputer = "."
Set objWMIService...
Is it possible to use SQL replication to replicat a Projectserver database.
I have two countries that want to share the same data, and my client wishes to reduce network traffic by replicating the DB to the remote location.
any help appreciated
Regards
Steve Friday
tHIS STOPS the netdde service
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colServiceList = objWMIService.ExecQuery("Associators of " _
&...
set fso = Wscript.Createobject("Scripting.FileSystemObject")
fso.CopyFolder "c:\test\applicationFiles\*", "E:\test", true
results in all files and subfolders within application files appearing under test.
or
set fso =...
You need to be able to cope with the spaces between Program files, if you went to a DOS prompt and entered the same command it would probably error saying file not found, below is an example to fix this - this ex wraps " around the whole command, the same as running "c:\program...
What sort of information do you want to output, I have previously sent ouput to a browser so that the script runs without intervention and I can review it at the end, I also use html code in it to set sections to bold to make it stick out like a sore thumb. If this is what you are looking for...
Public Sub StartLineCheck()
if strPrint1 = "ready" then
str1 = ctls("Name").value
str2 = ctls("Name").value
'and so on
Call PrintForm
end if
if strPrint2 = "ready" then
str1 = ctls("Name").value
str2 =...
Public Sub StartLineCheck()
if strPrint1 = "ready" then
str1 = ctls("Name").value
str2 = ctls("Name").value
'and so on
Call PrintForm
end if
if strPrint2 = "ready" then
str1 = ctls("Name").value
str2 =...
AddWindowsPrinterConnection in Windows 9x will default to LPT1
AddWindowsPrinterConnection(printerpath, drivername, port) is for 95
and AddWindowsPrinterConnection(printerpath) is for 2K
taken from VBSCRIPT in a Nutshell
Regards
Steve Friday
You could try this!
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "admin1@fabrikam.com"
objEmail.To = "admin2@fabrikam.com"
objEmail.Subject = "Server down"
objEmail.Textbody = "Server1 is no longer accessible over the network."...
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.