Network interface can be changed manually by using netsh command (netsh.exe) from Command Prompt. To change the IP to static IP, use the following command format:
netsh interface ip set address [Connection Name] [Source] [IP] [Netmask] [Gateway] [Metric]





