Friday, November 9, 2007

w32 time finally fixed

for years, our computer clocks have been off. everytime i sat down for a 20 minute shot to try and get it working, it always failed. finally found a site that walked through the process and it finally works!

http://www.anotherurl.com/library/network_time.htm

snip:
Setting the time automatically is just so simple™. Run this ruin:
net time /setsntp:"ntp2a.mcc.ac.uk ntp2b.mcc.ac.uk"

Port 123 must be open
So how DO you know it's all working?

turn off the time service
net stop w32time

set the time out by 10 minutes
C:\>time
The current time is: 15:54:45.17
Enter the new time: 16:04

check it
C:\>time
The current time is: 16:04:43.35
Enter the new time:

type:

C:\>w32tm -once

.....

W32Time: *****SetSystemTime()*****
W32Time: END Line 1258
W32Time: Time was 06min 08.201s
W32Time: Time is 57min 08.431s
W32Time: Error 539770ms
W32Time: BEGIN:CheckLeapFlag
W32Time: END:Line 584
W32Time: BEGIN:ComputePostTimeData
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2452
W32Time: BEGIN:ComputeSleepStuff
W32Time: Computed stagger is 0ms, bias is 0ms
W32Time: Time until next sync - 2699.960s
W32Time: END:Line 794
W32Time: END:Line 220
W32Time: END:Line 195
W32Time: BEGIN:TermTime
W32Time: TimeMMCleanup()
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: Time service stopped.
W32Time: END:Line 407

now check the time, and restart the service

C:\>time
The current time is: 15:58:39.37
Enter the new time:

C:\>net start w32time

The Windows Time service was started successfully.

Finally make sure the time service starts automatically.

From the client machines on the domain type w32tm /resync

xp machine not able to access w2k domain

this is a sporadic problem on our w2k domain.

i have a new xp laptop that can join the domain, login to the machine on the domain with access privileges, and ping the domain name. it cannot however access or ping any of the hosts no the network - even the domain controller.

following the script here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;314861

trying:
nltest /dsgetdc:domain
works fine

trying:
nslookup server_name.child_of_root_domain.root_domain.com
fails
*** can't find server name for address 192...[dc ip]: non-existent domain
*** default servers are not available.
http://support.microsoft.com/kb/200525
This error occurs when there is no PTR record for the name server's IP address. When Nslookup.exe starts, it does a reverse lookup to get the name of the default server. If no PTR data exists, this error message is returned. To correct make sure that a reverse lookup zone exists and contains PTR records for the name servers.

For additional information, see the following article or articles in the Microsoft Knowledge Base:
172953 (http://support.microsoft.com/kb/172953/EN-US/) How to Install and Configure Microsoft DNS Server
did this but still get the nslookup issue and still unable to ping anybody

trying:
ipconfig /registerdns
that worked finally!!!!