Fixlet that Runs Net Time /set Command

Hello,

How would I go about making a fixlet to do a fixlet that will run “net time /set” in cmd? I’m guessing that action would be something like:
waithidden cmd.exe /c “net time /set”

but also Im not sure how I would do the relevance, something like check if the machines time is more than 5 minutes off from the DC’s time.

There’s really not a good way to check that in relevance…if you make all of your clients poll time from the DC as part of their evaluation cycle, I think you’ll quickly overload the domain controllers.

Better to configure the Windows Time service to sync time from your DCs (which should be the default when you join the domain), or use the tasks from the BES Support site to sync time from the Relay.

hello @KenB
as already mentioned by @JasonWalker, you may want to have a look at fixlets 15 and 119 from the BES Support site.
The 15 is to fix the clock of bes clients, the 119 of bes relays.