Difference between revisions of "Time synchronization"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 14: Line 14:
 
   
 
   
 
     </package>
 
     </package>
 +
 +
If you're using [[WPKG Client]], it's a good idea to put just <code>net time \\timeserver /set /yes</code> in a "pre" script.
  
  
 
[[Category: Silent Installers]]
 
[[Category: Silent Installers]]
 
[[Category: Changing Windows settings]]
 
[[Category: Changing Windows settings]]

Revision as of 11:45, 14 September 2007

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.