Discussion Locked

Error executing logon script

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

I am trying to run a logon script so that all the workstations(Win NT) have the same time as our PDC (Win NT Server) using the net time command in the script file. When a user logs on to the domain the script runs but it gives a "System Error 1314 has occured. A required privilege is not held by the client" error. As a result the script is not executed. When I try to execute the net time command from the DOS promt I get the same message.

When the user logs on to the computer (as opposed to the domain) the script does not run at all.But if I manually type in the net time command from the Dos Prompt the command works. (I am typing exactly the same thing that is in the script file.

I assume it is some type of permission problem but can't seem to figure it out. Any help will be greatly appreciated.

6 replies

by gigelul

Hi,
By default domain user don't have permissions/rights to change the system time.
You must use User Manager on each workstation (or use User Manager for Domain and use "select domain" and connect to every workstation with \\ComputerName) and in Policy\user rights find "change system time" and add here "domain users" group.

by gigelul

I'm curious if this work at domain level! Domain users need local rights to change the system time. Please post a comment about your tests.

by joseph moore

Answer1 is mostly correct. You don't have to browse to each workstation in User Manager to get this to work.
Since you have a PDC, you have a Domain. Ok. Open User Manager for Domains on your PDC, click Policies -> User Rights.
Select Change the System Time in the drop-down, then click Add and add the Domain Users. Click OK to save your changes.
This right can be applied on a domain level. You don't need to set it on each workstation. It will work that way, but it is a whole lot of unnecessary clicking!

Then in your logon scripts run it this way:

NET TIME \\MYPDC /SET /Y

Where you will change \\MYPDC to the name of your PDC.

hope this helps

by aduran

Your answers gave me some ideas, unfortunately I am still getting the same error message that I mentioned before. If you have any more ideas plese email me at aduran@vnaelpaso.com.

Thanks.

This discussion is closed to new replies.