Created a Batch file (ChangeIP.bat)and write command as below.
netsh interface ip set address "Local Area Connection" static 10.70.8.11 255.255.255.0 10.70.8.1
Run this command to Elevate Command Prompt
runas /noprofile /user:systemname\administrator ChangeIP.bat
-
No comments:
Post a Comment