Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time synchronisation on NT network

Status
Not open for further replies.

Gareth1978

IS-IT--Management
Joined
Apr 19, 2002
Messages
218
Location
GB
Can anyone advise me on the best way to achieve time synch on an NT network. We use an atomic clock on the internet to get the PDC time correct. I am running the command

net time \\myserver /set /yes

as part of the login scripts but it seems as though some users can and some users can't (the script runs but it some people don't seem to have permission to change the time that way)

If anyone has a foolproof method of doing this then it would be very much apreciated.

Gareth



**One day, I will find a question that no one else has answered........and will also know the answer to it ! **
 
Gareth1978,

To Sync PC Time to NT Server Time try this.

Place the following in the login script, start up folder, and/or schedule it: (This works on NT and 9x)

NET TIME \\ServerName /SET /YES

You can configure the PDC or BDC to be the default time server by editing the registry at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Paramaters

and adding a Value Name of timesource as type REG_DWORD and setting it to 1. Stop and restart the server service for this change to take effect.


For WinNT users, you must grant the user the right to change the system time or use TIMESERV from the reskit.


Thanks,

Michael42
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top