Link to home
Start Free TrialLog in
Avatar of CodedK
CodedKFlag for Greece

asked on

System time in LAN

Hi.

Is it possible to change the time, at the taskbar, on all computers in LAN simultaneously?

Thanks in advance.
Avatar of geobul
geobul

Hi,

Set one computer as a time server. Set all computers in the LAN to use that computer as time server ('NET TIME' command). Now you can change the time on that time server only and all other computers will synchronize the change instantly.

Regards, Geo
Avatar of CodedK

ASKER

Hi Geobul and thanks.

You said (Set all computers in the LAN to use that computer as time server, mine as a time server)...

How can i do this within my application?
SOLUTION
Avatar of Barthax
Barthax
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CodedK

ASKER

Hi Barthax..

I have all the IP addresses.
Can u give me some code? (...wrapping the net time)

---->
As far as I know there is no 'broadcast' facility (tool or protocol) to push the time to all machines in a single run...
 example:
http://www.sharewareconnection.com/nettime-server-client.htm

But this application synchronize the lan time with a server.
I dont want that.... i allready have the right time and i want to push it in all the pcs.

Thanks
The link you publish uses NTP - it's one of the many NTP server/client software available.  NTP is not a push protocol. :(

I've just noticed I've severely messed up.  I am sorry, but net time does not do as I described!

The only way around this is to use WMI (works only with Windows 2000/XP/2003, IIRC) to force the other machine to perform the net time/NTP transaction at a particular time.  I don't know how to use WMI, let alone program for it - I only know it's a possibility.

Again, my apologies for the misinformation - I was thinking of a login script (which is the way I usually implement it)... but that's a client pull, not a server push. :(
Avatar of CodedK

ASKER

Thanks for your time :)
Hi,

>How can i do this within my application?

Without your own client/server application already installed on all computers - I don't know. But that doesn't make sense because you'll need to install that application manually on all computers which is the same effort as setting them to use the time server directly. I do that manually on every computer in the LAN.

Regards, Geo
Avatar of CodedK

ASKER

Hi geobul.

There are many application that can take control of a remote system and do several things...
For example shutting down a pc in lan, Move the mouse etc
Is there any way that i can take control of the time...?
Without installing anything... just take control of the remote system and change the time.
Thanks..
Avatar of CodedK

ASKER

:/ The question is getting old..
I posted for a refund...
Sometimes there are things that cannot be done. As I already said you have to set time synchronization on every workstation.
Avatar of CodedK

ASKER

:) You are right geobul..
I'll split the points...

But ... is it possible at least to get the time of a different pc in lan?
Not change it ... just see the time..
??
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CodedK

ASKER

Thank u very much Geo.. :)
You are welcome :-)