In this video I have shown how you can create a short cut to change the IP address of your PC. This method will work in all windows versions and it is done with the help of Command prompt bat file.
1 . First find the name of the adapter you want to change the IP address. To find the name of adapter, Open network and sharing center from Control panel and click on Change adapter settings.
Open >> Control Panel >> Network and Internet>>Network and Sharing Center >> Change adapter settings
So I need to change the IP address of the Adapter named ‘Ethernet’.
2. Now open a Notepad and copy below command directly and save the file as .bat file extension. The below commands are for changing the IP address details as below mentioned. If you need any changes please update the commands accordingly
IP Address : 192.168.1.104
Subnet Mask : 255.255.255.0
Default Gateway : 192.168.1.1
DNS 1 : 18.104.22.168
DNS 2 : 22.214.171.124
netsh int ip set address "Ethernet" static 192.168.1.104 255.255.255.0 192.168.1.1 netsh int ip set dns "Ethernet" static 126.96.36.199 primary netsh interface ip add dns "Ethernet" 188.8.131.52 INDEX=2
3. Now create a shortcut for the bat file by just right clicking on the file.
4. Now set the shortcut to run as administrator mode.
For that just right click and select properties, Then select on shortcut and click Advanced.
In the pop up window just check on ‘Run as Administrator’.
5. Now just double click on the shortcut. It will ask for user access control, Just click yes. Now your IP address should have changed as shown below.