Tw_ix

Member
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Tw_ix

  • Birthday 03/02/1971

Contact Methods

  • Website URL
    http://
  1. Hi guys, I am looking for a software (if possible open source or freeware) that can be used to monitor services. The idea would be that if on a server (W2K or W2K3) a service goes down, a message (smtp mail) is send to the administrators. Thx Twixy
  2. Hi 2 All, I want to configure MS Office 2003 options via Custom Maintenance Wizard (of the ORK 2003). I found out that not all options off Office are in the CMW (even after updating ORK to SP2 via ORKTOSP2). Also the name of some options are different in the CMW. Does anyone knows if there is a document (ex white paper) that contains a relation between the Office options and the CMW options. I guess MS must have such a document but until know I didn't find it. Is some-one expert on Office 2003 CMW? Al help is welcome! Take care, Twixy
  3. Hi All, I have create an PRF file that creates a outlook (connected to an MSX server) profile with the location of the ost and pst set correctly. I know want to go furter and also modify some options that I normally mdify via Control Panel / Mail / Show Profiles / Properties. After reading a white paper of MS about this I think is possible but I have no clue on how. Its seems to be done via hex codes in the PRF file. Does any one have experience with this? Can anyone help? Thanks, Twixy
  4. I want to do the following for a Local Area Connection (under Windows XP): - Modify the name of the connection (rename Local Area Connection to Corporate Network - Enable the option ShowIcon (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{GUID of Adapter}\Connection\ShowIcon) ??? - Modify DNS Search List (HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\SearchList) ??? - Enable NetBIOS (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcp_{GUID of Adapter}\NetbiosOptions) ??? The problem is that on the machine I want to do this there are several connections (nic, wireless, vpn) and I don't know how to find the correct entries in the registries. The connection related ones must only by applied on the nic connection (not on the other two). My idea was to use the IP address. The script I want to use will run while the nic is connected to our LAN. So I know a part of the IP range (first to octects). I would like to do this via VBS. After google-ling a bit a round I create the following: Const cIPOctet_1="192" Const cIPOctet_2="168" Const cConnectionName="Corporate Network" Const NETWORK_CONNECTIONS = &H31& Set oWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") Set colNicConfigs = oWMIService.ExecQuery ("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True") Set oShell = CreateObject("Shell.Application") Set oFolder = oShell.Namespace(NETWORK_CONNECTIONS) For Each oNicCfg In colNicConfigs Set oNic = oWMIService.Get("Win32_NetworkAdapter.DeviceID=" & oNicCfg.Index) For Each vIPAddress In oNicCfg.IPAddress aOctets = Split(vIPAddress, ".") If aOctets(0)=cIPOctet_1 And aOctets(1)=cIPOctet_2 Then vConnectionToRename=oNic.NetConnectionID Next Next If vConnectionToRename <> "" and vConnectionToRename <> cConnectionName Then Set colItems = oFolder.Items For Each oItem in colItems If oItem.Name = vConnectionToRename Then oItem.Name = cConnectionName Next End If Set oWMIService = Nothing Set colNicConfigs = Nothing Set oShell = Nothing Set oFolder = Nothing The first part of the scripts finds the current name of the connection via the two first octets of the IP. Once the connection name is found the second part of the script loops until the name found before is detected and then renames it to the new name. This works! But I now want to modify HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{GUID of Adapter}\Connection\ShowIcon HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcp_{GUID of Adapter}\NetbiosOptions But how can I detect this {GUID of Adapter} ??? I have the IP address of the connection and the connection name. Is there a way to query via VBS to find this GUID? Can any one help? I have soon a major roll-out and need this script! Many many thanks! Take care, Twixy