Linux script on Windows to chjange Date and Time

Michael Martinez mikem at nmt.edu
Mon Oct 2 14:51:34 UTC 2006


FYI (slight off topic but not entirely):

When Windows (any version) boots, it uses the hardware clock to set its 
time and it *always* believes this clock to be your local time.

So be careful with your dual boot computers. Linux may set your hardware 
clock to UTC, which will confuse Windows.

Regards,

Michael Martinez
Engineering Manager
Tech Computer Center (TCC), Speare Room 128
New Mexico Tech, 801 Leroy Place, Socorro, NM 87801
(505) 835-5388 mikem at nmt.edu
http://www.nmt.edu/tcc/
--
http://sftplogging.sourceforge.net
http://atftplocalnet.sourceforge.net/


Fernando Lozano wrote:
> Hi Tom,
> 
> 
>>>NET TIME needs the user to confirm the change, keying "y". Do you know
>>>any means of swtiching this confirmation off, so I can use NET TIME from
>>>windows login scripts?
>>
>>net time \\foggy /set /y
>>Season to taste. You should really ask this on a windoze list though.
> 
> 
> The "/y" switch is undocumented, FYI.
> 
> And, if you use Fedora to host a samba server for windows clients, I see
> no problem asking questions about login scripts samba will provide to
> those clients. After all, this is sysadmin job also.
> 
> []s, Fernando Lozano
> 




More information about the users mailing list