You have to replace "Local Area Connection" with the network interface name on the user's laptop. Netsh interface ip set dns "Local Area Connection" static %DNS% Netsh interface ip set address name="Local Area Connection" static %IP% 255.255.255.0 %Gateway% 1 On a Windows XP machine this script could look like off But you can write a little batch script that Steel Run As will execute with admin privileges. That's why you can't just tell Steel Run As to run a certain program with administrator rights. The TCP/IP settings have to be configured through the Control Panel applet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |