Time synchronization

From WPKG | Open Source Software Deployment and Distribution

Jump to: navigation, search

This one synchronizes time on a Windows workstation against some other Windows machine (i.e., domain controller etc.).

<package
        id="time"
        name="Time Synchonization"
        revision="1"
        reboot="false"
        priority="100"
        notify="false"
        execute="always">
 
        <install cmd="net time \\timeserver /set /yes" />
 
</package>

If you're using WPKG Client, it's a good idea to put just net time \\timeserver /set /yes in a "pre" script.

Personal tools