#27138 - 2002-08-15 04:04 PM
Set time
|
MarcLaroche
Fresh Scripter
Registered: 2002-08-15
Posts: 5
Loc: Quebec
|
I would like to set the time at startup on each workstation on my network. I have many OS, win9x and win2k. Is it possible to do this with kixtart?
|
|
Top
|
|
|
|
#27139 - 2002-08-15 04:08 PM
Re: Set time
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
KiXtart has a "settime" command.
On Windows NT, SETTIME requires the current user to have the ‘Change the system time’ privilege.
For more information on running the Windows NT Time Source Service, see Knowledge Base article Q131715 (also available on TechNet).
W2K should be using w32time time service.
win9x client should use nettime.exe (Microsoft) if you have multiple time zones.
|
|
Top
|
|
|
|
#27140 - 2002-08-15 04:30 PM
Re: Set time
|
MarcLaroche
Fresh Scripter
Registered: 2002-08-15
Posts: 5
Loc: Quebec
|
Every Pc must have the same time, there's no problem to use this command with win9x?
|
|
Top
|
|
|
|
#27141 - 2002-08-15 04:37 PM
Re: Set time
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Use "Settime @lserver" and see if that works for you.
|
|
Top
|
|
|
|
#27143 - 2002-08-15 04:46 PM
Re: Set time
|
MarcLaroche
Fresh Scripter
Registered: 2002-08-15
Posts: 5
Loc: Quebec
|
Thank you, I will try it!
|
|
Top
|
|
|
|
#27144 - 2002-08-15 04:47 PM
Re: Set time
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
From the 4.02 manual: SETTIME "*" SETTIME "\\MYTIME" SETTIME "TIMEDOMAIN" [ 15. August 2002, 16:47: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#27145 - 2002-08-15 05:42 PM
Re: Set time
|
MarcLaroche
Fresh Scripter
Registered: 2002-08-15
Posts: 5
Loc: Quebec
|
After many tests, "nettime" command doesn't work with win9x... At DOS prompt, the command "time" work but I must enter the time by myself. If someone can help me, I will realy happy.
|
|
Top
|
|
|
|
#27146 - 2002-08-15 05:52 PM
Re: Set time
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Nettime.exe: For future reference it’s a part of the Windows 98 Resource Kit [ 15. August 2002, 18:01: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#27147 - 2002-08-15 06:06 PM
Re: Set time
|
MarcLaroche
Fresh Scripter
Registered: 2002-08-15
Posts: 5
Loc: Quebec
|
I don't have the Windows 98 Resource Kit. Where i can find it!
|
|
Top
|
|
|
|
#27149 - 2002-08-15 06:16 PM
Re: Set time
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
email me. I'll send it to you.
|
|
Top
|
|
|
|
#27151 - 2002-08-15 09:46 PM
Re: Set time
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
BTW,
On W2k/XP, you have W32Time built-in.. You do need a time server that "talks" with an Atomic Clock, however.
If you need to install W32Time on NT 4, you can find the file here - ftp://ftp.microsoft.com/ResKit/y2kfix/x86/w32time/
Cheers!
Kent
|
|
Top
|
|
|
|
#27153 - 2002-08-16 01:08 AM
Re: Set time
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
If you are dealing with multiple time zones you'll definitely want to use nettime.exe on your Windows 9x PCs.
You can read more about it in this topic: Time Syncronisation
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|