Question Locked

In Windows 7, how can we change the IP Address without Admin rights?

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi ,
I am using a windows application which has a feature to change the IP address to 10.XX.XX.1 to connect to a server and restore it back to its original address on exit of connection to the server. The windows application is run with administrator rights. Now i want to run the application without admin rights and change\restore the IP address. My application for changing the IP it uses netsh commands from command prompt. Please suggest a way in which i can be able to do achieve this.

2 replies

by robo_dev

The Windows task scheduler (AT command) runs with system-level privileges, so you can invoke programs which require admin access with it. This worked in Win XP, not sure about 7.

You can use runas and then hide the login password by using a compiled Winbatch progam to invoke the netsh.

This discussion is closed to new replies.