Solution
You can change network configurations using the 
System Exec VI, which invokes the command window. Right-click on the
 Block Diagram of a VI to show the 
Functions Palette and navigate to 
Connectivity>>Libraries & Executables and place the 
System Exec.vi on the block diagram. Right-click on the 
Command line input terminal of the 
System Exec.vi and select 
Create Constant. In the created string constant, type the following arguments:
netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1This will configure the connection named Local Area Connection to use static IP address 
192.168.0.100, subnet mask 
255.255.255.0 and DNS server 
192.168.0.1 1.