Richard said:
I have a small program that I to run at startup to update the system
time and then exits.
When I moved to Vista I discovered this program causes some kind of
security issue. First I log in as an Administrator level user id. If I
run the program as is I get the error that the program could not update
the time. If I do a "run as administrator," then I get the UAC alert
asking me if I want to allow this program to run.
Changing the system time is an administrative function, and the only
ways around would also entail compromising your system's security.
Is there some way to make this thing work without having to click
"Allow" every time I startup my computer?
Why bother with a 3rd party utility that clearly was not designed to be
compatible with Vista, and whose use compromises your system's security,
when Vista has this same capability built in?
Simply right-click on the clock in the Task Bar's Notification Area,
select Adjust Date/Time > Internet Time > Change Settings > Update Now.
By default, Vista synchronizes the computer's time every 7 days
(604800 "clock ticks," actually). This is generally often enough for
most purposes. If you've some special need to have greater accuracy,
the frequency with which Vista checks the time can be adjusted via a
simple registry edit of two Keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\UpdateInterval
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\SpecialPollInterval
Once these keys have been modified, either reboot the computer, or stop
and restart the W32Time service.
For more detailed information:
Windows Time Service Tools and Settings: Windows Time Service
http://technet.microsoft.com/en-us/library/cc773263.aspx
--
Bruce Chambers
Help us help you:
http://support.microsoft.com/default.aspx/kb/555375
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. ~Benjamin Franklin
Many people would rather die than think; in fact, most do. ~Bertrand Russell
The philosopher has never killed any priests, whereas the priest has
killed a great many philosophers.
~ Denis Diderot