General discussion

Locked

Setting workstations time

By Jeff Anderson ·
I have a login script that sets the time on all workstations but it only works when a poweruser or admin logs in. Does anyone know if there is a switch or parameter that would allow this to happen with regular users?

Here is the command I have inmy script

net time \\servername /set /y

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Setting workstations time

by Shiltowake In reply to Setting workstations time

The clock is a system file and can only be accessed by powerusers or administrators by default. No switch or parameter can overwrite the NTFS permission settings.

You must adjust the NTFS permissions for the users or for the file. Basically, its up to the system admistrator.

Collapse -

Setting workstations time

by Jeff Anderson In reply to Setting workstations time

Poster rated this answer

Collapse -

Setting workstations time

by Shiltowake In reply to Setting workstations time

The clock is a system file and can only be accessed by powerusers or administrators by default. No switch or parameter can overwrite the NTFS permission settings.

You must adjust the NTFS permissions for the users or for the file. Basically, its up to the system admistrator.

Collapse -

Setting workstations time

by Jeff Anderson In reply to Setting workstations time

Poster rated this answer

Collapse -

Setting workstations time

by zchris In reply to Setting workstations time

you have to allow your users to change the system clock. here's how: open the local user mgr (you can also connect to it). open "policies - user rights - change the system time" the add your domain users group. after that the users can change the time on your clients.

oh, and i prefer
"net time /domain:yourdomain /set /yes"
(you'll recieve the time even if the pdc is down)

Collapse -

Setting workstations time

by Jeff Anderson In reply to Setting workstations time

Good idea thanks.

Collapse -

Setting workstations time

by cryingdragon In reply to Setting workstations time

Open User Manager for Domains...Click Policies, User Rights...Click "Show Advanced Rights"...Choose "Change the System Time" from the drop down menu. Click Add...Choose "Everyone" or "Authenticated Users".

Hope this helps,

Mike

Collapse -

Setting workstations time

by Jeff Anderson In reply to Setting workstations time

This is what I was looking for. Thanks this was easy and painless!

Collapse -

Setting workstations time

by Jeff Anderson In reply to Setting workstations time

This question was closed by the author

Back to Windows Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums