Discussion Locked

Login script net time not working

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

Our network is mostly Win95 machines. Our NT login script we have the net time as follows.
net time \\servername /set /yes. It works fine on the Win95 machines but the Win98 machines will not synch up. They always use the time in the Bios. Cannot find anything on the web about it. When you run the script manually on the Win98 machines it synchs up fine it just doesnt want to run at login. Been around in circles on this one. Any advice or documents much appreciated. It's not a big deal but users keep bugging me about it. Which makes it a pain in the a#@!

10 replies

by 4u21der

I had a similar issue and the fix that worked for me was to make sure that the NET TIME command was the first command in the login script. Not sure about the how or why of it, but it worked.

Good Luck!

by j_s

I have mostly Win98 machines on our network and use the net time command and it works fine for them. But the command is the first line in the login script as the other poster said to try. I might change it around and see if the command is then ignored as a test when I get a moment to do so.

by lanwanman352

Work around: Create a shortcut to MS-DOS program in each Windows 98 machine's C:\WINDOWS\Start Menu\Programs\StartUp directory with the cmd line "C:\WINDOWS\NET.EXE TIME \\AMI1 /SET /Y" (without the quotes). Working directory "C:\WINDOWS" (without the quotes).

by woody h

Use the following command in your login script. It doesn't matter what line it is on, in my login script it is the last line.

net time \\servername /set | nul>Y

This works for all of my windows 95 and 98 machines without fail. Good luck.

Woody

This discussion is closed to new replies.