Question : need script to run as administrator ipconfig release/renew and flushdns with password encrypted

I have several people on temporary duty with only user rights.  The hotel's dhcp reservation is not clearing on reboot and as a result they cannot get on the dsl at our on-site location.  These are domain computers; however, I do have a local admin service account I can do a run as with but I cannot give the password to the users.
So without being able to install any other programs I need to have some form of script (preferably one the users cannot edit/see the password) that uses the local admin service account to run ipconfig /flushdns, ipconfig /release and ipconfig /renew.
I have installed visual studio on my personal laptop that I can compile with but I haven't programmed anything in so long I'm staring at a blank project for the last hour.
These are Vista 32 bit enterprise edition.

Answer : need script to run as administrator ipconfig release/renew and flushdns with password encrypted

I would use something like AUtoit to create a script, compile it to an exe and have them execute it.

An update for AutoScriptWriter

http://www.autoitscript.com/autoit3/index.php  Autoit V3

I hope this helps !

Random Solutions  
 
programming4us programming4us