Technology
Windows Restarted Our Counter PCs at Ten to Seven Because Their Active Hours Were Set for Head Office
Source: Dev Community|
3 min read
Our branch counters open at half past six. The first hour is the busiest of the day, because builders collect what they need before they drive to site. Counter staff switch their PCs on when they arrive and off when they lock up, as we asked them to years ago to save electricity. At ten to seven one Thursday in February 2025, the PCs on the counters at twenty six branches put up a message saying they would restart shortly, then restarted and spent up to fifteen minutes installing an update. Builders queued. Some counters wrote orders on paper and keyed them in later. Head office noticed nothing, because nobody there was at a desk before eight. Windows lets us set active hours, the part of the day when it will not restart a PC to finish installing updates. We set them for every PC by policy, from eight in the morning to six in the evening, which describes head office very well. We also set a deadline: once an update has waited a few days, Windows stops asking and restarts at the next moment outside active hours. For a PC that is switched on at half past six and off at half past five, that moment comes once a day, at the start of trading. Every month most counter PCs had postponed the restart until the deadline passed, and every month it fell due on a morning. That Thursday it fell due on most of them at once. Nothing was misconfigured in the sense of an error. One policy described one working day, and we applied it to a business that keeps several. Counter, warehouse and transport office PCs are now in their own groups, each with active hours that match its real day. Counter PCs are protected from six in the morning until midnight, and they are no longer switched off at closing. Instead they go to sleep, and our device management wakes them at two in the morning on the second night after each monthly update, installs it and restarts them while the branch is locked. A report each morning lists every counter PC with a restart still pending, and the service desk rings the branch the day before a deadline rather than the morning after. Out of hours is not a single time of day. Before you let software choose when to interrupt people, ask each part of the business when its working day actually begins. – Serguey Shinder