Automatic Internet Time update as (non) admin user via .BAT file

  • Thread starter Thread starter Will Program For Food
  • Start date Start date
W

Will Program For Food

Hi,
My laptop, I am sorry to say, is beginning to suffer some amnesia
(alzheimer is more like it) now that its battery (and internal battery as
well) has given up. This means that as soon as I remove the power feed
(mains) the time on the machine slowly lags until it has several days of
lag.

This means that very often I have to log in as the admin user (XP Pro),
correct the date manually and then run the Internet Time Update utility from
the desktop. Remember that if the dates are not the same the internet time
update will refuse to do the time update.

Now, for security reasons I use my laptop as a "normal user" rather than a
user with administrative privileges. Unfortunately also, if I do a Switch
User (something most people would suggest) the laptop becomes so painfully
slow that I have to shut it down by force with the power button.

Therefore, I need a way to automatically run the time update (internet)
utility as a normal user (actually with Run As) under a scheduled task. My
question is then, how do I accomplish that? which command line
arguments/commands can I use in a batch file to accomplish the task?

Regards,
Emilio

PS. I have the same problem with the McAfee antivirus, it won't do automatic
updates as a regular user which is very dangerous because the .dat file gets
outdated quickly unless I log in as admin user again.
 
Back
Top