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 derfloh 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. dickyboy37

    How to change the DNS of a computer, according to network ?

    Hy From France, I want to change the primary DNS and the secondary DNS of a computer like XP or Seven according to network like this : If mynetwork is 192.168.1.0 255.255.252.0 then arrDNSServers = Array("x.x.x.x", "y.y.y.y.") elseif mynetwork is 192.168.4.0 255.255.252.0 then arrDNSServers =...
  2. dickyboy37

    How to modify the ThirdOctet of the Ipadress in the registry ?

    This is the code pasted. Regards '========================================================================== ' ' NAME: SubnetChanger.vbs ' ' AUTHOR: Mark D. MacLachlan , The Spider's Parlor ' URL: http://www.TheSpidersParlor.com ' COPYRIGHT (c) 2006 All Rights Reserved ' DATE : 7/12/2006 ' '...
  3. dickyboy37

    How to modify the ThirdOctet of the Ipadress in the registry ?

    Hy, Thank you for your contribution but script does not go: - ( I have this message : Ligne69 Types non correspondants code : 80041005 Source: SWbemObjectX On the other hand, my script goes, but on a machine with 2 @ IP, it replaces the first @ by the second. Regards, Gil
  4. dickyboy37

    How to modify the ThirdOctet of the Ipadress in the registry ?

    Ok thank your help JJ, I worked above this after midday, and I found ! I recover the 3 byte, I modify it and I insert it in the new address IP which I writes in the register. I benefitted from it to record the DNS, etc... thank you still! 'On Error Resume Next ''*** Définit la...
  5. dickyboy37

    How to modify the ThirdOctet of the Ipadress in the registry ?

    Ok thank You for vour code. Here my code. I manage well to post the 3 Byte, on the other hand the modification does not pass... An idea? Thank you, 'On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer &...
  6. dickyboy37

    How to modify the ThirdOctet of the Ipadress in the registry ?

    I have a whole park of XP with IP addresses into 192.168.16. * 192.168.17.* 192.168.18.* that I must change into 192.168.4.* 192.168.5.* 192.168.6.* It is our national center network which requires of us to standardize our IP addresses Thanks for your script and Ok for the select case, but...
  7. dickyboy37

    How to modify the ThirdOctet of the Ipadress in the registry ?

    Hy, New on the forum (from France), I seek to modify the thirdOctet byte of @ the IP in the base of register for a whole park information in XP. If 16 become 4 If 17 becomes 5 If 18 becomes 6 Anybody can help me ? Thank you in advance,

Part and Inventory Search

Back
Top