Time service issue after XP3

Posted: 01-22-2009, 04:30 PM

Hi,

Question: How do I fix the problem I'm having with the time service?

Important info: I wrote a batch file that executes upon start up to tell
the computer to sync the computer's time with the official government site in
NY. It worked properly for one year until I installed SP3 2 days ago. It's
called timefrominternet.bat and is in my XP startup group.

C:\>net stop w32time
C:\>net time /setsntp:129.6.15.28
C:\>net start w32time

Problem: line 1 says it couldn't stop the time service
line 2 says command successfully completed
line 3 takes about 2 minutes and the computer won't do
anything else until it times out

each line takes a long time to complete but used to be
instantaneous

Interesting tidbit: After the desktop appears I go to a C:\> prompt and
execute the batch file manually the commands all process properly and very
fast.

Thank you.

Time service issue after XP3


Responses to "Time service issue after XP3"

Twayne
Guest
Posts: n/a
 
Re: Time service issue after XP3
Posted: 01-22-2009, 06:19 PM
Dumb Question: What's wrong with useing XP's
nist.gov to do these things automatically? Just
curious.

No idea why it's running so slow; it'll be
interesting to see what the cause is.

Twayne


> Hi,
>
> Question: How do I fix the problem I'm having
> with the
> time service?
>
> Important info: I wrote a batch file that
> executes upon
> start up to tell the computer to sync the
> computer's time
> with the official government site in NY. It
> worked
> properly for one year until I installed SP3 2
> days ago.
> It's called timefrominternet.bat and is in my XP
> startup
> group.
>
> C:\>net stop w32time
> C:\>net time /setsntp:129.6.15.28
> C:\>net start w32time
>
> Problem: line 1 says it couldn't stop the time
> service
> line 2 says command successfully
> completed
> line 3 takes about 2 minutes and
> the
> computer won't do anything else until it times
> out
>
> each line takes a long time to
> complete but
> used to be instantaneous
>
> Interesting tidbit: After the desktop appears I
> go to a
> C:\> prompt and execute the batch file manually
> the
> commands all process properly and very fast.
>
> Thank you.


John
Guest
Posts: n/a
 
Re: Time service issue after XP3
Posted: 01-22-2009, 06:38 PM
I don't understand why you'd set SNTP server whenever your PC starts up.
Does it have problem remembering time server setting?

[warning: this is a guess]
Your problem may be related to services startup sequence. Perhaps SP3
changes services startup sequence or adds a few more services. Your batch
file attempts to stop w32time service while it isn't started yet and
therefore it fails.

How about using XP default w32time? If you'd like to see it sync more often,
change the sync interval to every 1 hour or every minute (if that's
allowed). http://support.microsoft.com/kb/816042 may have the reghack you
need.


"4X" <4X@discussions.microsoft.com> wrote in message
news8872DF9-AA71-4F36-A289-E1C32037A87B@microsoft.com...
> Hi,
>
> Question: How do I fix the problem I'm having with the time service?
>
> Important info: I wrote a batch file that executes upon start up to tell
> the computer to sync the computer's time with the official government site
> in
> NY. It worked properly for one year until I installed SP3 2 days ago.
> It's
> called timefrominternet.bat and is in my XP startup group.
>
> C:\>net stop w32time
> C:\>net time /setsntp:129.6.15.28
> C:\>net start w32time
>
> Problem: line 1 says it couldn't stop the time service
> line 2 says command successfully completed
> line 3 takes about 2 minutes and the computer won't do
> anything else until it times out
>
> each line takes a long time to complete but used to be
> instantaneous
>
> Interesting tidbit: After the desktop appears I go to a C:\> prompt and
> execute the batch file manually the commands all process properly and very
> fast.
>
> Thank you.
>

4X
Guest
Posts: n/a
 
Re: Time service issue after XP3
Posted: 01-22-2009, 06:53 PM
As I understand it from other posts on the Internet, nist.gov servers are
overloaded and since I don't need the accuracy provided by these servers I
use the one in NY. Also see http://www.pool.ntp.org

"Twayne" wrote:
> Dumb Question: What's wrong with useing XP's
> nist.gov to do these things automatically? Just
> curious.
>
> No idea why it's running so slow; it'll be
> interesting to see what the cause is.
>
> Twayne
>
>
>
> > Hi,
> >
> > Question: How do I fix the problem I'm having
> > with the
> > time service?
> >
> > Important info: I wrote a batch file that
> > executes upon
> > start up to tell the computer to sync the
> > computer's time
> > with the official government site in NY. It
> > worked
> > properly for one year until I installed SP3 2
> > days ago.
> > It's called timefrominternet.bat and is in my XP
> > startup
> > group.
> >
> > C:\>net stop w32time
> > C:\>net time /setsntp:129.6.15.28
> > C:\>net start w32time
> >
> > Problem: line 1 says it couldn't stop the time
> > service
> > line 2 says command successfully
> > completed
> > line 3 takes about 2 minutes and
> > the
> > computer won't do anything else until it times
> > out
> >
> > each line takes a long time to
> > complete but
> > used to be instantaneous
> >
> > Interesting tidbit: After the desktop appears I
> > go to a
> > C:\> prompt and execute the batch file manually
> > the
> > commands all process properly and very fast.
> >
> > Thank you.
>
>
>
>
4X
Guest
Posts: n/a
 
