How to Change IP Address Easily Using Batch File Script

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 46

  • @alexhulinsky7954
    @alexhulinsky7954 5 лет назад +5

    3:08 for the actual script

  • @studentboy5753
    @studentboy5753 2 года назад +1

    You're one of the best computer knower for the best

  • @davidschwehr1940
    @davidschwehr1940 8 лет назад

    Thank you, this helped where other instructions did not.

  • @redenhernandez2579
    @redenhernandez2579 5 лет назад +1

    Hi! but how bout if i'm going to apply this to multiple computers. Is it possible??

  • @cryptocoinage9811
    @cryptocoinage9811 6 лет назад +1

    VERRY NICE COULD SAVE MY HOLE SETUP :)

  • @lixinho2
    @lixinho2 6 лет назад

    I wasn't going to watch it as I prefer plain text information, however, I got to admit, your bat thumbnail got me, well done, well done…

  • @kushalbhatt6266
    @kushalbhatt6266 3 года назад +1

    thanks a lot sir

  • @abdelkiki
    @abdelkiki 3 года назад

    Hi mmK, could address name be an IP address or just a name?

  • @jimmyjobindi2128
    @jimmyjobindi2128 4 года назад

    Excellent! Worked like a charm. Thanks.

  • @goodlife5230
    @goodlife5230 2 года назад +1

    thanks man

    • @mmktut
      @mmktut  2 года назад

      No problem!

  • @graymountain1373
    @graymountain1373 8 лет назад +1

    good, thanks man

  • @SudhamsuSharmaneodonly
    @SudhamsuSharmaneodonly 6 лет назад

    great video.But can you tell how i can change the ip configuration back to DHCP using the batch file ??

    • @a.m.g.r7804
      @a.m.g.r7804 5 лет назад +2

      @echo off
      netsh interface ipv4 set address name="Wi-Fi" source=dhcp
      @echo off
      netsh interface ipv4 set dns name="Wi-Fi" source=dhcp

    • @a.m.g.r7804
      @a.m.g.r7804 5 лет назад

      Im not the Author of the video, so thank you MMK, I just wanted to help since there were no responses to people's questions since it was the same question I had, so I just checked the commandline options and there was an option for DHCP.

  • @WasiqNawazHushiana
    @WasiqNawazHushiana Год назад

    how to put secondory dns with bat file?

  • @khmerhd9677
    @khmerhd9677 7 лет назад +1

    Thank man

  • @DarkAngel-yk8yk
    @DarkAngel-yk8yk 6 лет назад

    Hey, how did you switch from windows7 to windows8?

  • @sleepingcats
    @sleepingcats 5 лет назад

    Can use with wifi

  • @mohammadmamun6027
    @mohammadmamun6027 8 лет назад

    Thanks .................

  • @zeeshanali-ub3id
    @zeeshanali-ub3id 7 лет назад

    hi if i want usa and canda ip adress how to get plaese help me

  • @טלזבישינסקי
    @טלזבישינסקי 5 лет назад

    how to go back with batch to dhcp ?
    i try dhcp and automatically and its not working

  • @teddybear7853
    @teddybear7853 5 лет назад

    not working for me i have done everything right adapter name is right

    • @teddybear7853
      @teddybear7853 5 лет назад

      i am a new ISP and i want to create script for all networks we have in city for quicker analysis especially now in summer when after every storm there is problem somewhere

  • @bharatgole1924
    @bharatgole1924 6 лет назад

    its working thanks

  • @bprrifimaligi5908
    @bprrifimaligi5908 6 лет назад

    hello , how i can use 2 ip , example : 192.168.1.61 & 192.176.132.61 with subnet mask 255.255.255.0 and gateway : 192.168.1.1

    • @a.m.g.r7804
      @a.m.g.r7804 5 лет назад

      Create two seperate batch files, one with each ip OR assign each ip to different network interfaces; for ex: ethernet lan for 1.61 then wi-fi or another lan port for 132.61

    • @leefred487
      @leefred487 5 лет назад

      @@a.m.g.r7804 Is it possible to set two IPs in one interface? Your way seems to be set one in LAN and another IP in WiFI interface

  • @jbjhil4892
    @jbjhil4892 Год назад

    It made my internet stop working?

    • @mmktut
      @mmktut  Год назад

      Hi, First, get back the default IP address:
      Go to Ethernet properties and set internet protocol version 4 to get IP addresses automatically:
      Obtain an IP address automatically.
      Obtain dns server address automatically.
      Then follow the video step by step.
      To make sure you do well, first try to test commands using CMD and then create Batch.

  • @attilapenzes2022
    @attilapenzes2022 7 лет назад

    Works fine for me, but what if i have multiple DNS servers? How can i add to the bat file these dns servers?

    • @a.m.g.r7804
      @a.m.g.r7804 5 лет назад +2

      Example:
      @echo off
      netsh interface ip add dns name="Wi-Fi" addr=4.4.4.4
      @echo off
      netsh interface ip add dns name="Wi-Fi" addr=8.8.8.8 index=2

    • @a.m.g.r7804
      @a.m.g.r7804 5 лет назад

      Im not the Author of the video, so thank you MMK, I just wanted to help since there were no responses to people's questions

  • @littlehicks3080
    @littlehicks3080 7 лет назад

    welp, u just showed ur ip to all of the hackers watching this XD

    • @jacobstrong6347
      @jacobstrong6347 7 лет назад +3

      He didn't show his public ip address in the video, which is what you would need to have in order to compromise a connection. What he did show is his local ipv4 address as well as his currently used DNS server. The local ipv4 address is what his router uses to identify his device as a unique entity on the network and the DNS server is used to resolve names of servers. Sorry for the necro but I felt the urge to correct your incorrect comment.

  • @iftekharrasul2137
    @iftekharrasul2137 3 года назад

    how to change alternate DNS server?

  • @ary2593
    @ary2593 5 лет назад

    how to i input static address manualy?