Discussion Locked

Login script batch

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Running NT 4.0 / windows 98 clints
I currently run a "NET TIME \\server \SET \YES batch file in the users login script to avoid having incorect times logged in our databases. However, it only corrects the users time if he or she logs out and back in. Currently most users stay logged in for nightly server and workstation backups. Is there an option to have this batch file run every few hours without having the user log in and out.

Thanks,

dave

5 replies

by tstockner

For NT Servers and Workstations, I recommend running the w32time service. It was easy to setup and trouble free for me. If you're not blocked by a fire wall, you can sync with a varitey of atomic clocks on the net. If you can't sync you can setupan stand alone time server as your master time server.

ftp://ftp.microsoft.com/reskit/y2kfix/x86/w32time/

For 9X use task scheduler. This is an IE addon for 95. Schedule the following command
"command.com /c net.exe \\ /set /yes"
If you choose not to use W32time for NT 4, use the schedule service (at.exe) or task scheduler if you installed it with IE and use cmd.exe instead of command.com.

This discussion is closed to new replies.