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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update windows 98 machines date and time from PDC server

Status
Not open for further replies.

kryton

Technical User
Feb 14, 2001
9
0
0
GB
Is there any way with NT4 server and windows 98 workstations you can set windows 98 to get it's time and date from the server.

I know in novell you can put not sure how in 98.

Please help
 
One way you could go about this is to write an NT Logon script which would synchronize the workstations' time with that of the PDC. Here's a brief summary of how it would go:

On the PDC open NOTEPAD.EXE and write the following:

REM This command will synchronize workstation clocks to the server
net time \\servername /SET /YES

Obvously, you would replace the servername above with the actual NetBIOS name of your PDC computer.

Save the file as LOGON.BAT in the ..\WINNT\System32\Repl\Import\Scripts folder on the server's hard drive.

Now run User manager for Domains on the PDC. Access the user account properties for each person who logs on from a 98 box. In their Profile screen, add the name LOGON.BAT to the logon script field.

Once this is done, each person who logs on will execute the script, thus setting their workstation time to match that of the server.

Hope this helps.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top