Re: Time service issue after XP3
Posted: 01-22-2009, 07:04 PM
My computer insisted on being 2 minutes off. I would doubleclick on the
date/time icon and set it manually. A little while later it would be off
again. It was set to get time from time.windows.com. I don't know if that
site was off by 2 minutes or if it was an internal problem. My computer used
to be on a domain in a local network so maybe it got time from the local
server. It annoyed me. So I decided to request time from a source I trust.

"John" wrote:
> I don't understand why you'd set SNTP server whenever your PC starts up.
> Does it have problem remembering time server setting?
>
> [warning: this is a guess]
> Your problem may be related to services startup sequence. Perhaps SP3
> changes services startup sequence or adds a few more services. Your batch
> file attempts to stop w32time service while it isn't started yet and
> therefore it fails.
>
> How about using XP default w32time? If you'd like to see it sync more often,
> change the sync interval to every 1 hour or every minute (if that's
> allowed). http://support.microsoft.com/kb/816042 may have the reghack you
> need.
>
>
> "4X" <4X@discussions.microsoft.com> wrote in message
> news8872DF9-AA71-4F36-A289-E1C32037A87B@microsoft.com...
> > Hi,
> >
> > Question: How do I fix the problem I'm having with the time service?
> >
> > Important info: I wrote a batch file that executes upon start up to tell
> > the computer to sync the computer's time with the official government site
> > in
> > NY. It worked properly for one year until I installed SP3 2 days ago.
> > It's
> > called timefrominternet.bat and is in my XP startup group.
> >
> > C:\>net stop w32time
> > C:\>net time /setsntp:129.6.15.28
> > C:\>net start w32time
> >
> > Problem: line 1 says it couldn't stop the time service
> > line 2 says command successfully completed
> > line 3 takes about 2 minutes and the computer won't do
> > anything else until it times out
> >
> > each line takes a long time to complete but used to be
> > instantaneous
> >
> > Interesting tidbit: After the desktop appears I go to a C:\> prompt and
> > execute the batch file manually the commands all process properly and very
> > fast.
> >
> > Thank you.
> >
>
>
>
John Wunderlich
Guest
Posts: n/a
 
Re: Time service issue after XP3
Posted: 01-23-2009, 05:59 AM
=?Utf-8?B?NFg=?= <4X@discussions.microsoft.com> wrote in
news8872DF9-AA71-4F36-A289-E1C32037A87B@microsoft.com:
> Hi,
>
> Question: How do I fix the problem I'm having with the time
> service?
>
> Important info: I wrote a batch file that executes upon start up
> to tell the computer to sync the computer's time with the official
> government site in NY. It worked properly for one year until I
> installed SP3 2 days ago. It's called timefrominternet.bat and is
> in my XP startup group.
>
> C:\>net stop w32time
> C:\>net time /setsntp:129.6.15.28
> C:\>net start w32time
>
> Problem: line 1 says it couldn't stop the time service
> line 2 says command successfully completed
> line 3 takes about 2 minutes and the computer won't
> do
> anything else until it times out
>
> each line takes a long time to complete but used to
> be
> instantaneous
>
> Interesting tidbit: After the desktop appears I go to a C:\>
> prompt and execute the batch file manually the commands all
> process properly and very fast.
>
> Thank you.
>
You don't need to stop and restart the time service.

Try the following sequence:
> net time /setsntp:129.6.15.28
> w32tm /config /update
> w32tm /resync /rediscover
The first two instructions probably only have to be done once. The last
one should start an immediate resync process.

HTH,
John


John Wunderlich
Guest
Posts: n/a
 
Re: Time service issue after XP3
Posted: 01-23-2009, 06:13 AM
John Wunderlich <jwunderlich@lycos.com> wrote in
news:Xns9B9BDFAC2F476wunderpsdrscray@207.46.248.16 :

Accidental re-wrap...
Should be:

net time /setsntp:129.6.15.28
w32tm /config /update
w32tm /resync /rediscover

-- John
 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
SyncToy time issue? Dan Fletcher Windows XP Photos 5 09-20-2005 11:36 PM
Video Effects time issue? Rach Windows XP Movie Maker 2 08-08-2005 11:55 PM
Need help one more time regarding security issue Road Runner Windows XP New Users 0 11-27-2004 10:01 PM
Service Pack 1 XP issue Steve Olson Windows XP Performance & Maintenance 1 12-17-2003 08:07 AM
Time and date issue Ari Customize Windows XP 1 08-30-2003 05:51 PM