Setting time error

  • Thread starter Thread starter Danbabe
  • Start date Start date
D

Danbabe

I have written a batch file login script to get the time from the primary DC
upon user login:

net time \\exch1 /set

However, everytime this script runs, it asks the user in the command box to
select Y for yes to set the time from this server. Is there any automated
switch I am missing that will automatically change the time to the selected
server without asking the user to select Y?

Many thanks

Danny
 
Back
Top