Windows 2012 time synchronization between servers
Manually synchronize in Domain:
net time /domain:<domain name> /set /y
Example: net time /domain:group2.co.nz /set /y
Manually synchronize in Workgroup:
net time \\<server> /set /y
Automatic synchronize in Domain:
1. make vbs file, content:
Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run "net time \\<server> /set /y"
Set oShell = Nothing
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run "net time \\<server> /set /y"
Set oShell = Nothing
2. set schedule tasks
Comments
Post a Comment