[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Linux script on Windows to chjange Date and Time

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.


Michael Martinez
Engineering Manager
Tech Computer Center (TCC), Speare Room 128
New Mexico Tech, 801 Leroy Place, Socorro, NM 87801
(505) 835-5388 mikem nmt edu

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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]