I am trying to write a logon script that will set the time on a NT 4.0 workstation. The users are not local admin, therefore they have no rights to change the time (which is the way we want it). I have composed the script as follows (based on other postings here):

if exist %WINDIR%\nettime.exe goto set_rights
copy "%0\..\nettime.exe" "%WINDIR%"
copy "%0\..\rtzone.exe" "%WINDIR%"

:set_rights

%0\..\ntrights +r SeSystemtimePrivilege -u Users

NET TIME %LOGONSERVER% /SET /Y

%0\..\ntrights -r SeSystemtimePrivilege -u Users

goto Final
:Final

When I run this as a regular user, I get the following errors:

***Error*** OpenPolicy -1073741790 (when it tries to grant the permissions).
After the Net time command executes I get the message
System error 1314 has occurred.
A required privilege is not held by the client.
What do I need to do to correct this?
[Confused]