Computing Staff
  • 3

How Can I Create A Batch File To Sync Time?

  • 3

Hi, hopefully somone on here can help. We are running Windows 2008 Server and XP workstations. We have put desktop restrictions on the users so they cannot mess around with things (this is controlled through Microsoft Management Console. I have created a batch file and placed in in C:\Documents and Settings\All Users\Start Menu\Programs\Startup. When I log on (my logon has Admin rights) it runs and updates immediately. When I login is someone else, it either does not run or takes forever to update the date and time.

I have checked the permissions and the file is set that all users can read execute. The batch file has the following command net time \\servername /set /yes .

Can anybody assist me – I am going around in circles but it must be something SO simple that I am not doing.

Thanks

Share

1 Answer

  1. i don’t have a domain set up, so i can’t test it, but looking at the NET TIME options, instead of \\computername, have you tried: /DOMAIN or: /DOMAIN:domainname
    or: the RTS versions of these options?

    • 0