Discussion Locked

Net time / Net use - logon scripts

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

We are on an NT4 sp6 network.
I am trying to synch the time for my NT4/2000 workstations with my PC through a logon script. In addition, I map our network drive through the use of the same logon script.

net time \\mypcname /set /yes
net use o: \\ourPDC\networkshare /y
net use p: \\fileserver\networkshare

Net time does not work and my users receive a system error 53 - network path not found

Net use works fine but on PCs where the drives are already mapped the user receives a system error 85 - the local device name is already in use

My question is:
A: How can I get Net time to synch the workstations to my PC?

B: How can I get Net use to stop displaying error messages if the drives are already mapped?

5 replies

by nettek

On your Win2K pro workstation, you must have File and Print Sharing for Microsoft Networks installed in order for users to take the time from your workstation. Go to Start-> Settings -> Network and Dialup Connections -> Local Area Connection -> Properites. If it is installed, check the box. If it is not installed, you need to install it. You must also ensure that the Server service is running on the workstation.

As far as error messages are concerned, write your script as follows:
net time \\yourpcname /set /yes
If EXIST o: goto pdrive
net use o: \\pdc\share /y
:pdrive
If EXIST p: goto end
net use p: \\server\share /y
:end

This will check for the existance of the drives, and skip the net commands if they exist.

by estebandelatorre

My friend, error 53 means that the machine especified in net time does not exist or could not be found!.
1.- Check if the machine is alive and accesible, by a ping or name solving.
2.- Have you the netbeui protocol working?

hope it help!

This discussion is closed to new replies.