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

    NetJoinDomain V Manual join Domain

    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...
  2. sfriday

    NetJoinDomain

    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...
  3. sfriday

    I keep losing the internet since installing a new modem

    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
  4. sfriday

    Need to replace Novell utilities

    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
  5. sfriday

    Change gateway and subnet with script?

    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...
  6. sfriday

    rename administrator

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

    Change gateway and subnet with script?

    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...
  8. sfriday

    Launching vb scripts via the AT Scheduler

    at 20:55 "wscript test.vbs" or at 20:55 "cscript test.vbs" Regards Steve Friday
  9. sfriday

    Problems accessing the OLAP Cube in MSP2002

    Have you setup the cube, try adding yourself to the olap administrators group Regards Steve Friday
  10. sfriday

    Project server database

    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
  11. sfriday

    Start & Stop Services with VBScript

    tHIS STOPS the netdde service strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colServiceList = objWMIService.ExecQuery("Associators of " _ &...
  12. sfriday

    Copy Directory Structure to other PC

    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 =...
  13. sfriday

    Start a program in program files folder

    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...
  14. sfriday

    Showing output?

    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...
  15. sfriday

    VB Script Outlook 98

    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 =...
  16. sfriday

    VB Script Outlook 98

    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 =...
  17. sfriday

    HOW CAN I GET THE AVAILABLE MEMORY???

    This script will only run on XP and .NET what OS do you have Regards Steve Friday
  18. sfriday

    Adding printer

    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
  19. sfriday

    Adding printer

    you need to put it in a vbs file and call it from the login script, use Wscript nameoffile.vbs within your login script Regards Steve Friday
  20. sfriday

    automatic email

    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.&quot...

Part and Inventory Search

Back
Top