Discussion Locked

Net time logon script

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

My Net Time script does not always work. Some stations adjust the time and some don't. It always works if I do it from the command prompt though. I have client for Microsoft and Novell installed. Any ideas.

I alreay checked technet and did what Microsoft said, use the DOS Editor instead of notepad, ect.

19 replies

by johnr

Is the problem related to the user ? Perhaps on your NT workstations the users do not have change time priviledges.

by coily2

Have you taken a look at TimeServ that comes with the NT resource kit? This utility operates independently of the logged on user, so rights shouldn't come into play.

Hope this helps.

by rene

the following is my net time script and it works everytime.

net time \\servername /set /yes

If yours is different perhaps you could post it and we can look at it.

Rene Paquin
rpaquin@wlu.ca

by carl_ramkarran

Most likely its a "User Rights" issue.
Go into User Manager for Domains and and select "Policy" then "User Rights". Under the Rights section pull down the menu and select "Change System Time". Then "Add" your appropriate group such as "Domain Users".

CR

by horvatnk

try this it worked fine when i set it up to
run on a school network
i put it in a login script
net time \\server /set /yes

by gat0r

We operate under Microsoft ZAK (Zero Administration Kit) and we also had the problem where people could not update their time. The problem was the local users group did not have the Set system time right. now to go in and set this up for 500 users wouldtake you a while so we incorporated a step in our ntlogon script. We use a small exe program called NTRIGHTS to achieve this now. It is in our netlogon script now and works great. here is a sample:

\\server_bdc\netlogon\ntrights.exe -u users +r sesystemtimeprivilege

then :

net time \\server_bdc /SET /YES

by joeh

Hi,

I have had a look at some of the answer that you have been given, and they are correct about the user accounts. There is a free utility called Kixart that you can use as well. It will run as a shell during the user logon, and that shell can have the required rights. Then the script runs as a batch job within that shell, so instead of dealing with a lot of user accounts, you only need to deal with on account for the shell to run in. Hope this helps.

Regards,
Joe

by torield

It is a problem of "rights" to set the time
in the Local Workstation.
I did experience the same problem and I found through the TECHNET what Microsoft
solution was and it worked for me.
It follows:
1 - At the Workstation - the user (or Domain User) must be part of the Administrators Local Group.
2 - At the Workstation - in User Manager -
User Rights - you need to allow rights to that user loging into that Workstation.
Check the left bottom box to expand and show all rights available.
The rights that need to be assigned are :
* change the system time
* replace an access token
* modify a process level
I am trying to remember these rights but I am not seating at an NT workstation so if
you need the precise "right" I will be glad to check thewording for you but I believe
what I mentionned is very close.

This discussion is closed to new replies.