Jump to content

Setting Time and Security Issues


Recommended Posts

Guest Richard B
Posted

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.

 

Is there some way to make this thing work without having to click

"Allow" every time I startup my computer?

 

Thanks,

 

Richard..

  • Replies 7
  • Created
  • Last Reply
Posted

Hello Richard,

 

Easy solution. Maybe you need to check or change the battery for the CMOS

 

<http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?&lang=en&cr=US&guid=&sloc=en-us&dg=microsoft.public.windowsupdate&p=1&tid=c2b996e5-8044-441d-b088-5ffa0f4c56bb&mid=c2b996e5-8044-441d-b088-5ffa0f4c56bb>

 

Good luck

-=-

 

 

 

 

 

"Richard B" wrote:

<span style="color:blue">

> 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.

>

> Is there some way to make this thing work without having to click

> "Allow" every time I startup my computer?

>

> Thanks,

>

> Richard..

> </span>

Guest Dick D.
Posted

Engel <Engel@discussions.microsoft.com> wrote:

<span style="color:blue">

>Hello Richard,

>

>Easy solution. Maybe you need to check or change the battery for the CMOS</span>

 

That is a completely absurd reply to what the OP has said.

 

COMPLETELY absurd.

 

Get outta here.

<span style="color:blue">

><http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?&lang=en&cr=US&guid=&sloc=en-us&dg=microsoft.public.windowsupdate&p=1&tid=c2b996e5-8044-441d-b088-5ffa0f4c56bb&mid=c2b996e5-8044-441d-b088-5ffa0f4c56bb>

>

>Good luck

>-=-

>

>

>

>

>

>"Richard B" wrote:

><span style="color:green">

>> 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.

>>

>> Is there some way to make this thing work without having to click

>> "Allow" every time I startup my computer?

>>

>> Thanks,

>>

>> Richard..

>> </span></span>

Posted

Have you had any thoughts to using Vista's automatic built in time setting

function. That's what use and it works great.

 

Bob

 

 

"Richard B" <rbillingsley@yahoo.com> wrote in message

news:ujYz5FYXJHA.4628@TK2MSFTNGP02.phx.gbl...<span style="color:blue">

> 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.

>

> Is there some way to make this thing work without having to click "Allow"

> every time I startup my computer?

>

> Thanks,

>

> Richard.. </span>

Guest FromTheRafters
Posted

Use "Task Scheduler".

 

"Richard B" <rbillingsley@yahoo.com> wrote in message

news:ujYz5FYXJHA.4628@TK2MSFTNGP02.phx.gbl...<span style="color:blue">

>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.

>

> Is there some way to make this thing work without having to click "Allow"

> every time I startup my computer?

>

> Thanks,

>

> Richard.. </span>

Guest Richard Urban
Posted

I found this reply I wrote on 10/28/2001. It is still applicable to, and

works just fine with Vista. I have added what may help for Vista:

 

 

"Windows XP, as loaded, automatically updates the system time every 7 days

from one of two time (more choices available in Vista) servers. This

interval can be changed as follows:

 

Go to Start. Type regedit in the search box.

 

Highlight regedit in the top pane and open the program.

 

Using regedit, search (press ctrl/F) for "specialpollinterval" without the

quotes.

 

Double click on the key in the right screen.

 

Click on decimal.

 

You will see that the decimal value is 604800, the number of seconds in 7

days.

 

Highlight the number to edit this decimal value to any value you desire,

remembering that there are 86400 seconds in one day, 3600 seconds in an

hour.

 

Click OK

 

Press F3 to find the next instance of the same key

 

Do the above for each instance of the value "specialpollinterval".

 

When you get to the end of the registry, close the regedit window.

 

Reboot system.

 

You have now changed the polling interval of when your computer will update

it's internal clock with that of the internet time server.

 

Cheers!!!"

 

 

--

 

Richard Urban

Microsoft MVP

Windows Desktop Experience

 

 

"Richard B" <rbillingsley@yahoo.com> wrote in message

news:ujYz5FYXJHA.4628@TK2MSFTNGP02.phx.gbl...<span style="color:blue">

>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.

>

> Is there some way to make this thing work without having to click "Allow"

> every time I startup my computer?

>

> Thanks,

>

> Richard.. </span>

Guest Bruce Chambers
Posted

Richard B wrote:<span style="color:blue">

> 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.

> </span>

 

 

Changing the system time is an administrative function, and the only

ways around would also entail compromising your system's security.

 

<span style="color:blue">

> Is there some way to make this thing work without having to click

> "Allow" every time I startup my computer?

> </span>

 

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://www.catb.org/~esr/faqs/smart-questions.html

 

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

Posted

Are you talking about synchronizing with an Internet time server or a local

network server? I'm assuming the former.

 

You can circumvent UAC for your program by using Task Scheduler as described

in

http://blogs.techrepublic.com.com/window-on-windows/?p=616

 

Vista has built in clock synchronization which runs daily. (See Date and

Time settings). Is there some reason you need to synch at start up?

--

 

"Richard B" <rbillingsley@yahoo.com> wrote in message

news:ujYz5FYXJHA.4628@TK2MSFTNGP02.phx.gbl...<span style="color:blue">

>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.

>

> Is there some way to make this thing work without having to click "Allow"

> every time I startup my computer?

>

> Thanks,

>

> Richard.. </span>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...