I want to use it from c/c++
HIDEWINDOW("CMD") // NOT IMPORTANT.
system("w32tm /resync /rediscover");
on my system i get a error:
Sending resync command to local computer...
The computer did not resync because no time data was available.
I need this so my SERVICE.EXE can sneaky send time updates.
My program is a CYBER PARRENT control..... and i the users adjust the windows clock........
the program is useless so i am trying to find a way to sync the windows clock....
Thanks.
Main Topics
Browse All Topics





by: evilrixPosted on 2009-05-05 at 04:41:23ID: 24303521
Assuming you have Windows configured to get its time from a time server (the default setting as far as I know)...
om/kb/3140 54
http://support.microsoft.c
To reset the local computers' time against the time server, run the following command on all the computers except the time server:
w32tm /resync /rediscover