Computing.Net > Forums > Windows NT > login scripts for time sync

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

login scripts for time sync

Reply to Message Icon

Name: Nags
Date: January 10, 2002 at 12:12:49 Pacific
Comment:

Hi....
want to know reg the login script

As i want to sync the client time(windows NT workstation and 2000 professional) with the server time NT server)as any user (normal user) logs on the client.
for this i need to write a login script and also that should not be effected by the local privilage .

so pls get me the script and that to be implemented without any privilages in the client.

as i tried but gave a rights problem

Thankx
.Net



Sponsored Link
Ads by Google

Response Number 1
Name: Maurice Reed
Date: January 11, 2002 at 00:31:59 Pacific
Reply:

Just add the following line to the login script:-

net time \\xxxxx /set /y

where xxxxx is the name of the server


0

Response Number 2
Name: David Millard
Date: January 17, 2002 at 10:21:47 Pacific
Reply:

Unforunately, this line does not override the clients right to set the system time. We are researching this same issue. We're looking at DHCP as a possibility, but that doesn't seem to work either.


0

Response Number 3
Name: michael Mcdowell
Date: March 8, 2002 at 07:09:42 Pacific
Reply:

I found that the command:
net time /set /yes works fine.
But when you have it your login script make sure you use the exit command to stop the process.Learn more dos command for windows 2000 and nt.
the net use commands work fine.You have to test all of the command to see what effect is on the user account.
mikem ....


0

Response Number 4
Name: Nags2
Date: April 29, 2002 at 06:49:43 Pacific
Reply:

I have the same problem as number one Nags i can use the time sync but it doesnt override clients privileges. Is there something with DHCP? or can I override the privileges somehow?


0

Response Number 5
Name: Henry
Date: May 8, 2002 at 03:59:45 Pacific
Reply:

Has anyone come up with a solve for this. Have been working on it for more then 48hours.
From what I found if you want to use the net time on 2000 machines you have to set the user as a power user on the local box. Fine up until you have a 100 PC network.
DHCP also has a Time service where you can face the client to the main DC's address for time service. It then works with w32time service to sinc.
In theory it sounds great but I have not been able to get the second method to work.
Anyone with knowledge on how it works.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: login scripts for time sync

Logon Script for Time Sync www.computing.net/answers/windows-nt/logon-script-for-time-sync/7845.html

Writeing Login Script for Windows N www.computing.net/answers/windows-nt/writeing-login-script-for-windows-n/22097.html

Login script for Windows NT 4.0 www.computing.net/answers/windows-nt/login-script-for-windows-nt-40/4835.html