We have serious DNS issues where I work. I am not over the DNS server so I can not fix that.
The problem is DNS entries for users systems just don't update when their IP address changes.
I had the idea to create a scheduled task that would run ipconfig /renew and then run ipconfig /registerdns but ipconfig /registerdns requires elevated permissions in order to run.
I know fixing the DNS issue would be the preferred way to deal with the issue, but that is beyond my control.
Can I create a scheduled task that will run a batch file with elevated permissions or run the command with elevated permissions?