Page 1 of 1 1
Topic Options
#27138 - 2002-08-15 04:04 PM Set time
MarcLaroche Offline
Fresh Scripter

Registered: 2002-08-15
Posts: 5
Loc: Quebec
I would like to set the time at startup on each workstation on my [Roll Eyes] 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 Offline
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.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#27140 - 2002-08-15 04:30 PM Re: Set time
MarcLaroche Offline
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 Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Use "Settime @lserver" and see if that works for you.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#27142 - 2002-08-15 04:45 PM Re: Set time
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mmm...
I read the manual and it says:
settime "domain_name"

well, it sets it.
but the machine it gets is not our time machine.
it just seems to get the fastest answering machine or something.
_________________________
!

download KiXnet

Top
#27143 - 2002-08-15 04:46 PM Re: Set time
MarcLaroche Offline
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 Offline
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 ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#27145 - 2002-08-15 05:42 PM Re: Set time
MarcLaroche Offline
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 Offline
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 ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#27147 - 2002-08-15 06:06 PM Re: Set time
MarcLaroche Offline
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
#27148 - 2002-08-15 06:15 PM Re: Set time
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
What is wrong with using KiXtarts SETTIME or 'SHELL '%COMSPEC% NET TIME /SET' ?

For Windows NT/2000/XP, I highly recommend to install the W32TIME service and set up a master time server for the domain.
_________________________
There are two types of vessels, submarines and targets.

Top
#27149 - 2002-08-15 06:16 PM Re: Set time
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
email me. I'll send it to you.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#27150 - 2002-08-15 06:50 PM Re: Set time
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jens, there is just the problem that the settime does not work. nothing else.

if I put:
settime "myDomain"
i get time from linuxserver

also using:
net time /set

does the same thing.
but! using:
net time /domain /set

gives the time from different machine.
_________________________
!

download KiXnet

Top
#27151 - 2002-08-15 09:46 PM Re: Set time
Kdyer Offline
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
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#27152 - 2002-08-15 09:59 PM Re: Set time
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
but w32time is not needed on any clients as there is allready net time installed.

you will need more rights to install it than using the net time.
_________________________
!

download KiXnet

Top
#27153 - 2002-08-16 01:08 AM Re: Set time
Chris S. Offline
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
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.065 seconds in which 0.031 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org